Skip to content

Commit

Permalink
Test push job with push event
Browse files Browse the repository at this point in the history
  • Loading branch information
muralov committed Jan 23, 2024
1 parent 96c20a6 commit 56d6171
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/push-e2e-upgrade-test.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: post-e2e-upgrade-test

on:
push:
pull_request:
branches: [ "main" ]
paths-ignore:
- 'docs/**'
Expand All @@ -20,15 +20,16 @@ jobs:
- name: Get latest release tag
id: get-latest-release-tag
run: |
echo latest_release_tag=$(make -C hack/ci/ get-latest-release-tag) >> $GITHUB_OUTPUT
echo "latest_release_tag=$(make -C hack/ci/ get-latest-release-tag)" >> "$GITHUB_OUTPUT"
upgrade-test:
uses: ./.github/workflows/run-upgrade-tests-reusable.yaml
needs: get-latest-release
with:
pre-upgrade-image: europe-docker.pkg.dev/kyma-project/prod/eventing-manager:${{ needs.get-latest-release.outputs.latest_release_tag }}
post-upgrade-image: europe-docker.pkg.dev/kyma-project/dev/eventing-manager:main
pre-upgrade-branch: ${{ needs.get-latest-release.outputs.latest_release_tag }}
post-upgrade-branch: main
build-job-name: push-eventing-manager-build
commit-sha: ${{ github.sha }}
build-job-name: pull-eventing-manager-build
commit-sha: ${{ github.event.pull_request.head.sha }}
secrets: inherit

0 comments on commit 56d6171

Please sign in to comment.