Skip to content

Commit

Permalink
add steps
Browse files Browse the repository at this point in the history
  • Loading branch information
friedrichwilken committed Oct 5, 2023
1 parent 189b8de commit f0d2231
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: e2e
env:
KYMA_STABILITY: "unstable"
KYMA: "./hack/kyma"
DOCKER_IMAGE: europe-docker.pkg.dev/kyma-project/dev/eventing-manager:PR-${{ github.event.number }}

on:
push:
Expand Down Expand Up @@ -43,4 +44,24 @@ jobs:
run: |
./hack/ci/check-k8s-resource-is-ready.sh
- name: Get NATS
if: failure()
run: |
kubectl get nats -n kyma-system -o yaml
- name: Install eventing-manager
run: |
make install IMG=$DOCKER_IMAGE
- name: Wait for the 'pull-eventing-manager-build' job to succeed
uses: kyma-project/wait-for-commit-status-action@2b3ffe09af8b6f40e1213d5fb7f91a7bd41ffb20
with:
context: "pull-eventing-manager-build"
commit_ref: "${{ github.event.pull_request.head.sha }}" # Note: 'github.event.pull_request.head.sha' is not same as 'github.sha' on pull requests.
timeout: 600000 # 10 minutes in milliseconds
# The check interval is kept long otherwise it will exhaust the GitHub rate limit (More info: https://docs.github.com/en/rest/overview/resources-in-the-rest-api?apiVersion=2022-11-28#rate-limiting)
check_interval: 60000 # 1 minute in milliseconds
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
GITHUB_OWNER: "${{ github.repository_owner }}"
GITHUB_REPO: "eventing-manager"

0 comments on commit f0d2231

Please sign in to comment.