From d09f6bd0788087b3c43146ba365621b388671dd5 Mon Sep 17 00:00:00 2001 From: Yash Panchal <46398416+panchal-yash@users.noreply.github.com> Date: Fri, 16 Jun 2023 16:11:42 +0530 Subject: [PATCH 1/3] Create ps80-pmm-integration-tests.yml Adding workflow for ps80-pmm-integration-tests --- .../workflows/ps80-pmm-integration-tests.yml | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/workflows/ps80-pmm-integration-tests.yml diff --git a/.github/workflows/ps80-pmm-integration-tests.yml b/.github/workflows/ps80-pmm-integration-tests.yml new file mode 100644 index 00000000..79e47799 --- /dev/null +++ b/.github/workflows/ps80-pmm-integration-tests.yml @@ -0,0 +1,41 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the "main" branch + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v3 + + - name: Install ansible + run: sudo apt-get update -y && sudo apt-get install ansible -y + # Runs a single command using the runners shell + - name: Give write perimssion to the bash script + run: chmod +x ./pmm-tests/pmm-framework.sh + + - name: Run the pmm container in background + run: docker run --detach --restart always --publish 443:443 --name pmm-server perconalab/pmm-server:dev-latest + + - name: Run for ms version 8.0 and ps client 1 + run: cd pmm-tests && ./pmm-framework.sh --ms-version 8.0 --addclient=ms,1 --pmm2 + + - name: Run for ps version 8.0 and ps client 1 + run: cd pmm-tests && ./pmm-framework.sh --ps-version 8.0 --addclient=ps,1 --pmm2 From db3e892e08c0d00116bb3619a08ff789933cf81d Mon Sep 17 00:00:00 2001 From: Yash Panchal <46398416+panchal-yash@users.noreply.github.com> Date: Tue, 4 Jul 2023 22:39:49 +0530 Subject: [PATCH 2/3] Update ps80-pmm-integration-tests.yml --- .github/workflows/ps80-pmm-integration-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ps80-pmm-integration-tests.yml b/.github/workflows/ps80-pmm-integration-tests.yml index 79e47799..64e3da73 100644 --- a/.github/workflows/ps80-pmm-integration-tests.yml +++ b/.github/workflows/ps80-pmm-integration-tests.yml @@ -1,6 +1,6 @@ # This is a basic workflow to help you get started with Actions -name: CI +name: CI-PS80-PMM # Controls when the workflow will run on: From d94d8223aca11cf2b8eea18df67e12c09e27db45 Mon Sep 17 00:00:00 2001 From: Yash Panchal <46398416+panchal-yash@users.noreply.github.com> Date: Tue, 4 Jul 2023 22:40:40 +0530 Subject: [PATCH 3/3] Update ps80-pmm-integration-tests.yml --- .github/workflows/ps80-pmm-integration-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ps80-pmm-integration-tests.yml b/.github/workflows/ps80-pmm-integration-tests.yml index 64e3da73..93a5f423 100644 --- a/.github/workflows/ps80-pmm-integration-tests.yml +++ b/.github/workflows/ps80-pmm-integration-tests.yml @@ -6,7 +6,7 @@ name: CI-PS80-PMM on: # Triggers the workflow on push or pull request events but only for the "main" branch push: - branches: [ "main" ] + branches: [ "pmm-ps8.0-github-actions" ] pull_request: branches: [ "main" ]