Skip to content

Commit

Permalink
PMM-13267-split-exporters-execution (#712)
Browse files Browse the repository at this point in the history
* PMM-13267-split-exporters-execution

* PMM-13267-split-exporters-execution

* PMM-13267-split-exporters-execution

* PMM-13267-split-exporters-execution
  • Loading branch information
yurkovychv authored Jul 25, 2024
1 parent 2540333 commit 319c68a
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 2 deletions.
18 changes: 17 additions & 1 deletion .github/workflows/fb-e2e-suite.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: _FB e2e tests

on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
inputs:
pmm_ui_tests_branch:
Expand Down Expand Up @@ -110,6 +112,20 @@ jobs:
name: Exporters tests
uses: ./.github/workflows/runner-e2e-tests-codeceptjs.yml
secrets: inherit
with:
pmm_server_image: ${{ inputs.pmm_server_image || 'perconalab/pmm-server:dev-latest' }}
pmm_client_image: ${{ inputs.pmm_client_image || 'perconalab/pmm-client:dev-latest' }}
pmm_client_version: ${{ inputs.pmm_client_version || 'dev-latest' }}
pmm_qa_branch: ${{ inputs.pmm_qa_branch || 'main' }}
pmm_ui_tests_branch: ${{ inputs.pmm_ui_tests_branch || 'main' }}
sha: ${{ inputs.sha || github.event.pull_request.head.sha || 'null' }}
setup_services: '--setup-pmm-ps-integration --query-source=slowlog --ps-version=8.0'
tags_for_tests: '@exporters'

mongo_exporter:
name: MongoDB Exporter tests
uses: ./.github/workflows/runner-e2e-tests-codeceptjs.yml
secrets: inherit
with:
pmm_server_image: ${{ inputs.pmm_server_image || 'perconalab/pmm-server:dev-latest' }}
pmm_client_image: ${{ inputs.pmm_client_image || 'perconalab/pmm-client:dev-latest' }}
Expand All @@ -118,7 +134,7 @@ jobs:
pmm_ui_tests_branch: ${{ inputs.pmm_ui_tests_branch || 'main' }}
sha: ${{ inputs.sha || github.event.pull_request.head.sha || 'null' }}
setup_services: '--mongo-replica-for-backup'
tags_for_tests: '@mongodb-exporter|@exporters'
tags_for_tests: '@mongodb-exporter'

instances:
name: Instances UI tests
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/fb-integration-suite.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: _FB integration CLI tests

on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
inputs:
pmm_ui_tests_branch:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/fb-tarball-suite.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: _FB tarball tests

on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
inputs:
package_testing_branch:
Expand Down Expand Up @@ -74,4 +76,4 @@ jobs:
pmm_client_tarball: ${{ inputs.pmm_client_tarball || 'dev-latest' }}
playbook: 'pmm2-client_integration_upgrade_custom_path'
test_name: 'tarball upgrade'
sha: ${{ inputs.sha || github.event.pull_request.head.sha || 'null' }}
sha: ${{ inputs.sha || github.event.pull_request.head.sha || 'null' }}
2 changes: 2 additions & 0 deletions .github/workflows/helm-tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
inputs:
server_image:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/integration-cli-tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: PMM Integration Tests

on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
inputs:
pmm_ui_tests_branch:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/runner-e2e-tests-codeceptjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,12 @@ jobs:
wget https://raw.githubusercontent.com/Percona-QA/percona-qa/master/get_download_link.sh
chmod +x get_download_link.sh
popd
- name: Cleanup disk space on a worker according to https://github.com/actions/runner-images/issues/2840#issuecomment-790492173
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: Setup PMM2-Server
working-directory: ./pmm-ui-tests
Expand All @@ -153,6 +159,7 @@ jobs:
run: |
npm ci
npx playwright install
sudo npx playwright install-deps
envsubst < env.list > env.generated.list
- name: Execute e2e tests with tags ${{ env.TAGS_FOR_TESTS }}
Expand Down

0 comments on commit 319c68a

Please sign in to comment.