Skip to content

Commit

Permalink
Merge pull request #210 from gfouillet/ci/fix/missing-charmcraft-depe…
Browse files Browse the repository at this point in the history
…ndency

fix(dependencies): install charmcraft if missing in test-runner script
  • Loading branch information
SimonRichardson authored Dec 17, 2024
2 parents cc154f6 + 6bedf18 commit 8e9e5eb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jobs/ci-run/integration/common/test-runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ sudo apt-get -y update
# set, so retries succeed.
attempts=0
while [ $attempts -lt 3 ]; do
if ! which charmcraft >/dev/null 2>&1; then
sudo snap install charmcraft --classic || true
fi
if ! which jq >/dev/null 2>&1; then
sudo snap install jq || true
fi
Expand Down

0 comments on commit 8e9e5eb

Please sign in to comment.