Loading templates/gitlab-ci-terraform.yml +10 −10 Original line number Diff line number Diff line Loading @@ -345,8 +345,8 @@ stages: prescript="$TF_SCRIPTS_DIR/tf-pre-init.sh" if [[ -f "$prescript" ]]; then log_info "--- \\e[32mpre-init\\e[0m hook (\\e[33;1m${prescript}\\e[0m) found: execute" # shellcheck disable=SC2086 sh $prescript chmod +x "$prescript" "$prescript" else log_info "--- \\e[32mpre-init\\e[0m hook (\\e[33;1m${prescript}\\e[0m) not found: skip" fi Loading Loading @@ -402,8 +402,8 @@ stages: prescript="$TF_SCRIPTS_DIR/tf-pre-apply.sh" if [[ -f "$prescript" ]]; then log_info "--- \\e[32mpre-apply\\e[0m hook (\\e[33;1m${prescript}\\e[0m) found: execute" # shellcheck disable=SC2086 sh $prescript chmod +x "$prescript" "$prescript" else log_info "--- \\e[32mpre-apply\\e[0m hook (\\e[33;1m${prescript}\\e[0m) not found: skip" fi Loading @@ -421,8 +421,8 @@ stages: postscript="$TF_SCRIPTS_DIR/tf-post-apply.sh" if [[ -f "$postscript" ]]; then log_info "--- \\e[32mpost-apply\\e[0m hook (\\e[33;1m${postscript}\\e[0m) found: execute" # shellcheck disable=SC2086 sh $postscript chmod +x "$postscript" "$postscript" else log_info "--- \\e[32mpost-apply\\e[0m hook (\\e[33;1m${postscript}\\e[0m) not found: skip" fi Loading @@ -442,8 +442,8 @@ stages: prescript="$TF_SCRIPTS_DIR/tf-pre-destroy.sh" if [[ -f "$prescript" ]]; then log_info "--- \\e[32mpre-destroy\\e[0m hook (\\e[33;1m${prescript}\\e[0m) found: execute" # shellcheck disable=SC2086 sh $prescript chmod +x "$prescript" "$prescript" else log_info "--- \\e[32mpre-destroy\\e[0m hook (\\e[33;1m${prescript}\\e[0m) not found: skip" fi Loading @@ -455,8 +455,8 @@ stages: postscript="$TF_SCRIPTS_DIR/tf-post-destroy.sh" if [[ -f "$postscript" ]]; then log_info "--- \\e[32mpost-destroy\\e[0m hook (\\e[33;1m${postscript}\\e[0m) found: execute" # shellcheck disable=SC2086 sh $postscript chmod +x "$postscript" "$postscript" else log_info "--- \\e[32mpost-destroy\\e[0m hook (\\e[33;1m${postscript}\\e[0m) not found: skip" fi Loading Loading
templates/gitlab-ci-terraform.yml +10 −10 Original line number Diff line number Diff line Loading @@ -345,8 +345,8 @@ stages: prescript="$TF_SCRIPTS_DIR/tf-pre-init.sh" if [[ -f "$prescript" ]]; then log_info "--- \\e[32mpre-init\\e[0m hook (\\e[33;1m${prescript}\\e[0m) found: execute" # shellcheck disable=SC2086 sh $prescript chmod +x "$prescript" "$prescript" else log_info "--- \\e[32mpre-init\\e[0m hook (\\e[33;1m${prescript}\\e[0m) not found: skip" fi Loading Loading @@ -402,8 +402,8 @@ stages: prescript="$TF_SCRIPTS_DIR/tf-pre-apply.sh" if [[ -f "$prescript" ]]; then log_info "--- \\e[32mpre-apply\\e[0m hook (\\e[33;1m${prescript}\\e[0m) found: execute" # shellcheck disable=SC2086 sh $prescript chmod +x "$prescript" "$prescript" else log_info "--- \\e[32mpre-apply\\e[0m hook (\\e[33;1m${prescript}\\e[0m) not found: skip" fi Loading @@ -421,8 +421,8 @@ stages: postscript="$TF_SCRIPTS_DIR/tf-post-apply.sh" if [[ -f "$postscript" ]]; then log_info "--- \\e[32mpost-apply\\e[0m hook (\\e[33;1m${postscript}\\e[0m) found: execute" # shellcheck disable=SC2086 sh $postscript chmod +x "$postscript" "$postscript" else log_info "--- \\e[32mpost-apply\\e[0m hook (\\e[33;1m${postscript}\\e[0m) not found: skip" fi Loading @@ -442,8 +442,8 @@ stages: prescript="$TF_SCRIPTS_DIR/tf-pre-destroy.sh" if [[ -f "$prescript" ]]; then log_info "--- \\e[32mpre-destroy\\e[0m hook (\\e[33;1m${prescript}\\e[0m) found: execute" # shellcheck disable=SC2086 sh $prescript chmod +x "$prescript" "$prescript" else log_info "--- \\e[32mpre-destroy\\e[0m hook (\\e[33;1m${prescript}\\e[0m) not found: skip" fi Loading @@ -455,8 +455,8 @@ stages: postscript="$TF_SCRIPTS_DIR/tf-post-destroy.sh" if [[ -f "$postscript" ]]; then log_info "--- \\e[32mpost-destroy\\e[0m hook (\\e[33;1m${postscript}\\e[0m) found: execute" # shellcheck disable=SC2086 sh $postscript chmod +x "$postscript" "$postscript" else log_info "--- \\e[32mpost-destroy\\e[0m hook (\\e[33;1m${postscript}\\e[0m) not found: skip" fi Loading