Skip to content

Commit

Permalink
gh builder flows add tkn check exists for all events
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Riobo Lorenzo <[email protected]>
  • Loading branch information
adrianriobo committed Aug 2, 2024
1 parent 56ef12a commit fcff9b1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/crc-builder-builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,14 @@ jobs:
run: |
make crc-builder-tkn-create
- name: Check tkn for release
if: ${{ github.event_name == 'push' }}
- name: Check tkn specs
run: |
[ ! -f crc-builder/tkn/crc-builder-installer.yaml ] && exit 1
[ ! -f crc-builder/tkn/crc-builder.yaml ] && exit 1
if [[ ! -f crc-builder/tkn/crc-builder-installer.yaml ]]; then
exit 1
fi
if [[ ! -f crc-builder/tkn/crc-builder.yaml ]]; then
exit 1
fi
# Check if version is in sync
- name: Create k8s Kind Cluster
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/snc-runner-builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,11 @@ jobs:
run: |
make snc-runner-tkn-create
- name: Check tkn for release
if: ${{ github.event_name == 'push' }}
- name: Check tkn specs
run: |
[ ! -f snc-runner/tkn/task.yaml ] && exit 1
if [[ ! -f snc-runner/tkn/task.yaml ]]; then
exit 1
fi
# Check if version is in sync
- name: Create k8s Kind Cluster
Expand Down

0 comments on commit fcff9b1

Please sign in to comment.