Skip to content

Commit

Permalink
Merge branch 'main' into ROCKS-1019/drop-verbose-from-rock-entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
linostar committed Jun 7, 2024
2 parents 2ac7088 + d81fc0c commit 0a255d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions spread.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ backends:
- ubuntu-22.04-64:
workers: 4
storage: 40G
- fedora-37-64:
- fedora-39-64:
workers: 1
storage: 40G

Expand Down Expand Up @@ -56,7 +56,7 @@ prepare: |
# older linux releases have separate packages for lxd and lxc (lxd-client)
if [ "$SPREAD_SYSTEM" = "ubuntu-18.04-64" ] || \
[ "$SPREAD_SYSTEM" = "ubuntu-20.04-64" ] || \
[ "$SPREAD_SYSTEM" = "fedora-37-64" ]; then
[ "$SPREAD_SYSTEM" = "fedora-39-64" ]; then
tests.pkgs remove lxd lxd-client
else
tests.pkgs remove lxd
Expand All @@ -75,7 +75,7 @@ prepare: |
lxd waitready --timeout=30
lxd init --auto
if [ "$SPREAD_SYSTEM" = "fedora-37-64" ]; then
if [ "$SPREAD_SYSTEM" = "fedora-39-64" ]; then
# Latest docker snap needs a more recent version of snapd than Fedora ships
# https://github.com/canonical/rockcraft/pull/277
snap install docker --channel=core18/stable
Expand Down
2 changes: 1 addition & 1 deletion tests/spread/rockcraft/entrypoint-service/task.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ execute: |
id=$(sh -c 'docker run -d entrypoint-service-test bar \; --verbose')
test "$(docker inspect "$id" -f '{{json .Config.Entrypoint}}')" = '["/bin/pebble","enter","--args","test-service"]'
test "$(docker inspect "$id" -f '{{json .Config.Cmd}}')" = '["bar",";","--verbose"]'
docker logs "$id" 2>&1 | grep '[test-service] bar'
docker logs "$id" 2>&1 | grep '\[test-service\] bar'
docker rm -f "$id"

0 comments on commit 0a255d8

Please sign in to comment.