From 70f639c307fe04f3eac2ae48b939676b435114d2 Mon Sep 17 00:00:00 2001 From: Satoru Takeuchi Date: Fri, 25 Oct 2024 11:48:36 +0000 Subject: [PATCH] test: specify ceph image correctly `encryption-pvc-kms-ibm-kp` workflow replaces the name of ceph-image. Since the dest value is always empty by mistake, this workflow always fails. Signed-off-by: Satoru Takeuchi (cherry picked from commit 36721edae8a853b29b67d8ab48962cc891c1ee7c) --- .github/workflows/canary-integration-test.yml | 1 + .github/workflows/encryption-pvc-kms-ibm-kp/action.yml | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/canary-integration-test.yml b/.github/workflows/canary-integration-test.yml index 49f4902c9..53f9a26a6 100644 --- a/.github/workflows/canary-integration-test.yml +++ b/.github/workflows/canary-integration-test.yml @@ -1639,6 +1639,7 @@ jobs: ibm-service-api-key: ${{ secrets.IBM_SERVICE_API_KEY }} github-token: ${{ secrets.GITHUB_TOKEN }} artifact-name: ${{ github.job }}-${{ matrix.ceph-image }} + ceph-image: ${{ matrix.ceph-image }} multus-cluster-network: runs-on: ubuntu-22.04 diff --git a/.github/workflows/encryption-pvc-kms-ibm-kp/action.yml b/.github/workflows/encryption-pvc-kms-ibm-kp/action.yml index 4e9975eab..8dd63ee86 100644 --- a/.github/workflows/encryption-pvc-kms-ibm-kp/action.yml +++ b/.github/workflows/encryption-pvc-kms-ibm-kp/action.yml @@ -10,6 +10,9 @@ inputs: artifact-name: description: the name of the artifact where logs will be stored required: true + ceph-image: + description: the name of ceph image + required: true runs: using: "composite" @@ -27,7 +30,7 @@ runs: - name: set Ceph version in CephCluster manifest shell: bash --noprofile --norc -eo pipefail -x {0} - run: tests/scripts/github-action-helper.sh replace_ceph_image "deploy/examples/cluster-test.yaml" "${{ github.event.inputs.ceph-image }}" + run: tests/scripts/github-action-helper.sh replace_ceph_image "deploy/examples/cluster-test.yaml" "${{ inputs.ceph-image }}" - name: use local disk and create partitions for osds shell: bash --noprofile --norc -eo pipefail -x {0}