diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8057fab4fca97805b696adcdfc27330701b03707..ee22930a0ef1d2fee174320517180581b44c3a2a 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 17caddf098076e3f772b3b0f6c082fd2168ae12f..8a2638ae2acddf9fc40fb00655f32c69414ca118 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}