diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 208c5e09d13a3beafcfa85f35d83affa37dafa00..5431e38862c8b1d7dbc3be18439af64988d5ec29 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -115,9 +115,6 @@ Build Project: - .gradle - .tags stage: test - only: - - merge_request - - master@ghsc/nshmp/nshmp-lib script: - ./gradlew assemble; cache: @@ -132,9 +129,6 @@ Spotless Check: - .gradle - .tags stage: test - only: - - merge_request - - master@ghsc/nshmp/nshmp-lib script: - ./gradlew spotlessCheck; @@ -146,9 +140,6 @@ Spotbugs Main: - .gradle - .tags stage: test - only: - - merge_request - - master@ghsc/nshmp/nshmp-lib script: - ./gradlew spotbugsMain; @@ -160,9 +151,6 @@ Spotbugs Test: - .gradle - .tags stage: test - only: - - merge_request - - master@ghsc/nshmp/nshmp-lib script: - ./gradlew spotbugsTest; @@ -179,9 +167,6 @@ Unit Tests: - .gradle - .tags stage: test - only: - - merge_request - - master@ghsc/nshmp/nshmp-lib coverage: '/Total.*?([0-9]{1,3})%/' script: - ./gradlew check; @@ -271,37 +256,3 @@ Add Branch Based Reports: ${CI_PROJECT_DIR}/${MERGE_REQUEST_DIR} \ s3://${DOCS_BUCKET}/${MERGE_REQUEST_KEY}/ \ --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