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:
tags:
- deploy
- swarm
variables:
APP_NAME: geomag-algorithms
.mage:
variables:
......@@ -148,3 +150,5 @@ Deploy Mage01:
- .deploy
- .staging
- .mage
variables:
APP_NAME: geomag-algorithms
......@@ -11,7 +11,6 @@ preStackDeployHook () {
##
writeYmlFile () {
local ymlFileName="${APP_NAME}.yml";
local configName="assets-$(date +%H%M%S)-$$";
cat <<-EO_YML > ${ymlFileName}
version: "3.5"
......@@ -32,14 +31,12 @@ services:
order: start-first
parallelism: 3
ports:
- 8000:8000
- 8000
environment:
- BASE_HREF=${BASE_HREF}
- DATA_HOST=${DATA_HOST}
- DATA_PORT=${DATA_PORT}
- DATA_TYPE=${DATA_TYPE}
- SITE_URL=${SITE_URL}
configs:
- source: ${configName}
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