Skip to content

Commit de284ec

Browse files
committed
updated
1 parent 375c3c0 commit de284ec

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/push-e2e-upgrade-test.yaml

+36
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,43 @@ on:
1515
- "sec-scanners-config.yaml"
1616

1717
jobs:
18+
wait-for-build-job:
19+
name: Wait for build job
20+
runs-on: ubuntu-latest
21+
22+
steps:
23+
- name: Checkout eventing-tools
24+
uses: actions/checkout@v4
25+
with:
26+
repository: 'kyma-project/eventing-tools'
27+
path: 'kyma-project/eventing-tools'
28+
ref: main
29+
sparse-checkout: 'scripts/wait-for-commit-check'
30+
31+
- name: Setup python
32+
uses: actions/setup-python@v5
33+
with:
34+
python-version: '3.10'
35+
cache: 'pip'
36+
37+
- name: Install requirements
38+
run: |
39+
pip install -r $GITHUB_WORKSPACE/kyma-project/eventing-tools/scripts/wait-for-commit-check/requirements.txt
40+
41+
- name: Wait for build job
42+
env:
43+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44+
REPOSITORY_FULL_NAME: ${{ github.repository_owner }}/nats-manager
45+
GIT_REF: "${{ github.sha }}"
46+
# The re-usable image-builder workflow from neighbors appends the "Build image" suffix to the check run name.
47+
GIT_CHECK_RUN_NAME: "build / Build image"
48+
INTERVAL: 60
49+
TIMEOUT: 900
50+
run: |
51+
python $GITHUB_WORKSPACE/kyma-project/eventing-tools/scripts/wait-for-commit-check/run.py
52+
1853
e2e-upgrade: # This job tests the upgrade of NATS module from latest release from fast channel to current commit.
54+
needs: [ wait-for-build-job ]
1955
runs-on: ubuntu-latest
2056
steps:
2157
- name: Checkout

0 commit comments

Comments
 (0)