summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/nightly-build.yml38
1 files changed, 38 insertions, 0 deletions
diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml
index 55baf24..37f525a 100644
--- a/.github/workflows/nightly-build.yml
+++ b/.github/workflows/nightly-build.yml
@@ -32,6 +32,11 @@ on:
required: true
type: boolean
default: false
+ SKIP_SMOKETEST_VPP:
+ description: 'Skip VPP test'
+ required: true
+ type: boolean
+ default: false
SKIP_RELEASE_PUBLISHING:
description: 'Skip release publishing'
required: true
@@ -532,6 +537,39 @@ jobs:
retention-days: 30
if-no-files-found: error
+ test_smoketest_vpp:
+ needs: build_generic_iso
+ runs-on: ubuntu-24.04
+ if: ${{ !inputs.SKIP_SMOKETEST_VPP }}
+ container:
+ image: vyos/vyos-build:current
+ options: --sysctl net.ipv6.conf.lo.disable_ipv6=0 --privileged
+ steps:
+ # We need the test script from vyos-build repo
+ - name: Clone vyos-build repo
+ uses: actions/checkout@v4
+ with:
+ repository: vyos/vyos-build
+ - uses: actions/download-artifact@v4
+ with:
+ name: ${{ needs.build_generic_iso.outputs.generic_image_name }}
+ path: build
+ - name: VyOS VPP smoketests
+ id: test
+ shell: bash
+ run: |
+ set -e
+ # extract ISO image from artifact
+ find build -type f -exec cp {} build \;
+ ln -s ${{ needs.build_generic_iso.outputs.generic_image_iso }} build/live-image-amd64.hybrid.iso
+ sudo make test-vpp | tee smoketest_vpp.log
+ - uses: actions/upload-artifact@v4
+ with:
+ name: smoketest_make_test_vpp
+ path: smoketest_vpp.log
+ retention-days: 30
+ if-no-files-found: error
+
slack:
needs:
- test_config_load