From 1029054cafe436e46da86d5ef88a7d869bbcea7d Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Mon, 24 Jun 2024 14:03:07 +0200 Subject: GitHub: T6494: add support for circinus branch --- .github/workflows/package-smoketest.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/package-smoketest.yml b/.github/workflows/package-smoketest.yml index 49bd91669..9bb3e7bef 100644 --- a/.github/workflows/package-smoketest.yml +++ b/.github/workflows/package-smoketest.yml @@ -1,9 +1,10 @@ -name: Package ISO Test +name: VyOS ISO integration Test on: pull_request: branches: - current + - circinus jobs: build: -- cgit v1.2.3 From 23e17896683a87b91b36bef098866f080b11b191 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Mon, 24 Jun 2024 14:03:39 +0200 Subject: GitHub: T6494: add individual job timeouts --- .github/workflows/package-smoketest.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/package-smoketest.yml b/.github/workflows/package-smoketest.yml index 9bb3e7bef..fd1874b0f 100644 --- a/.github/workflows/package-smoketest.yml +++ b/.github/workflows/package-smoketest.yml @@ -9,6 +9,7 @@ on: 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 @@ -52,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 @@ -71,6 +73,7 @@ jobs: 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 @@ -90,6 +93,7 @@ jobs: 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 -- cgit v1.2.3 From 8491ca0bdaef60df18d663e99086d73ce4d13cc5 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Mon, 24 Jun 2024 14:04:01 +0200 Subject: GitHub: T6494: add PR comment steps --- .github/workflows/package-smoketest.yml | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/.github/workflows/package-smoketest.yml b/.github/workflows/package-smoketest.yml index fd1874b0f..35a86c145 100644 --- a/.github/workflows/package-smoketest.yml +++ b/.github/workflows/package-smoketest.yml @@ -68,7 +68,16 @@ 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 @@ -89,6 +98,15 @@ 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 @@ -109,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 -- cgit v1.2.3