From 93460ce6c19dd76f0696836de319bded876fd0b5 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Mon, 13 Jan 2025 18:25:21 +0100 Subject: Add VMware vSphere and PROXMOX config tests --- .github/workflows/nightly-build.yml | 66 +++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) (limited to '.github/workflows') 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 -- cgit v1.2.3