diff options
author | Daniil Baturin <daniil@vyos.io> | 2024-06-25 18:11:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-25 18:11:13 +0200 |
commit | e458035e1ab56c7c21e53f26d8a39f00a62e5c9c (patch) | |
tree | 5e94717b420f1141bf92efa71ba788c6799d39bf | |
parent | 064cbc38f1449aea292907ac518eeffaa64e27d6 (diff) | |
parent | 8491ca0bdaef60df18d663e99086d73ce4d13cc5 (diff) | |
download | vyos-1x-e458035e1ab56c7c21e53f26d8a39f00a62e5c9c.tar.gz vyos-1x-e458035e1ab56c7c21e53f26d8a39f00a62e5c9c.zip |
Merge pull request #3714 from c-po/T6494-custom-ISO-2
GitHub: T6494: extend ISO integration workflow
-rw-r--r-- | .github/workflows/package-smoketest.yml | 36 |
1 files changed, 34 insertions, 2 deletions
diff --git a/.github/workflows/package-smoketest.yml b/.github/workflows/package-smoketest.yml index 49bd91669..35a86c145 100644 --- a/.github/workflows/package-smoketest.yml +++ b/.github/workflows/package-smoketest.yml @@ -1,13 +1,15 @@ -name: Package ISO Test +name: VyOS ISO integration Test on: pull_request: branches: - current + - circinus jobs: build: runs-on: ubuntu-24.04 + timeout-minutes: 45 container: image: vyos/vyos-build:current options: --sysctl net.ipv6.conf.lo.disable_ipv6=0 --privileged @@ -51,6 +53,7 @@ jobs: cli-smoketests: needs: build runs-on: ubuntu-24.04 + timeout-minutes: 180 container: image: vyos/vyos-build:current options: --sysctl net.ipv6.conf.lo.disable_ipv6=0 --privileged @@ -65,11 +68,21 @@ jobs: name: vyos-${{ needs.build.outputs.build_version }} path: build - name: VyOS CLI smoketests - run: ls -al; ls -al build; sudo make test + run: sudo make test + - name: Add PR comment + if: always() + uses: mshick/add-pr-comment@v2 + with: + message-success: '👍 VyOS CLI smoketests finished successfully!' + message-failure: '❌ VyOS CLI smoketests failed!' + message-cancelled: '❌ VyOS CLI smoketests cancelled!' + allow-repeats: false + refresh-message-position: true config-load-tests: needs: build runs-on: ubuntu-24.04 + timeout-minutes: 90 container: image: vyos/vyos-build:current options: --sysctl net.ipv6.conf.lo.disable_ipv6=0 --privileged @@ -85,10 +98,20 @@ jobs: path: build - name: VyOS config tests run: sudo make testc + - name: Add PR comment + if: always() + uses: mshick/add-pr-comment@v2 + with: + message-success: '👍 VyOS config tests finished successfully!' + message-failure: '❌ VyOS config tests failed!' + message-cancelled: '❌ VyOS config tests cancelled!' + allow-repeats: false + refresh-message-position: true raid1-install-test: needs: build runs-on: ubuntu-24.04 + timeout-minutes: 20 container: image: vyos/vyos-build:current options: --sysctl net.ipv6.conf.lo.disable_ipv6=0 --privileged @@ -104,3 +127,12 @@ jobs: path: build - name: VyOS RAID1 install test run: sudo make testraid + - name: Add PR comment + if: always() + uses: mshick/add-pr-comment@v2 + with: + message-success: '👍 RAID1 Smoketests finished successfully!' + message-failure: '❌ RAID1 Smoketests failed!' + message-cancelled: '❌ RAID1 action cancelled!' + allow-repeats: false + refresh-message-position: true |