Commit de284ec 1 parent 375c3c0 commit de284ec Copy full SHA for de284ec
File tree 1 file changed +36
-0
lines changed
1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 15
15
- " sec-scanners-config.yaml"
16
16
17
17
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
+
18
53
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 ]
19
55
runs-on : ubuntu-latest
20
56
steps :
21
57
- name : Checkout
You can’t perform that action at this time.
0 commit comments