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

cleanup

parent b95fe4bd
No related branches found
No related tags found
1 merge request!95Add lib directory
...@@ -115,9 +115,6 @@ Build Project: ...@@ -115,9 +115,6 @@ Build Project:
- .gradle - .gradle
- .tags - .tags
stage: test stage: test
only:
- merge_request
- master@ghsc/nshmp/nshmp-lib
script: script:
- ./gradlew assemble; - ./gradlew assemble;
cache: cache:
...@@ -132,9 +129,6 @@ Spotless Check: ...@@ -132,9 +129,6 @@ Spotless Check:
- .gradle - .gradle
- .tags - .tags
stage: test stage: test
only:
- merge_request
- master@ghsc/nshmp/nshmp-lib
script: script:
- ./gradlew spotlessCheck; - ./gradlew spotlessCheck;
...@@ -146,9 +140,6 @@ Spotbugs Main: ...@@ -146,9 +140,6 @@ Spotbugs Main:
- .gradle - .gradle
- .tags - .tags
stage: test stage: test
only:
- merge_request
- master@ghsc/nshmp/nshmp-lib
script: script:
- ./gradlew spotbugsMain; - ./gradlew spotbugsMain;
...@@ -160,9 +151,6 @@ Spotbugs Test: ...@@ -160,9 +151,6 @@ Spotbugs Test:
- .gradle - .gradle
- .tags - .tags
stage: test stage: test
only:
- merge_request
- master@ghsc/nshmp/nshmp-lib
script: script:
- ./gradlew spotbugsTest; - ./gradlew spotbugsTest;
...@@ -179,9 +167,6 @@ Unit Tests: ...@@ -179,9 +167,6 @@ Unit Tests:
- .gradle - .gradle
- .tags - .tags
stage: test stage: test
only:
- merge_request
- master@ghsc/nshmp/nshmp-lib
coverage: '/Total.*?([0-9]{1,3})%/' coverage: '/Total.*?([0-9]{1,3})%/'
script: script:
- ./gradlew check; - ./gradlew check;
...@@ -271,37 +256,3 @@ Add Branch Based Reports: ...@@ -271,37 +256,3 @@ Add Branch Based Reports:
${CI_PROJECT_DIR}/${MERGE_REQUEST_DIR} \ ${CI_PROJECT_DIR}/${MERGE_REQUEST_DIR} \
s3://${DOCS_BUCKET}/${MERGE_REQUEST_KEY}/ \ s3://${DOCS_BUCKET}/${MERGE_REQUEST_KEY}/ \
--recursive; --recursive;
####
# Trigger nshmp-ws pipeline to update nshmp-lib dependency in nshmp-ws Docker image.
#
# Note: This is temporary until nshmp-lib is published.
####
Trigger nshmp-ws:
stage: trigger
image: node:latest
only:
- master@ghsc/nshmp/nshmp-lib
script:
- |
curl -X POST \
-F token=${NSHMP_WS_TRIGGER_TOKEN} \
-F "ref=master" \
https://code.usgs.gov/api/v4/projects/2638/trigger/pipeline
####
# Trigger nshmp-haz-v2 pipeline to update nshmp-lib dependency in nshmp-haz-v2 Docker image.
#
# Note: This is temporary until nshmp-lib is published.
####
Trigger nshmp-haz-v2:
stage: trigger
image: node:latest
only:
- master@ghsc/nshmp/nshmp-lib
script:
- |
curl -X POST \
-F token=${NSHMP_HAZ_V2_TRIGGER_TOKEN} \
-F "ref=master" \
https://code.usgs.gov/api/v4/projects/2148/trigger/pipeline
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