From 64657a5a9cdf7bb2ced387a3dcba7a036f182047 Mon Sep 17 00:00:00 2001 From: Brandon Clayton <bclayton@usgs.gov> Date: Tue, 21 Dec 2021 12:49:53 -0700 Subject: [PATCH] remove data --- .gitlab-ci.yml | 12 ++++++------ Dockerfile | 9 +-------- 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8057fab..ee22930 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,8 +5,8 @@ variables: 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 + # # TODO: Remove hard coded url + # S3_BUCKET: https://nshmp-netcdf-lp-development-rbucket-1of3d1x45yfd9.s3-us-west-2.amazonaws.com stages: - build @@ -150,10 +150,10 @@ workflow: #### Build Image 2018: - before_script: - - apk add curl - - mkdir DATA - - curl -SL ${DATA_URL} -o DATA/data.nc + # before_script: + # - apk add curl + # - mkdir DATA + # - curl -SL ${DATA_URL} -o DATA/data.nc extends: - .docker-build variables: diff --git a/Dockerfile b/Dockerfile index 17caddf..8a2638a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,14 +30,7 @@ ENV CI_JOB_TOKEN ${ci_job_token} WORKDIR ${workdir} -COPY build.gradle . -COPY .git .git -COPY gradle gradle -COPY gradle.properties . -COPY gradlew . -COPY settings.gradle . -COPY src src -COPY openapi.properties . +COPY . . RUN ./gradlew assemble \ && mv ${libs_dir}/*-all.jar ${jar_file} -- GitLab