Commit b890b2cc authored by Malin, James (Contractor) Christopher's avatar Malin, James (Contractor) Christopher
Browse files

test print APP vars

parent d0e77c32
Pipeline #871 failed with stages
in 17 seconds
......@@ -97,6 +97,10 @@ build:
script:
- echo "Building..."
- for var in "${!APP_@}"; do
- printf '%s=%s\n' "$var" "${!var}"
- done
# # build a local directory to be used later for testing or deploying
# - mkdir docker-images
# # build image and save
......@@ -225,22 +229,22 @@ trigger deploy:
- merge_requests
- master
script:
- 'curl -X POST
-F token=5db4dbb65dd8f2583082e1555bae6a
-F "ref=master"
-F "variables[CI_COMMIT_MESSAGE]=$CI_COMMIT_MESSAGE"
-F "variables[IMAGE_VERSION]=${IMAGE_VERSION}"
-F "variables[DB_IMAGE_NAME]=ghsc/hazdev/earthquake-geoserve/db:${IMAGE_VERSION}"
-F "variables[ENVIRONMENT]=${ENVIRONMENT}"
-F "variables[UI_IMAGE_NAME]=ghsc/hazdev/earthquake-geoserve/ui:${IMAGE_VERSION}"
-F "variables[APP_NAME]=${DEPLOY_APP_NAME}"
-F "variables[GIT_BRANCH]=origin/master"
-F "variables[WS_IMAGE_NAME]=ghsc/hazdev/earthquake-geoserve/ws:${IMAGE_VERSION}"
-F "variables[APP_REPO]=ghsc/hazdev/earthquake-geoserve.git"
-F "variables[STACK_NAME]=earthquake-geoserve"
-F "variables[TARGET_HOSTNAME]=dev01-container01.cr.usgs.gov"
-F "variables[REMOTE_DEPLOY_DIR]=${REMOTE_DEPLOY_DIR}"
https://code.chs.usgs.gov/api/v4/projects/1955/trigger/pipeline'
- 'curl -X POST
-F token=5db4dbb65dd8f2583082e1555bae6a
-F "ref=master"
-F "variables[CI_COMMIT_MESSAGE]=$CI_COMMIT_MESSAGE"
-F "variables[IMAGE_VERSION]=${IMAGE_VERSION}"
-F "variables[DB_IMAGE_NAME]=ghsc/hazdev/earthquake-geoserve/db:${IMAGE_VERSION}"
-F "variables[ENVIRONMENT]=${ENVIRONMENT}"
-F "variables[UI_IMAGE_NAME]=ghsc/hazdev/earthquake-geoserve/ui:${IMAGE_VERSION}"
-F "variables[APP_NAME]=${DEPLOY_APP_NAME}"
-F "variables[GIT_BRANCH]=origin/master"
-F "variables[WS_IMAGE_NAME]=ghsc/hazdev/earthquake-geoserve/ws:${IMAGE_VERSION}"
-F "variables[APP_REPO]=ghsc/hazdev/earthquake-geoserve.git"
-F "variables[STACK_NAME]=earthquake-geoserve"
-F "variables[TARGET_HOSTNAME]=dev01-container01.cr.usgs.gov"
-F "variables[REMOTE_DEPLOY_DIR]=${REMOTE_DEPLOY_DIR}"
https://code.chs.usgs.gov/api/v4/projects/1955/trigger/pipeline'
# use triggers with Jenkins config
# use triggers w/ container master
\ No newline at end of file
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