diff options
| author | Christian Breunig <christian@breunig.cc> | 2025-01-13 18:25:21 +0100 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2025-01-13 18:25:21 +0100 |
| commit | 93460ce6c19dd76f0696836de319bded876fd0b5 (patch) | |
| tree | 219e1514081e670d1af4ca1db991ff5bf4f260b9 /.github/workflows | |
| parent | 12478b81f2f0dddc7345953824f63427be87810d (diff) | |
| download | vyos-nightly-build-93460ce6c19dd76f0696836de319bded876fd0b5.tar.gz vyos-nightly-build-93460ce6c19dd76f0696836de319bded876fd0b5.zip | |
Add VMware vSphere and PROXMOX config tests
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/nightly-build.yml | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index 5585d82..b90286d 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -393,6 +393,72 @@ jobs: retention-days: 30 if-no-files-found: error + test_proxmox_config_load: + needs: build_proxmox_iso + runs-on: ubuntu-24.04 + if: ${{ !inputs.SKIP_SMOKETEST_CONFIG }} + 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_proxmox_iso.outputs.proxmox_image_name }} + path: build + - name: VyOS config load tests + id: test + shell: bash + run: | + set -e + # extract ISO image from artifact + find build -type f -exec cp {} build \; + ln -s ${{ needs.build_proxmox_iso.outputs.proxmox_image_iso }} build/live-image-amd64.hybrid.iso + sudo make testc | tee smoketest_make_testc.log + - uses: actions/upload-artifact@v4 + with: + name: smoketest_proxmox_make_testc + path: smoketest_proxmox_make_testc.log + retention-days: 30 + if-no-files-found: error + + test_vmware_vsphere_config_load: + needs: build_vmware_vsphere_iso + runs-on: ubuntu-24.04 + if: ${{ !inputs.SKIP_SMOKETEST_CONFIG }} + 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_vmware_vsphere_iso.outputs.vmware_image_name }} + path: build + - name: VyOS config load tests + id: test + shell: bash + run: | + set -e + # extract ISO image from artifact + find build -type f -exec cp {} build \; + ln -s ${{ needs.build_vmware_vsphere_iso.outputs.vmware_image_iso }} build/live-image-amd64.hybrid.iso + sudo make testc | tee smoketest_make_testc.log + - uses: actions/upload-artifact@v4 + with: + name: smoketest_vmware_make_testc + path: smoketest_vmware_make_testc.log + retention-days: 30 + if-no-files-found: error + test_raid1_install: needs: build_generic_iso runs-on: ubuntu-24.04 |
