Maintenance scheduled for Thursday, January 27th at 15:00 MST. Expected downtime <1 hour.

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

test export

parent 52512154
Pipeline #869 failed with stages
in 18 seconds
......@@ -96,6 +96,7 @@ build:
- rm package-lock.json
script:
- echo "Building..."
- export APP*
# # build a local directory to be used later for testing or deploying
# - mkdir docker-images
......@@ -208,39 +209,39 @@ build:
trigger deploy:
stage: trigger_deploy
trigger: jmalin/container-deploy
variables:
BUILD_ID: '$BUILD_ID'
BUILD_TEST_1: '$$BUILD_ID'
BUILD_TEST_2: '${BUILD_ID}'
BUILD_TEST_3: '$${BUILD_ID}'
BUILD_TEST_4: '{$BUILD_ID}'
BUILD_TEST_5: $BUILD_ID
BUILD_TEST_6: $$BUILD_ID
BUILD_TEST_7: ${BUILD_ID}
BUILD_TEST_8: $${BUILD_ID}
# image: node:latest
# when: manual
# only:
# - 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'
# trigger: ghsc/hazdev/container-deploy
# variables:
# BUILD_ID: '$BUILD_ID'
# BUILD_TEST_1: '$$BUILD_ID'
# BUILD_TEST_2: '${BUILD_ID}'
# BUILD_TEST_3: '$${BUILD_ID}'
# BUILD_TEST_4: '{$BUILD_ID}'
# BUILD_TEST_5: $BUILD_ID
# BUILD_TEST_6: $$BUILD_ID
# BUILD_TEST_7: ${BUILD_ID}
# BUILD_TEST_8: $${BUILD_ID}
image: node:latest
when: manual
only:
- 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'
# use triggers with Jenkins config
# use triggers w/ container master
\ No newline at end of file
Markdown is supported
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