From 9a4d4e1edb5ed12f0c068d5ed52ae50a43925cdc Mon Sep 17 00:00:00 2001 From: Vasyl Yurkovych <59879559+yurkovychv@users.noreply.github.com> Date: Wed, 7 Feb 2024 12:42:57 +0200 Subject: [PATCH 1/2] PMM-12892 MongoDB Exporter for GH Actions --- .github/workflows/pmm2-ui-tests-fb.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/pmm2-ui-tests-fb.yml b/.github/workflows/pmm2-ui-tests-fb.yml index 3ebe45d9bd4e..c422eb334777 100644 --- a/.github/workflows/pmm2-ui-tests-fb.yml +++ b/.github/workflows/pmm2-ui-tests-fb.yml @@ -106,6 +106,20 @@ jobs: # tags_for_tests: '@bm-common|@bm-locations' -- include bm-common once setup for mysql fixed tags_for_tests: '@bm-locations' + mongodb_exporter: + name: MongoDB Exporter tests + uses: ./.github/workflows/ui-tests.yml + secrets: inherit + with: + server_image: ${{ inputs.server_image || 'perconalab/pmm-server:dev-latest' }} + client_version: ${{ inputs.client_version || 'dev-latest' }} + client_image: ${{ inputs.client_image || 'perconalab/pmm-client:dev-latest' }} + pmm_qa_branch: ${{ inputs.pmm_qa_branch || 'main' }} + pmm_ui_branch: ${{ inputs.pmm_ui_branch || 'main' }} + sha: ${{ inputs.sha || github.event.pull_request.head.sha || 'null' }} + client_flags: '--mongo-replica-for-backup' + tags_for_tests: '@mongodb-exporter|@exporters' + instances: name: Instances UI tests uses: ./.github/workflows/ui-tests.yml From 964eed5b926cb74b8daecd0296c1a9ff6b16e0ab Mon Sep 17 00:00:00 2001 From: Vasyl Yurkovych <59879559+yurkovychv@users.noreply.github.com> Date: Wed, 7 Feb 2024 15:43:35 +0200 Subject: [PATCH 2/2] Update pmm2-ui-tests-fb.yml --- .github/workflows/pmm2-ui-tests-fb.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pmm2-ui-tests-fb.yml b/.github/workflows/pmm2-ui-tests-fb.yml index c422eb334777..3be6b0d78d13 100644 --- a/.github/workflows/pmm2-ui-tests-fb.yml +++ b/.github/workflows/pmm2-ui-tests-fb.yml @@ -106,8 +106,8 @@ jobs: # tags_for_tests: '@bm-common|@bm-locations' -- include bm-common once setup for mysql fixed tags_for_tests: '@bm-locations' - mongodb_exporter: - name: MongoDB Exporter tests + exporters: + name: Exporters tests uses: ./.github/workflows/ui-tests.yml secrets: inherit with: