Commit fd030158 authored by Aliaksandr Ramanovich (EPAM)'s avatar Aliaksandr Ramanovich (EPAM)
Browse files

Changes due using app.yaml from env var

parent 41031bd6
Pipeline #7016 passed with stage
in 6 seconds
......@@ -38,7 +38,7 @@ osdu-gcp-deploy:
stage: deploy
needs: ["compile-and-unit-test"]
script:
- sed -e "s|ENVIRONMENT|$OSDU_GCP_ENVIRONMENT|g" "$OSDU_GCP_BUILD_SUBDIR/src/main/appengine/app.yaml" | tee "$OSDU_GCP_DEPLOY_DIR/app.yaml"
- cat $OSDU_GCP_APP_YAML > $OSDU_GCP_DEPLOY_DIR/app.yaml
- cp -v "${OSDU_GCP_BUILD_SUBDIR}"/target/*-spring-boot.jar "$OSDU_GCP_DEPLOY_DIR"
- cd "$OSDU_GCP_DEPLOY_DIR"
- echo --version="$CI_COMMIT_SHORT_SHA" --project="$OSDU_GCP_PROJECT" app.yaml
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment