diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2025-01-30 18:40:23 +0200 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2025-01-30 17:02:36 +0000 |
commit | 226f24731674f3f85d12aad1c70db6253b713384 (patch) | |
tree | df60ea7964a3b5e89eff2a513b59173fdc1d4ed9 /.github | |
parent | f3d0a05d19b93cf04cdea92864a39ab330af5daf (diff) | |
download | vyos-nightly-build-sever-sever-patch-1.tar.gz vyos-nightly-build-sever-sever-patch-1.zip |
Add vpp smoketestssever-sever-patch-1
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/nightly-build.yml | 38 |
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 |