This repository was archived by the owner on May 19, 2020. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,18 +18,22 @@ if [[ "$TRAVIS_TAG" =~ ^[0-9]+\.[0-9]+\.[0-9]+(-[A-Za-z0-9-]+)? ]]
1818then
1919 CF_MANIFEST=" manifest-prod.yml"
2020 CF_SPACE=" deck-prod"
21+ CF_APP=" cf-deck"
2122elif [ " $TRAVIS_BRANCH " == " master" ]
2223then
2324 CF_MANIFEST=" manifest-master.yml"
2425 CF_SPACE=" deck-stage"
26+ CF_APP=" cf-deck"
2527elif [ " $TRAVIS_BRANCH " == " staging" ]
2628then
2729 CF_MANIFEST=" manifest-staging.yml"
2830 CF_SPACE=" deck-stage"
31+ CF_APP=" cf-deck-staging"
2932elif [ " $TRAVIS_BRANCH " == " deprecated" ]
3033then
3134 CF_MANIFEST=" manifest-deprecated.yml"
3235 CF_SPACE=" deck-prod"
36+ CF_APP=" cg-deck"
3337else
3438 exit
3539fi
@@ -47,7 +51,7 @@ $CF_BIN auth $CF_USERNAME $CF_PASSWORD && $CF_BIN target -o $CF_ORGANIZATION -s
4751# Set manifest path for eastwest
4852MANIFEST_PATH=manifests/eastwest/$CF_MANIFEST
4953# Run autopilot plugin
50- $CF_BIN zero-downtime-push cf-deck -f $MANIFEST_PATH -p $CF_PATH
54+ $CF_BIN zero-downtime-push $CF_APP -f $MANIFEST_PATH -p $CF_PATH
5155
5256# Log in to govcloud
5357$CF_BIN api $CF_API_GC
You can’t perform that action at this time.
0 commit comments