From 06e2759c166288c6e1f6b457e0730104af52c932 Mon Sep 17 00:00:00 2001
From: Jeremy M Fee <jmfee@usgs.gov>
Date: Tue, 20 Oct 2020 16:20:41 +0000
Subject: [PATCH] Rename deploy jobs, update deploy directory and prefix.

---
 .gitlab-ci.yml | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9267e8cb..28e96fe8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -117,8 +117,8 @@ variables:
     - git pull --ff-only "${CI_REPOSITORY_URL}" "${CI_COMMIT_REF_NAME}";
   stage: deploy
   variables:
-    APP_DEPLOY_DIR: '/home/geomag_user/geomag-algorithms'
-    REQUIRED_PREFIX: '/home/geomag_user/geomag-algorithms'
+    APP_DEPLOY_DIR: '/geomag/geomag-algorithms'
+    REQUIRED_PREFIX: '/geomag'
     CI_REPOSITORY_URL: 'https://code.usgs.gov/ghsc/geomag/geomag-algorithms'
 
 
@@ -206,9 +206,9 @@ Scan Docker Image:
 # Deploy Stage
 ## --------------------------------------------------
 
-Deploy Mage01:
+Deploy Mage01 Library:
   extends:
-    - .deploy
+    - .deploy-library
     - .staging
   tags:
     - deploy
@@ -217,9 +217,9 @@ Deploy Mage01:
   variables:
     APP_NAME: geomag-algorithms
 
-Deploy Library Mage01:
+Deploy Mage01 Web Service:
   extends:
-    - .deploy-library
+    - .deploy
     - .staging
   tags:
     - deploy
@@ -228,7 +228,7 @@ Deploy Library Mage01:
   variables:
     APP_NAME: geomag-algorithms
 
-Deploy Mage02:
+Deploy Mage02 Web Service:
   extends:
     - .deploy
     - .production
@@ -239,7 +239,7 @@ Deploy Mage02:
   variables:
     APP_NAME: geomag-algorithms
 
-Deploy Algorithms Production01:
+Deploy Production01 Web Service:
   extends:
     - .deploy
     - .production
@@ -250,7 +250,7 @@ Deploy Algorithms Production01:
   variables:
     APP_NAME: geomag-algorithms
 
-Deploy Algorithms Production02:
+Deploy Production02 Web Service:
   extends:
     - .deploy
     - .production
@@ -261,7 +261,7 @@ Deploy Algorithms Production02:
   variables:
     APP_NAME: geomag-algorithms
 
-Deploy Algorithms Staging01:
+Deploy Staging01 Web Service:
   extends:
     - .deploy
     - .staging
@@ -272,7 +272,7 @@ Deploy Algorithms Staging01:
   variables:
     APP_NAME: geomag-algorithms
 
-Deploy Algorithms Staging02:
+Deploy Staging02 Web Service:
   extends:
     - .deploy
     - .staging
-- 
GitLab