Skip to content

Commit

Permalink
PMM-7 adjusted test pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadym Yarosh committed Aug 16, 2023
1 parent d98aa63 commit ab4f2a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/portal-tests-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
with:
pmm_ui_tests_branch: ${{ inputs.pmm_ui_tests_branch || 'main' }}
pmm_test_flag: '@portal'
pmm_server_version: ${{ format('percona/pmm-server:{0}', matrix.old_version) }}
pmm_server_version: ${{ matrix.old_version }}
pmm_client_version: ${{ matrix.old_version }}
pmm_qa_branch: ${{ inputs.pmm_qa_branch || 'main' }}
pmm_clients: ''
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/portal-ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
PMM_CLIENTS: ${{ inputs.pmm_clients || '' }}
PMM_TEST_FLAG: ${{ inputs.pmm_test_flag || '@portal' }}

PMM_SERVER_VERSION: ${{ inputs.pmm_server_version || 'perconalab/pmm-server:dev-latest' }}
PMM_SERVER_VERSION: ${{ inputs.pmm_server_version || 'dev-latest' }}
PMM_CLIENT_VERSION: ${{ inputs.pmm_client_version || 'dev-latest' }}
PMM_QA_BRANCH: ${{ inputs.pmm_qa_branch || 'main' }}

Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
working-directory: pmm-qa/pmm-integration
run: |
npm install
sudo npx ts-node ./integration-setup.ts --ci --setup-docker-pmm-server --rbac --pmm-server-docker-tag=${{ env.PMM_SERVER_VERSION }} --pmm-client-version=${{ env.PMM_CLIENT_VERSION }}
sudo npx ts-node ./integration-setup.ts --ci --setup-docker-pmm-server --rbac --pmm-server-docker-tag=${{ format('perconalab/pmm-server:{0}', env.PMM_SERVER_VERSION) }} --pmm-client-version=${{ env.PMM_CLIENT_VERSION }}
timeout 100 bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' localhost/ping)" != "200" ]]; do sleep 5; done' || false
- name: 'Setup <PMM Client: ${{ inputs.pmm_client_version }}>'
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:
run: |
# TODO: add job id for matrix call
job_tag=$(echo "${{ env.PMM_TEST_FLAG }}" | sed -e "s/-pre-upgrade//" -e "s/@//")
report_name="$job_tag"-report
report_name=${{ env.PMM_SERVER_VERSION }}"$job_tag"-report
echo $report_name
echo "REPORT_NAME=$report_name" >> $GITHUB_ENV
Expand Down

0 comments on commit ab4f2a7

Please sign in to comment.