Skip to content
Snippets Groups Projects
Commit ad143dbd authored by Rivers, Travis (Contractor) Creighton's avatar Rivers, Travis (Contractor) Creighton
Browse files

custom func config and pipeline variable updates

parent e82166b7
No related branches found
No related tags found
1 merge request!10Mage deploy
...@@ -96,6 +96,8 @@ variables: ...@@ -96,6 +96,8 @@ variables:
tags: tags:
- deploy - deploy
- swarm - swarm
variables:
APP_NAME: geomag-algorithms
.mage: .mage:
variables: variables:
...@@ -148,3 +150,5 @@ Deploy Mage01: ...@@ -148,3 +150,5 @@ Deploy Mage01:
- .deploy - .deploy
- .staging - .staging
- .mage - .mage
variables:
APP_NAME: geomag-algorithms
...@@ -11,7 +11,6 @@ preStackDeployHook () { ...@@ -11,7 +11,6 @@ preStackDeployHook () {
## ##
writeYmlFile () { writeYmlFile () {
local ymlFileName="${APP_NAME}.yml"; local ymlFileName="${APP_NAME}.yml";
local configName="assets-$(date +%H%M%S)-$$";
cat <<-EO_YML > ${ymlFileName} cat <<-EO_YML > ${ymlFileName}
version: "3.5" version: "3.5"
...@@ -32,14 +31,12 @@ services: ...@@ -32,14 +31,12 @@ services:
order: start-first order: start-first
parallelism: 3 parallelism: 3
ports: ports:
- 8000:8000 - 8000
environment: environment:
- BASE_HREF=${BASE_HREF} - BASE_HREF=${BASE_HREF}
- DATA_HOST=${DATA_HOST} - DATA_HOST=${DATA_HOST}
- DATA_PORT=${DATA_PORT} - DATA_PORT=${DATA_PORT}
- DATA_TYPE=${DATA_TYPE} - DATA_TYPE=${DATA_TYPE}
- SITE_URL=${SITE_URL} - SITE_URL=${SITE_URL}
configs:
- source: ${configName}
EO_YML EO_YML
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment