From f0d223157d6b46e5c9eb966fe16abdfd025150fe Mon Sep 17 00:00:00 2001 From: Friedrich Wilken Date: Thu, 5 Oct 2023 19:12:16 +0200 Subject: [PATCH] add steps --- .github/workflows/e2e.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 153a9da6..63078f63 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -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: @@ -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"