-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: temporarily disable externally broken spread tests (#1197)
Related to #1193, this should make our CI succeed. We will need to re-enable these tests once the issues with those charms are resolved.
- Loading branch information
Showing
3 changed files
with
38 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,36 @@ | ||
summary: Recursively pack a bundle with all charms on | ||
systems: | ||
- ubuntu-22.04-64 | ||
kill-timeout: 30m | ||
|
||
environment: | ||
BUNDLE/notebook_operators: https://github.com/canonical/notebook-operators | ||
|
||
prepare: | | ||
git clone --depth=1 "${BUNDLE}" bundle | ||
restore: | | ||
pushd bundle/charms/jupyter-controller | ||
charmcraft clean | ||
popd | ||
pushd bundle/charms/jupyter-ui | ||
charmcraft clean | ||
popd | ||
rm -rf bundle | ||
execute: | | ||
cd bundle | ||
charmcraft pack --verbose --include-all-charms --output-bundle=output_bundle.yaml | ||
# Ensure that the output bundle.yaml file is the same as the bundle.yaml file | ||
# within the bundle itself. | ||
unzip -p *.zip bundle.yaml | diff -s output_bundle.yaml - | ||
# Ensure at least one charm file is referenced in the bundle.yaml | ||
test $(grep "charm: ${PWD}" output_bundle.yaml | wc -l) -ge 1 | ||
# Ensure all local charms referenced in the bundle exist | ||
grep "charm: ${PWD}" output_bundle.yaml | cut -d: -f2 | xargs file -E | ||
# Test deploying the bundle. | ||
# TODO: install juju on the runner and re-enable this. | ||
# juju deploy --dry-run *.zip | ||
summary: Recursively pack a bundle with all charms | ||
#systems: | ||
# - ubuntu-22.04-64 | ||
#kill-timeout: 30m | ||
# | ||
#environment: | ||
# BUNDLE/notebook_operators: https://github.com/canonical/notebook-operators | ||
# | ||
#prepare: | | ||
# git clone --depth=1 "${BUNDLE}" bundle | ||
# | ||
#restore: | | ||
# pushd bundle/charms/jupyter-controller | ||
# charmcraft clean | ||
# popd | ||
# pushd bundle/charms/jupyter-ui | ||
# charmcraft clean | ||
# popd | ||
# | ||
# rm -rf bundle | ||
# | ||
#execute: | | ||
# cd bundle | ||
# charmcraft pack --verbose --include-all-charms --output-bundle=output_bundle.yaml | ||
# | ||
# # Ensure that the output bundle.yaml file is the same as the bundle.yaml file | ||
# # within the bundle itself. | ||
# unzip -p *.zip bundle.yaml | diff -s output_bundle.yaml - | ||
# # Ensure at least one charm file is referenced in the bundle.yaml | ||
# test $(grep "charm: ${PWD}" output_bundle.yaml | wc -l) -ge 1 | ||
# # Ensure all local charms referenced in the bundle exist | ||
# grep "charm: ${PWD}" output_bundle.yaml | cut -d: -f2 | xargs file -E | ||
# | ||
# # Test deploying the bundle. | ||
# # TODO: install juju on the runner and re-enable this. | ||
# # juju deploy --dry-run *.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ restore: | | |
pushd charm | ||
charmcraft clean | ||
popd | ||
rm -rf charm | ||
execute: | | ||
|