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
c3776fee
Commit
c3776fee
authored
1 year ago
by
Clayton, Brandon Scott
Browse files
Options
Downloads
Patches
Plain Diff
change to single stage
parent
2f5ce99c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
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
+23
-56
23 additions, 56 deletions
.gitlab-ci.yml
with
23 additions
and
56 deletions
.gitlab-ci.yml
+
23
−
56
View file @
c3776fee
...
@@ -226,15 +226,7 @@ Markdown Lint:
...
@@ -226,15 +226,7 @@ Markdown Lint:
-
./gradlew markdownlint
-
./gradlew markdownlint
stage
:
test
stage
:
test
YAML Lint
:
NSHM Test
:
allow_failure
:
true
needs
:
[]
script
:
-
./gradlew nodeInstall
-
./gradlew yamllint
stage
:
test
Unit Tests
:
artifacts
:
artifacts
:
paths
:
paths
:
-
${JACOCO_HTML_DIR}
-
${JACOCO_HTML_DIR}
...
@@ -242,16 +234,30 @@ Unit Tests:
...
@@ -242,16 +234,30 @@ Unit Tests:
junit
:
${JUNIT_FILES}
junit
:
${JUNIT_FILES}
coverage
:
'
/Total.*?([0-9]{1,3})%/'
coverage
:
'
/Total.*?([0-9]{1,3})%/'
needs
:
[]
needs
:
[]
parallel
:
matrix
:
-
NSHM
:
Alaska2007
-
NSHM
:
Alaska2023
-
NSHM
:
Conus2018
-
NSHM
:
Conus2023
-
NSHM
:
Hawaii2021
script
:
script
:
-
./gradlew check
-
CI_RUNNER_MEMORY="$(awk '/MemTotal/ {printf( "%d\n", $2 / 1024 / 1024 * .90 )}' /proc/meminfo)g"
-
export CI_RUNNER_MEMORY
-
./gradlew generate${NSHM} --info
-
./gradlew test${NSHM} --info
-
cat ${JACOCO_HTML_DIR}/index.html
-
cat ${JACOCO_HTML_DIR}/index.html
stage
:
test
stage
:
test
####
YAML Lint
:
# NSHMS Tests
allow_failure
:
true
####
needs
:
[]
script
:
-
./gradlew nodeInstall
-
./gradlew yamllint
stage
:
test
.nshm-t
est
:
Unit T
est
s
:
artifacts
:
artifacts
:
paths
:
paths
:
-
${JACOCO_HTML_DIR}
-
${JACOCO_HTML_DIR}
...
@@ -259,49 +265,10 @@ Unit Tests:
...
@@ -259,49 +265,10 @@ Unit Tests:
junit
:
${JUNIT_FILES}
junit
:
${JUNIT_FILES}
coverage
:
'
/Total.*?([0-9]{1,3})%/'
coverage
:
'
/Total.*?([0-9]{1,3})%/'
needs
:
[]
needs
:
[]
before_script
:
-
CI_RUNNER_MEMORY="$(awk '/MemTotal/ {printf( "%d\n", $2 / 1024 / 1024 * .90 )}' /proc/meminfo)g"
-
export CI_RUNNER_MEMORY
-
./gradlew ${CMD} --info
after_script
:
-
cat ${JACOCO_HTML_DIR}/index.html
Alaska 2007 NSHM Test
:
extends
:
-
.nshm-test
script
:
-
./gradlew testAlaska2007 --info
stage
:
alaska-test
Alaska 2023 NSHM Test
:
extends
:
-
.nshm-test
script
:
-
./gradlew testAlaska2023 --info
stage
:
alaska-test
CONUS 2018 NSHM Test
:
extends
:
-
.nshm-test
script
:
-
./gradlew generateConus2018 --info
-
./gradlew testConus2018 --info
stage
:
conus-test
CONUS 2023 NSHM Test
:
extends
:
-
.nshm-test
script
:
script
:
-
./gradlew generateConus2023 --info
-
./gradlew check
-
./gradlew testConus2023 --info
-
cat ${JACOCO_HTML_DIR}/index.html
stage
:
conus-test
stage
:
test
Hawaii 2021 NSHM Test
:
extends
:
-
.nshm-test
script
:
-
./gradlew testHawaii2021 --info
stage
:
hawaii-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