From 1ddae3c08567033b09c3b9059ea8f92723885177 Mon Sep 17 00:00:00 2001
From: Travis Rivers <trivers@contractor.usgs.gov>
Date: Mon, 17 Aug 2020 10:57:31 -0600
Subject: [PATCH] writeYml and pipeline tags updates

---
 .gitlab-ci.yml          | 5 +++++
 scripts/custom.funcs.sh | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e0b451ea6..1f4325c40 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -105,6 +105,10 @@ variables:
     DATA_PORT: '2060'
     DATA_TYPE: 'edge'
 
+.mage01:
+  tags:
+    - mage01
+
 .staging:
   only:
     - master@ghsc/geomag/geomag-algorithms
@@ -150,5 +154,6 @@ Deploy Mage01:
     - .deploy
     - .staging
     - .mage
+    - .mage01
   variables:
     APP_NAME: geomag-algorithms
diff --git a/scripts/custom.funcs.sh b/scripts/custom.funcs.sh
index 2a9e7f137..9082bc665 100644
--- a/scripts/custom.funcs.sh
+++ b/scripts/custom.funcs.sh
@@ -34,7 +34,7 @@ services:
       - 8000
     environment:
       - BASE_HREF=${BASE_HREF}
-      - DATA_HOST=${DATA_HOST}
+      - DATA_HOST=${TARGET_HOSTNAME}
       - DATA_PORT=${DATA_PORT}
       - DATA_TYPE=${DATA_TYPE}
       - SITE_URL=${SITE_URL}
-- 
GitLab