Skip to content

Commit

Permalink
Merge branch 'main' into refactor-global-constants
Browse files Browse the repository at this point in the history
  • Loading branch information
hisarbalik authored Dec 13, 2024
2 parents 73e40c3 + 6d56272 commit cf970b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/pr-integration.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: PR Integration

env:
IMG: europe-docker.pkg.dev/kyma-project/dev/telemetry-manager:PR-${{ github.event.number }}
# 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
IMG: europe-docker.pkg.dev/kyma-project/dev/telemetry-manager:${{ github.event_name == 'pull_request' && 'PR-' || '' }}${{ github.event.number || github.event.merge_group.head_sha }}

on:
merge_group:
Expand Down
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 cf970b8

Please sign in to comment.