Page Menu
Home
VyOS Platform
Search
Configure Global Search
Log In
Files
F119908128
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
4 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/.github/workflows/package-smoketest.yml b/.github/workflows/package-smoketest.yml
index 49bd91669..35a86c145 100644
--- a/.github/workflows/package-smoketest.yml
+++ b/.github/workflows/package-smoketest.yml
@@ -1,106 +1,138 @@
-name: Package ISO Test
+name: VyOS ISO integration Test
on:
pull_request:
branches:
- current
+ - circinus
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
env:
BUILD_BY: autobuild@vyos.net
DEBIAN_MIRROR: http://deb.debian.org/debian/
outputs:
build_version: ${{ steps.version.outputs.build_version }}
steps:
- name: Clone vyos-build source code
uses: actions/checkout@v4
with:
repository: vyos/vyos-build
- name: Clone vyos-1x source code
uses: actions/checkout@v4
with:
repository: vyos/vyos-1x
path: packages/vyos-1x
fetch-tags: true # required for Debian package version
- name: Build vyos-1x package
run: |
cd packages/vyos-1x; dpkg-buildpackage -uc -us -tc -b
- name: Generate ISO version string
id: version
run: |
echo "build_version=1.5-integration-$(date -u +%Y%m%d%H%M)" >> $GITHUB_OUTPUT
- name: Build custom ISO image
run: |
sudo --preserve-env ./build-vyos-image \
--architecture amd64 \
--build-by $BUILD_BY \
--debian-mirror $DEBIAN_MIRROR \
--version ${{ steps.version.outputs.build_version }} \
--build-type release \
generic
- uses: actions/upload-artifact@v4
with:
name: vyos-${{ steps.version.outputs.build_version }}
path: build/live-image-amd64.hybrid.iso
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
steps:
# We need the test script from vyos-build repo
- name: Clone vyos-build source code
uses: actions/checkout@v4
with:
repository: vyos/vyos-build
- uses: actions/download-artifact@v4
with:
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
runs-on: ubuntu-24.04
+ timeout-minutes: 90
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 source code
uses: actions/checkout@v4
with:
repository: vyos/vyos-build
- uses: actions/download-artifact@v4
with:
name: vyos-${{ needs.build.outputs.build_version }}
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
runs-on: ubuntu-24.04
+ timeout-minutes: 20
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 source code
uses: actions/checkout@v4
with:
repository: vyos/vyos-build
- uses: actions/download-artifact@v4
with:
name: vyos-${{ needs.build.outputs.build_version }}
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
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Thu, Nov 26, 10:18 PM (23 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4984250
Default Alt Text
(4 KB)
Attached To
Mode
rVYOSONEX vyos-1x
Attached
Detach File
Event Timeline
Log In to Comment