Skip to content

Commit

Permalink
Merge pull request #624 from Percona-QA/PMM-9557-fix-for-new-action
Browse files Browse the repository at this point in the history
PMM-9527 fixed runner to test new job
  • Loading branch information
Vadim Yarosh authored Jan 23, 2024
2 parents e46e043 + 8842a83 commit d8ff3cd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pmm-package-test-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
SHA: ${{ inputs.sha || 'null' }}
PACKAGE_TESTING_BRANCH: ${{ inputs.package_testing_branch || 'master' }}
PMM_SERVER_IMAGE: ${{ inputs.pmm_server_image }}
TARBALL: ${{ inputs.pmm_server_image || 'null' }}
TARBALL: ${{ inputs.pmm_client_tarball || 'null' }}
EXPECTED_VERSION: ${{ inputs.expected_version }}

REPO: ${{ inputs.repository || 'dev-latest' }}
Expand Down Expand Up @@ -253,7 +253,9 @@ jobs:
export METRICS_MODE=${{ env.METRICS_MODE }}
export PMM_VERSION="${{ env.EXPECTED_VERSION }}"
export install_repo=${{ env.REPO }}
export tarball_link=${{ env.TARBALL }}
if [[ "${{ env.TARBALL }}" != "null" ]]; then
export tarball_link=${{ env.TARBALL }}
fi
if [[ "${{ env.VM_BOX }}" =~ "centos7" ]]; then
sudo yum install -y epel-release
Expand Down
2 changes: 1 addition & 1 deletion playbooks/pmm2-client_integration_custom_path.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
pmm_version: "{{ lookup('env', 'PMM_VERSION') }}"
pmm_repo: "{{ lookup('env', 'install_repo') }}"
custom_path: "/pmm2-client-custom-path"
feature_build: "{{ lookup('env', 'feature_build') }}"
tarball_link: "{{ lookup('env', 'tarball_link') }}"

tasks:
- name: Register Instance IP
Expand Down

0 comments on commit d8ff3cd

Please sign in to comment.