Skip to content
Snippets Groups Projects
Commit f9462df0 authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

Remove hard coded url

parent 97eda8c7
No related branches found
No related tags found
2 merge requests!86Production Release | nshmp-ws-static,!85Resolves - Update for simplified NetCDF Structure
variables:
DATA_CONUS_2018A: conus-2018a
DATA_URL: ${S3_BUCKET}/nshmp_2018a_v1.1-CONUS-hazards-with-preliminary-PGV-fv0.3-1x1.nc
IMAGE_NAME: ${CODE_REGISTRY_IMAGE}/${CI_PROJECT_NAME}:${ENVIRONMENT}-${CI_COMMIT_SHORT_SHA}
JACOCO_HTML_DIR: ${REPORTS_DIR}/jacoco/test/html
JUNIT_FILES: build/test-results/test/TEST-*.xml
REPORTS_DIR: build/reports
# # TODO: Remove hard coded url
# S3_BUCKET: https://nshmp-netcdf-lp-development-rbucket-1of3d1x45yfd9.s3-us-west-2.amazonaws.com
stages:
- build
......@@ -149,19 +145,14 @@ workflow:
# Stage: build
####
Build Image 2018:
# before_script:
# - apk add curl
# - mkdir DATA
# - curl -SL ${DATA_URL} -o DATA/data.nc
Build Image:
extends:
- .docker-build
variables:
DOCKER_BUILD_ARGS: |
BUILD_IMAGE=${DEVOPS_REGISTRY}usgs/java:11
FROM_IMAGE=${DEVOPS_REGISTRY}usgs/java:11
BUILD_IMAGE=${DEVOPS_REGISTRY}usgs/amazoncorretto:11
FROM_IMAGE=${DEVOPS_REGISTRY}usgs/amazoncorretto:11
ci_job_token=${CI_JOB_TOKEN}
netcdf_file=DATA/data.nc
UPSTREAM_PATH: ghsc/nshmp/nshmp-ws-static
Build Project:
......@@ -201,7 +192,7 @@ YAML Lint:
Trigger AWS Deployment:
needs:
- Build Image 2018
- Build Image
rules:
-
<<: *development-env
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment