Skip to content

Commit e458035

Browse files
authored
Merge pull request #3714 from c-po/T6494-custom-ISO-2
GitHub: T6494: extend ISO integration workflow
2 parents 064cbc3 + 8491ca0 commit e458035

File tree

1 file changed

+34
-2
lines changed

1 file changed

+34
-2
lines changed

.github/workflows/package-smoketest.yml

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1-
name: Package ISO Test
1+
name: VyOS ISO integration Test
22

33
on:
44
pull_request:
55
branches:
66
- current
7+
- circinus
78

89
jobs:
910
build:
1011
runs-on: ubuntu-24.04
12+
timeout-minutes: 45
1113
container:
1214
image: vyos/vyos-build:current
1315
options: --sysctl net.ipv6.conf.lo.disable_ipv6=0 --privileged
@@ -51,6 +53,7 @@ jobs:
5153
cli-smoketests:
5254
needs: build
5355
runs-on: ubuntu-24.04
56+
timeout-minutes: 180
5457
container:
5558
image: vyos/vyos-build:current
5659
options: --sysctl net.ipv6.conf.lo.disable_ipv6=0 --privileged
@@ -65,11 +68,21 @@ jobs:
6568
name: vyos-${{ needs.build.outputs.build_version }}
6669
path: build
6770
- name: VyOS CLI smoketests
68-
run: ls -al; ls -al build; sudo make test
71+
run: sudo make test
72+
- name: Add PR comment
73+
if: always()
74+
uses: mshick/add-pr-comment@v2
75+
with:
76+
message-success: '👍 VyOS CLI smoketests finished successfully!'
77+
message-failure: '❌ VyOS CLI smoketests failed!'
78+
message-cancelled: '❌ VyOS CLI smoketests cancelled!'
79+
allow-repeats: false
80+
refresh-message-position: true
6981

7082
config-load-tests:
7183
needs: build
7284
runs-on: ubuntu-24.04
85+
timeout-minutes: 90
7386
container:
7487
image: vyos/vyos-build:current
7588
options: --sysctl net.ipv6.conf.lo.disable_ipv6=0 --privileged
@@ -85,10 +98,20 @@ jobs:
8598
path: build
8699
- name: VyOS config tests
87100
run: sudo make testc
101+
- name: Add PR comment
102+
if: always()
103+
uses: mshick/add-pr-comment@v2
104+
with:
105+
message-success: '👍 VyOS config tests finished successfully!'
106+
message-failure: '❌ VyOS config tests failed!'
107+
message-cancelled: '❌ VyOS config tests cancelled!'
108+
allow-repeats: false
109+
refresh-message-position: true
88110

89111
raid1-install-test:
90112
needs: build
91113
runs-on: ubuntu-24.04
114+
timeout-minutes: 20
92115
container:
93116
image: vyos/vyos-build:current
94117
options: --sysctl net.ipv6.conf.lo.disable_ipv6=0 --privileged
@@ -104,3 +127,12 @@ jobs:
104127
path: build
105128
- name: VyOS RAID1 install test
106129
run: sudo make testraid
130+
- name: Add PR comment
131+
if: always()
132+
uses: mshick/add-pr-comment@v2
133+
with:
134+
message-success: '👍 RAID1 Smoketests finished successfully!'
135+
message-failure: '❌ RAID1 Smoketests failed!'
136+
message-cancelled: '❌ RAID1 action cancelled!'
137+
allow-repeats: false
138+
refresh-message-position: true

0 commit comments

Comments
 (0)