Skip to content

Commit

Permalink
fix stage links for GKE stage (#1514)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludoo committed Jul 20, 2023
1 parent cb56006 commit ea800fa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fast/stage-links.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@ case $STAGE_NAME in
echo "no stage found, trying for parent stage 3..."
STAGE_NAME=$(basename $(dirname "$(pwd)"))
if [[ "$STAGE_NAME" == "3-"* ]]; then
if [[ "$STAGE_NAME" == "3-gke-multitenant"* ]]; then
STAGE_NAME="3-gke"
fi
SUFFIX=$(basename "$(pwd)")
STAGE_NAME="${STAGE_NAME}-$SUFFIX"
PROVIDER="providers/${STAGE_NAME}-providers.tf"
TFVARS="tfvars/0-bootstrap.auto.tfvars.json
tfvars/1-resman.auto.tfvars.json
Expand Down

0 comments on commit ea800fa

Please sign in to comment.