Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nshmp-haz
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ghsc
National Seismic Hazard Model Project
nshmp-haz
Commits
62302092
Commit
62302092
authored
1 year ago
by
Clayton, Brandon Scott
Browse files
Options
Downloads
Patches
Plain Diff
add stages
parent
8ec53357
No related branches found
No related tags found
2 merge requests
!755
Production Release | nshmp-haz
,
!754
NSHM Unit tests
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+33
-22
33 additions, 22 deletions
.gitlab-ci.yml
with
33 additions
and
22 deletions
.gitlab-ci.yml
+
33
−
22
View file @
62302092
...
@@ -15,6 +15,9 @@ workflow:
...
@@ -15,6 +15,9 @@ workflow:
stages
:
stages
:
-
build
-
build
-
test
-
test
-
alaska-test
-
conus-test
-
hawaii-test
-
trigger
-
trigger
default
:
default
:
...
@@ -223,6 +226,31 @@ Markdown Lint:
...
@@ -223,6 +226,31 @@ Markdown Lint:
-
./gradlew markdownlint
-
./gradlew markdownlint
stage
:
test
stage
:
test
YAML Lint
:
allow_failure
:
true
needs
:
[]
script
:
-
./gradlew nodeInstall
-
./gradlew yamllint
stage
:
test
Unit Tests
:
artifacts
:
paths
:
-
${JACOCO_HTML_DIR}
reports
:
junit
:
${JUNIT_FILES}
coverage
:
'
/Total.*?([0-9]{1,3})%/'
needs
:
[]
script
:
-
./gradlew check
-
cat ${JACOCO_HTML_DIR}/index.html
stage
:
test
####
# NSHMS Tests
####
.nshm-test
:
.nshm-test
:
artifacts
:
artifacts
:
paths
:
paths
:
...
@@ -237,7 +265,6 @@ Markdown Lint:
...
@@ -237,7 +265,6 @@ Markdown Lint:
-
./gradlew ${CMD} --info
-
./gradlew ${CMD} --info
after_script
:
after_script
:
-
cat ${JACOCO_HTML_DIR}/index.html
-
cat ${JACOCO_HTML_DIR}/index.html
stage
:
test
.alaska-sites
:
&alaska-sites
.alaska-sites
:
&alaska-sites
-
TEST_SITE
:
ANCHORAGE_AK
-
TEST_SITE
:
ANCHORAGE_AK
...
@@ -251,6 +278,7 @@ Alaska 2007 NSHM Test:
...
@@ -251,6 +278,7 @@ Alaska 2007 NSHM Test:
-
.nshm-test
-
.nshm-test
script
:
script
:
-
./gradlew testAlaska2007 --info
-
./gradlew testAlaska2007 --info
stage
:
alaska-test
Alaska 2023 NSHM Test
:
Alaska 2023 NSHM Test
:
extends
:
extends
:
...
@@ -260,6 +288,7 @@ Alaska 2023 NSHM Test:
...
@@ -260,6 +288,7 @@ Alaska 2023 NSHM Test:
*alaska-sites
*alaska-sites
script
:
script
:
-
./gradlew testAlaska2023 -DTEST_SITE=${TEST_SITE} --info
-
./gradlew testAlaska2023 -DTEST_SITE=${TEST_SITE} --info
stage
:
alaska-test
.conus-sites
:
&conus-sites
.conus-sites
:
&conus-sites
-
TEST_SITE
:
LOS_ANGELES_CA
-
TEST_SITE
:
LOS_ANGELES_CA
...
@@ -280,6 +309,7 @@ CONUS 2018 NSHM Test:
...
@@ -280,6 +309,7 @@ CONUS 2018 NSHM Test:
*conus-sites
*conus-sites
script
:
script
:
-
./gradlew testConus2018 -DTEST_SITE=${TEST_SITE} --info
-
./gradlew testConus2018 -DTEST_SITE=${TEST_SITE} --info
stage
:
conus-test
CONUS 2023 NSHM Test
:
CONUS 2023 NSHM Test
:
extends
:
extends
:
...
@@ -289,33 +319,14 @@ CONUS 2023 NSHM Test:
...
@@ -289,33 +319,14 @@ CONUS 2023 NSHM Test:
*conus-sites
*conus-sites
script
:
script
:
-
./gradlew testConus2023 -DTEST_SITE=${TEST_SITE} --info
-
./gradlew testConus2023 -DTEST_SITE=${TEST_SITE} --info
stage
:
conus-test
Hawaii 2021 NSHM Test
:
Hawaii 2021 NSHM Test
:
extends
:
extends
:
-
.nshm-test
-
.nshm-test
script
:
script
:
-
./gradlew testHawaii2021 --info
-
./gradlew testHawaii2021 --info
stage
:
hawaii-test
YAML Lint
:
allow_failure
:
true
needs
:
[]
script
:
-
./gradlew nodeInstall
-
./gradlew yamllint
stage
:
test
Unit Tests
:
artifacts
:
paths
:
-
${JACOCO_HTML_DIR}
reports
:
junit
:
${JUNIT_FILES}
coverage
:
'
/Total.*?([0-9]{1,3})%/'
needs
:
[]
script
:
-
./gradlew check
-
cat ${JACOCO_HTML_DIR}/index.html
stage
:
test
####
####
# Stage: trigger
# Stage: trigger
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment