Skip to content

Commit 0b3735f

Browse files
committed
fix: verbose output support for custom providers
1 parent 469321a commit 0b3735f

File tree

12 files changed

+15
-12
lines changed

12 files changed

+15
-12
lines changed

scripts/custom-provider/artifact-prepare#post.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
: "${taito_target:?}"
33

44
set -e
5+
${taito_setv:-}
56

67
echo "TODO: Implement. This is only an example implementation."
78

scripts/custom-provider/artifact-release#post.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
: "${taito_target:?}"
33

44
set -e
5+
${taito_setv:-}
56

67
echo "TODO: Implement. This is only an example implementation."
78

scripts/custom-provider/taito-deployment-deploy#post.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
: "${taito_target_env:?}"
33

44
set -e
5+
${taito_setv:-}
56

67
echo "TODO: Implement. This is only an example implementation."
78

scripts/linux-provider/taito-deployment-deploy#post.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ echo
3535
echo "[Copy docker-compose-remote.yaml to ${taito_host}:/tmp]"
3636
(
3737
set -e
38-
${taito_setv:?}
38+
${taito_setv:-}
3939
mkdir -p tmp
4040
files="docker-compose-remote.yaml docker-nginx.conf taito-config.sh"
4141
if [[ -f database/db.sql ]]; then
@@ -51,7 +51,7 @@ echo "[Execute on host ${taito_host}]"
5151
ssh ${opts} "${taito_ssh_user}@${taito_host}" "
5252
${LINUX_SUDO} bash -c '
5353
set -e
54-
${taito_setv:?}
54+
${taito_setv:-}
5555
cd ${taito_host_dir}
5656
echo
5757
echo [Check that Docker images exist]

scripts/linux-provider/taito-env-apply#post.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ set -e
1414
echo "[Copy changed secrets to ${taito_host}:/tmp]"
1515
(
1616
set -e
17-
${taito_setv:?}
17+
${taito_setv:-}
1818
mkdir -p tmp
1919
tar -cf "tmp/${taito_namespace}-secrets.tar" -C "secrets/changed/${taito_env}" .
2020
scp ${opts} "tmp/${taito_namespace}-secrets.tar" "${taito_ssh_user}@${taito_host}:/tmp"
@@ -26,7 +26,7 @@ echo "[Execute on ${taito_host}]"
2626
ssh ${opts} "${taito_ssh_user}@${taito_host}" "
2727
${LINUX_SUDO} bash -c '
2828
set -e
29-
${taito_setv:?}
29+
${taito_setv:-}
3030
echo [Extract /tmp/${taito_namespace}-secrets.tar]
3131
mkdir -p ${taito_host_dir}/secrets/${taito_env}
3232
tar -xf /tmp/${taito_namespace}-secrets.tar -C ${taito_host_dir}/secrets/${taito_env}

scripts/linux-provider/taito-env-destroy#post.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ echo "[Execute on ${taito_host}]"
1313
ssh ${opts} "${taito_ssh_user}@${taito_host}" "
1414
${LINUX_SUDO} bash -c '
1515
set -e
16-
${taito_setv:?}
16+
${taito_setv:-}
1717
if which deletetaitosite &> /dev/null; then
1818
deletetaitosite ${taito_namespace}
1919
else

scripts/linux-provider/taito-env-rotate#post.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ set -e
1515
echo "[Copy changed secrets to ${taito_host}:/tmp]"
1616
(
1717
set -e
18-
${taito_setv:?}
18+
${taito_setv:-}
1919
mkdir -p tmp
2020
tar -cf "tmp/${taito_namespace}-secrets.tar" -C "secrets/changed/${taito_env}" .
2121
scp ${opts} "tmp/${taito_namespace}-secrets.tar" "${taito_ssh_user}@${taito_host}:/tmp"
@@ -27,7 +27,7 @@ echo "[Execute on ${taito_host}]"
2727
ssh ${opts} "${taito_ssh_user}@${taito_host}" "
2828
${LINUX_SUDO} bash -c '
2929
set -e
30-
${taito_setv:?}
30+
${taito_setv:-}
3131
echo [Extract /tmp/${taito_namespace}-secrets.tar]
3232
mkdir -p ${taito_host_dir}/secrets/${taito_env}
3333
tar -xf /tmp/${taito_namespace}-secrets.tar -C ${taito_host_dir}/secrets/${taito_env}

scripts/taito-template/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
: "${template_project_path:?}"
3030
: "${mode:?}"
3131

32-
${taito_setv:?}
32+
${taito_setv:-}
3333

3434
######################
3535
# Remove these always

scripts/taito-template/create.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/bash
22

3-
${taito_setv:?}
3+
${taito_setv:-}
44
./scripts/taito-template/init.sh

scripts/taito-template/init.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
: "${taito_vc_repository_alt:?}"
55
: "${mode:?}"
66

7-
${taito_setv:?}
7+
${taito_setv:-}
88

99
# Function not supported yet
1010
rm -rf function

0 commit comments

Comments
 (0)