launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #30241
[Merge] ~lgp171188/launchpad-bastion-scripts:add-launchpad-scripts into launchpad-bastion-scripts:main
Guruprasad has proposed merging ~lgp171188/launchpad-bastion-scripts:add-launchpad-scripts into launchpad-bastion-scripts:main.
Commit message:
Add changes for the launchpad-scripts charm
And use spaces instead of tabs for indentation.
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~lgp171188/launchpad-bastion-scripts/+git/launchpad-bastion-scripts/+merge/446850
--
Your team Launchpad code reviewers is requested to review the proposed merge of ~lgp171188/launchpad-bastion-scripts:add-launchpad-scripts into launchpad-bastion-scripts:main.
diff --git a/auto-upgrade-qastaging b/auto-upgrade-qastaging
index f549284..f65bd0a 100755
--- a/auto-upgrade-qastaging
+++ b/auto-upgrade-qastaging
@@ -10,15 +10,16 @@ stable_commit="$(git ls-remote https://git.launchpad.net/launchpad refs/heads/st
deployed_commit="$(juju config launchpad-appserver build_label)"
if [ "$stable_commit" != "$deployed_commit" ]; then
- swift_storage_url="$(juju config launchpad-appserver swift_storage_url)"
- swift_container_name="$(juju config launchpad-appserver swift_container_name)"
- if curl -Isf -o /dev/null "$swift_storage_url/$swift_container_name/launchpad-builds/$stable_commit/launchpad.tar.gz"; then
- echo "Deploying $stable_commit"
- set-local-config launchpad-admin build_label="$stable_commit"
- set-local-config launchpad-appserver build_label="$stable_commit"
- set-local-config launchpad-assets build_label="$stable_commit"
- set-local-config launchpad-debian-importer build_label="$stable_commit"
- set-local-config launchpad-librarian build_label="$stable_commit"
- run-one mojo run
- fi
+ swift_storage_url="$(juju config launchpad-appserver swift_storage_url)"
+ swift_container_name="$(juju config launchpad-appserver swift_container_name)"
+ if curl -Isf -o /dev/null "$swift_storage_url/$swift_container_name/launchpad-builds/$stable_commit/launchpad.tar.gz"; then
+ echo "Deploying $stable_commit"
+ set-local-config launchpad-admin build_label="$stable_commit"
+ set-local-config launchpad-appserver build_label="$stable_commit"
+ set-local-config launchpad-assets build_label="$stable_commit"
+ set-local-config launchpad-debian-importer build_label="$stable_commit"
+ set-local-config launchpad-librarian build_label="$stable_commit"
+ set-local-config launchpad-scripts build_label="$stable_commit"
+ run-one mojo run
+ fi
fi
diff --git a/auto-upgrade-staging b/auto-upgrade-staging
index 74b3a56..44687a1 100755
--- a/auto-upgrade-staging
+++ b/auto-upgrade-staging
@@ -10,15 +10,16 @@ db_stable_commit="$(git ls-remote https://git.launchpad.net/launchpad refs/heads
deployed_commit="$(juju config launchpad-appserver build_label)"
if [ "$db_stable_commit" != "$deployed_commit" ]; then
- swift_storage_url="$(juju config launchpad-appserver swift_storage_url)"
- swift_container_name="$(juju config launchpad-appserver swift_container_name)"
- if curl -Isf -o /dev/null "$swift_storage_url/$swift_container_name/launchpad-builds/$db_stable_commit/launchpad.tar.gz"; then
- echo "Deploying $db_stable_commit"
- set-local-config launchpad-admin build_label="$db_stable_commit"
- set-local-config launchpad-appserver build_label="$db_stable_commit"
- set-local-config launchpad-assets build_label="$db_stable_commit"
- set-local-config launchpad-buildd-manager build_label="$db_stable_commit"
- set-local-config launchpad-librarian build_label="$db_stable_commit"
- run-one mojo run
- fi
+ swift_storage_url="$(juju config launchpad-appserver swift_storage_url)"
+ swift_container_name="$(juju config launchpad-appserver swift_container_name)"
+ if curl -Isf -o /dev/null "$swift_storage_url/$swift_container_name/launchpad-builds/$db_stable_commit/launchpad.tar.gz"; then
+ echo "Deploying $db_stable_commit"
+ set-local-config launchpad-admin build_label="$db_stable_commit"
+ set-local-config launchpad-appserver build_label="$db_stable_commit"
+ set-local-config launchpad-assets build_label="$db_stable_commit"
+ set-local-config launchpad-buildd-manager build_label="$db_stable_commit"
+ set-local-config launchpad-librarian build_label="$db_stable_commit"
+ set-local-config launchpad-scripts build_label="$db_stable_commit"
+ run-one mojo run
+ fi
fi