Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nshmp-apps
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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-apps
Commits
82f16679
Commit
82f16679
authored
8 months ago
by
Clayton, Brandon Scott
Browse files
Options
Downloads
Patches
Plain Diff
test
parent
3caf8b77
No related branches found
No related tags found
1 merge request
!446
No NGRX: GMM magnitude
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+22
-22
22 additions, 22 deletions
.gitlab-ci.yml
with
22 additions
and
22 deletions
.gitlab-ci.yml
+
22
−
22
View file @
82f16679
...
...
@@ -2,7 +2,7 @@ variables:
BASE_HREF
:
nshmp
GITLAB_TOKEN
:
'
${CI_JOB_TOKEN}'
IMAGE_NAME
:
${CODE_REGISTRY_IMAGE}/${CI_PROJECT_NAME}:${ENVIRONMENT}-${CI_COMMIT_SHORT_SHA}
NODE_IMAGE
:
${CODE_REGISTRY_IMAGE}/${CI_PROJECT_NAME}:${CI_COMMIT_REF_SLUG}--node
#
NODE_IMAGE: ${CODE_REGISTRY_IMAGE}/${CI_PROJECT_NAME}:${CI_COMMIT_REF_SLUG}--node
UPSTREAM_PATH
:
ghsc/nshmp/nshmp-apps
image
:
${CI_REGISTRY}/devops/images/usgs/node:20
...
...
@@ -150,25 +150,25 @@ Init:
-
npm ci
stage
:
init
Build Node Image
:
image
:
${CI_REGISTRY}/devops/images/docker:20
script
:
-
|
docker build \
--build-arg FROM_IMAGE=${CI_REGISTRY}/devops/images/usgs/node:20 \
--file ".gitlab/Dockerfile" \
--pull \
--tag ${NODE_IMAGE} \
.
-
docker push ${NODE_IMAGE}
services
:
-
alias
:
docker
name
:
${CI_REGISTRY}/devops/images/docker:20-dind
stage
:
init
tags
:
-
build
variables
:
DOCKER_DRIVER
:
overlay2
#
Build Node Image:
#
image: ${CI_REGISTRY}/devops/images/docker:20
#
script:
#
- |
#
docker build \
#
--build-arg FROM_IMAGE=${CI_REGISTRY}/devops/images/usgs/node:20 \
#
--file ".gitlab/Dockerfile" \
#
--pull \
#
--tag ${NODE_IMAGE} \
#
.
#
- docker push ${NODE_IMAGE}
#
services:
#
- alias: docker
#
name: ${CI_REGISTRY}/devops/images/docker:20-dind
#
stage: init
#
tags:
#
- build
#
variables:
#
DOCKER_DRIVER: overlay2
####
# Stage: Build
...
...
@@ -179,8 +179,8 @@ Build Project:
paths
:
-
dist
before_script
:
-
git config --global --add safe.directory '*'
image
:
${NODE_IMAGE}
#
- git config --global --add safe.directory '*'
#
image: ${NODE_IMAGE}
needs
:
-
Init
-
Build Node Image
...
...
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