Skip to content

Commit

Permalink
chore: Fix lifecyle tests with merge_group trigger (#1679)
Browse files Browse the repository at this point in the history
  • Loading branch information
k15r authored Dec 13, 2024
1 parent 57c64ec commit 6d56272
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pr-lifecycle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ jobs:
- name: Deploy with current version
shell: bash
run: |
IMG=europe-docker.pkg.dev/kyma-project/dev/telemetry-manager:PR-${{ github.event.number }} make deploy-dev
# add the tag PR-<number> to the image if it is a PR, if the trigger is merge_group, then add the sha as the tag
TAG="${{ github.event_name == 'pull_request' && 'PR-' || '' }}${{ github.event.number || github.event.merge_group.head_sha }}"
IMG=europe-docker.pkg.dev/kyma-project/dev/telemetry-manager:${TAG} make deploy-dev
- name: Wait for manager readiness
shell: bash
Expand Down

0 comments on commit 6d56272

Please sign in to comment.