summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorevgsentrium <evgeniy.bondarenko@sentrium.io>2024-07-10 17:32:35 +0200
committerevgsentrium <evgeniy.bondarenko@sentrium.io>2024-07-10 17:32:35 +0200
commite325c245b6d8c694caa67dd675ac622c3518895e (patch)
treeceddc9e199f5fe872fdddda156972e4b14c0f024
parent1ef2a4da259b71d3314564a5bd2060d90df119da (diff)
downloadvyos-rolling-nightly-builds-e325c245b6d8c694caa67dd675ac622c3518895e.tar.gz
vyos-rolling-nightly-builds-e325c245b6d8c694caa67dd675ac622c3518895e.zip
Set the pipefail option to catch test fails
-rw-r--r--.github/workflows/vyos-rolling-nightly-build.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/vyos-rolling-nightly-build.yml b/.github/workflows/vyos-rolling-nightly-build.yml
index 4a06db7..6d3bdaf 100644
--- a/.github/workflows/vyos-rolling-nightly-build.yml
+++ b/.github/workflows/vyos-rolling-nightly-build.yml
@@ -155,7 +155,7 @@ jobs:
timeout: 15m
command_timeout: 180m
script: |
- ${{ env.DOCKER_CALL_ON_KVM_HOST_WITH_IMAGE_PULL }} /bin/bash -c "sudo make testraid | tee smoketest_raid.log"
+ ${{ env.DOCKER_CALL_ON_KVM_HOST_WITH_IMAGE_PULL }} /bin/bash -c "set -o pipefail && sudo make testraid | tee smoketest_raid.log"
- name: "Smoketest: system"
if: ${{ !inputs.FAKE_BUILDING_PROCESS && !inputs.SKIP_SMOKETEST_SYSTEM }}
@@ -169,7 +169,7 @@ jobs:
timeout: 15m
command_timeout: 180m
script: |
- ${{ env.DOCKER_CALL_ON_KVM_HOST }} /bin/bash -c "sudo make test | tee smoketest_system.log"
+ ${{ env.DOCKER_CALL_ON_KVM_HOST }} /bin/bash -c "set -o pipefail && sudo make test | tee smoketest_system.log"
- name: "Smoketest: configuration"
if: ${{ !inputs.FAKE_BUILDING_PROCESS && !inputs.SKIP_SMOKETEST_CONFIG }}
@@ -183,7 +183,7 @@ jobs:
timeout: 15m
command_timeout: 180m
script: |
- ${{ env.DOCKER_CALL_ON_KVM_HOST }} /bin/bash -c "sudo make testc | tee smoketest_configuration.log"
+ ${{ env.DOCKER_CALL_ON_KVM_HOST }} /bin/bash -c "set -o pipefail && sudo make testc | tee smoketest_configuration.log"
- name: "Smoketest: clear files"
if: ${{ !inputs.FAKE_BUILDING_PROCESS && (!inputs.SKIP_SMOKETEST_RAID1 || !inputs.SKIP_SMOKETEST_SYSTEM || !inputs.SKIP_SMOKETEST_CONFIG) }}