changeset 302:15d0cffd9980 production v2.5.0

flow: Merged <release> 'v2.5.0' to <master> ('production').
author smith@nwoca.org
date Wed, 01 May 2019 15:33:00 +0100
parents a49f7cad8899 (current diff) 108e4913cd81 (diff)
children 5d759b614c90
files scripts/remote-backup-all.sh scripts/remote-backup.sh
diffstat 5 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/bamboo-agent/Dockerfile	Thu Dec 27 00:06:14 2018 +0000
+++ b/bamboo-agent/Dockerfile	Wed May 01 15:33:00 2019 +0100
@@ -47,6 +47,14 @@
 ENV ANT_HOME /opt/ant
 ENV PATH ${PATH}:/opt/ant/bin
 
+
+RUN cd && \
+    curl -fL -o apache-maven-bin.tar.gz http://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.0.3/apache-maven-3.0.3-bin.tar.gz  && \
+    tar -xzf apache-maven-bin.tar.gz && \
+     mv apache-maven-3.0.3 /usr/share  && \
+    rm apache-maven-bin.tar.gz
+ENV PATH ${PATH}:/usr/share/apache-maven-3.0.3/bin
+
 RUN curl -fL -o docker.tgz "https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_VERSION}.tgz"; 
 RUN	tar --extract \
 		--file docker.tgz \
--- a/prod/training.yml	Thu Dec 27 00:06:14 2018 +0000
+++ b/prod/training.yml	Wed May 01 15:33:00 2019 +0100
@@ -24,6 +24,7 @@
         aliases:
         - ${USAS_APP_HOST:-usasapp-svr}
     environment:
+      - APPLICATION_INSTANCE_TYPE=Training
       - APPLICATION_ADMIN_PASSWORD=training
       - APPLICATION_ADMIN_RESET=true
       - DB_HOST=usasdb
@@ -59,6 +60,7 @@
         aliases:
         - ${USPS_APP_HOST:-uspsapp-svr}
     environment:
+      - APPLICATION_INSTANCE_TYPE=Training
       - APPLICATION_ADMIN_PASSWORD=training
       - APPLICATION_ADMIN_RESET=true
       - DB_HOST=uspsdb
--- a/prod/usas-services.yml	Thu Dec 27 00:06:14 2018 +0000
+++ b/prod/usas-services.yml	Wed May 01 15:33:00 2019 +0100
@@ -25,6 +25,7 @@
       - DB_PASS=${USAS_DB_PASSWORD:-usasdefault}
       - DB_POOL_LEAKDETECTIONTHRESHOLD=300000
       - SSL_POLICY=${SSL_POLICY:-Mozilla-Modern}
+      - APPLICATION_INSTANCE_TYPE=${APPLICATION_INSTANCE_TYPE:-Production}
       - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_CLIENTHOST=${USPS_APP_HOST:-uspsapp-svr}
       - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_CLIENTDNSLOOKUP=true
       - USAS_MODULE_USPSINTEGRATION_CONFIGURATION_USPSCONFIGURATION_SERVERHOST=0.0.0.0
--- a/prod/usps-services.yml	Thu Dec 27 00:06:14 2018 +0000
+++ b/prod/usps-services.yml	Wed May 01 15:33:00 2019 +0100
@@ -25,6 +25,7 @@
       - DB_PASS=${USPS_DB_PASSWORD:-uspsdefault}
       - DB_POOL_LEAKDETECTIONTHRESHOLD=300000
       - SSL_POLICY=${SSL_POLICY:-Mozilla-Modern}
+      - APPLICATION_INSTANCE_TYPE=${APPLICATION_INSTANCE_TYPE:-Production}
       - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_CLIENTHOST=${USAS_APP_HOST:-usasapp-svr}
       - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_CLIENTDNSLOOKUP=true
       - USPS_MODULE_USASINTEGRATION_CONFIGURATION_USASCONFIGURATION_SERVERHOST=0.0.0.0
--- a/scripts/restore-container.sh	Thu Dec 27 00:06:14 2018 +0000
+++ b/scripts/restore-container.sh	Wed May 01 15:33:00 2019 +0100
@@ -17,6 +17,7 @@
 
 target=$(basename $1)
 target=${target%%.*}
+target=${target#*-}
 
 project=$(composeGetProject $target)