unoverse 0.1.70 → 0.1.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/operator/lib/deploy.sh +8 -1
- package/operator/operator.sh +2 -1
- package/package.json +1 -1
package/operator/lib/deploy.sh
CHANGED
|
@@ -207,7 +207,14 @@ cmd_deploy() {
|
|
|
207
207
|
exit 1
|
|
208
208
|
}
|
|
209
209
|
else
|
|
210
|
-
|
|
210
|
+
# SAY WHERE THIS IS GOING, first and unmissably. An existing ground already names
|
|
211
|
+
# the cloud, so re-asking every deploy would be noise — but a one-line mention
|
|
212
|
+
# buried above other output reads as never having been asked at all.
|
|
213
|
+
local pretty
|
|
214
|
+
[ "$cloud" = "aws" ] && pretty="AWS" || pretty="DigitalOcean"
|
|
215
|
+
echo ""
|
|
216
|
+
echo -e " ${CYAN}${BOLD}⬡ Deploying to $pretty${NC} ${DIM}(infra/$cloud — delete that folder's terraform.tfvars to choose again)${NC}"
|
|
217
|
+
echo ""
|
|
211
218
|
fi
|
|
212
219
|
|
|
213
220
|
_ensure_ground_config "$cloud" || exit 1
|
package/operator/operator.sh
CHANGED
|
@@ -74,7 +74,8 @@ case "${1:-}" in
|
|
|
74
74
|
info "Docker is not running. Images refresh on the next unoverse start"
|
|
75
75
|
else
|
|
76
76
|
# The ground definitions first: they are code, and they update like code.
|
|
77
|
-
local
|
|
77
|
+
# NO `local` HERE: a case branch in the dispatch is not a function body, and bash
|
|
78
|
+
# errors "local: can only be used in a function" straight to the developer's screen.
|
|
78
79
|
_vinfra="$GRAVITY_LIB/../infra"
|
|
79
80
|
if [ -d "$_vinfra" ]; then
|
|
80
81
|
for _g in digitalocean aws; do
|
package/package.json
CHANGED