mirror of
https://github.com/vhaudiquet/ecrou.git
synced 2026-11-12 22:22:44 +00:00
fix(ci): spell the quiet flag out in the snap e2e
--quiet is long-only in RunArgs; -q is a clap error and the smoke step never reached the machine.
This commit is contained in:
1 parent
3618d9857e
commit
4128092be3
2 files changed
+3
-3
No files matched your search
@@ -136,7 +136,7 @@ jobs:
|
||||
- name: Smoke — boot alpine under confinement
|
||||
run: |
|
||||
set -euo pipefail
|
||||
guest="$(timeout 10m ecrou run -q alpine -- uname -r | tail -n 1)"
|
||||
guest="$(timeout 10m ecrou run --quiet alpine -- uname -r | tail -n 1)"
|
||||
host="$(uname -r)"
|
||||
echo "guest kernel: $guest / host kernel: $host"
|
||||
test -n "$guest" && test "$guest" != "$host"
|
||||
@@ -151,6 +151,6 @@ jobs:
|
||||
- name: apt update && install fastfetch
|
||||
run: |
|
||||
set -euo pipefail
|
||||
timeout 35m ecrou run -q -e DEBIAN_FRONTEND=noninteractive ubuntu -- \
|
||||
timeout 35m ecrou run --quiet -e DEBIAN_FRONTEND=noninteractive ubuntu -- \
|
||||
"apt update && apt install -y fastfetch && fastfetch" | tee /tmp/e2e.log
|
||||
grep -E "^OS:" /tmp/e2e.log
|
||||
@@ -269,7 +269,7 @@ stop:
|
||||
with shares: zero hits. This test is the founding rule.
|
||||
- **T7, guest network.** An https fetch from the guest succeeds, DNS
|
||||
included; a published port is reachable from the host.
|
||||
- **T8, snap e2e.** CI builds the snap and runs `ecrou run -q -e
|
||||
- **T8, snap e2e.** CI builds the snap and runs `ecrou run --quiet -e
|
||||
DEBIAN_FRONTEND=noninteractive ubuntu -- "apt update && apt install
|
||||
-y fastfetch && fastfetch"` inside it: strict confinement, KVM
|
||||
through the plug, the staged e2fsprogs, apt across the TSI proxy,
|
||||
|
||||
Reference in new issue
Block a user