Skip to content
Snippets Groups Projects

geomag tag added to jobs

1 file
+ 5
0
Compare changes
  • Side-by-side
  • Inline
+ 5
0
@@ -50,6 +50,7 @@ workflow:
tags:
- deploy
- swarm
- geomag #ensures we use geomag-specific- deploy, swarm tagged runners
# these variables are defined in Gitlab, or set in scripts/custom.config.sh
# variables:
# DATABASE_URL
@@ -87,6 +88,7 @@ workflow:
tags:
- deploy
- swarm
- geomag #ensures we use geomag-specific- deploy, swarm tagged runners
variables:
APP_DEPLOY_DIR: "/geomag/geomag-algorithms"
REQUIRED_PREFIX: "/geomag"
@@ -183,6 +185,7 @@ Test:
tags:
- deploy
- swarm
- geomag #ensures we use geomag-specific- deploy, swarm tagged runners
## --------------------------------------------------
# Integration Stage
@@ -216,6 +219,7 @@ Build Docker Image:
# append user auth from variable into config folder
- echo $DOCKER_AUTH_CONFIG > $HOME/.docker/config.json
## push image to user or project registries
- echo "$CI_REGISTRY_PASSWORD" | docker login $CI_REGISTRY -u $CI_REGISTRY_USER --password-stdin
- docker tag "${LOCAL_IMAGE}" "${PROJECT_IMAGE_NAME}";
- docker push "${PROJECT_IMAGE_NAME}";
@@ -223,6 +227,7 @@ Build Docker Image:
tags:
# TODO: refactor to separate build/publish steps
- deploy
- geomag #ensures we use geomag-specific- deploy tagged runners
variables:
APP_NAME: geomag-algorithms
FROM_IMAGE: code.usgs.gov:5001/devops/images/usgs/python:3.10-obspy
Loading