Skip to content

Commit

Permalink
Fix fail-fast logic for downstream trigger
Browse files Browse the repository at this point in the history
Signed-off-by: Spencer Wilson <[email protected]>
  • Loading branch information
SWilson4 committed Sep 4, 2024
1 parent 1305d50 commit 00975c5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/downstream-basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@ on: [workflow_call, workflow_dispatch]
jobs:

trigger-downstream-ci:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- name: Trigger OQS-BoringSSL CI
if: !cancelled() # run all steps independent of failures
run: |
curl --silent \
--write-out "\n%{response_code}\n" \
Expand All @@ -24,6 +23,7 @@ jobs:
https://api.github.com/repos/open-quantum-safe/boringssl/dispatches | tee curl_out \
&& grep -q "204" curl_out
- name: Trigger OQS-OpenSSH CI
if: !cancelled() # run all steps independent of failures
run: |
curl --silent \
--write-out "\n%{response_code}\n" \
Expand All @@ -35,6 +35,7 @@ jobs:
https://api.github.com/repos/open-quantum-safe/openssh/actions/workflows/ubuntu.yaml/dispatches | tee curl_out \
&& grep -q "204" curl_out
- name: Trigger oqs-provider CI
if: !cancelled() # run all steps independent of failures
run: |
curl --silent \
--write-out "\n%{response_code}\n" \
Expand All @@ -45,6 +46,7 @@ jobs:
https://circleci.com/api/v2/project/gh/open-quantum-safe/oqs-provider/pipeline | tee curl_out \
&& grep -q "201" curl_out
- name: Trigger liboqs-cpp CI
if: !cancelled() # run all steps independent of failures
run: |
curl --silent \
--write-out "\n%{response_code}\n" \
Expand All @@ -56,6 +58,7 @@ jobs:
https://api.github.com/repos/open-quantum-safe/liboqs-cpp/dispatches | tee curl_out \
&& grep -q "204" curl_out
- name: Trigger liboqs-go CI
if: !cancelled() # run all steps independent of failures
run: |
curl --silent \
--write-out "\n%{response_code}\n" \
Expand All @@ -67,6 +70,7 @@ jobs:
https://api.github.com/repos/open-quantum-safe/liboqs-go/dispatches | tee curl_out \
&& grep -q "204" curl_out
- name: Trigger liboqs-python CI
if: !cancelled() # run all steps independent of failures
run: |
curl --silent \
--write-out "\n%{response_code}\n" \
Expand Down

0 comments on commit 00975c5

Please sign in to comment.