Skip to content

Commit 403303b

Browse files
Add lxc image list to integration tests (#47)
Make it easier to track changes to LXC images downloaded by Juju to help troubleshoot issues such as https://chat.canonical.com/canonical/pl/spbm6i4hwprrbqb13e9tfuuuyc
1 parent 5cef65a commit 403303b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/integration_test_charm.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,11 @@ jobs:
144144
- timeout-minutes: 1
145145
if: ${{ success() || (failure() && steps.spread.outcome == 'failure') }}
146146
run: snap list
147+
- name: lxc image list
148+
timeout-minutes: 1
149+
if: ${{ (success() || (failure() && steps.spread.outcome == 'failure')) && inputs.path-to-charm-directory == 'machines' }}
150+
# sudo needed since spread runs scripts as root
151+
run: sudo lxc image list
147152
- name: Select model
148153
timeout-minutes: 1
149154
# `!contains(matrix.job.spread_job, 'juju29')` workaround for juju 2 error:

0 commit comments

Comments
 (0)