From 90ba3159cbc94fc0f052d52ba741527f4cbdc11b Mon Sep 17 00:00:00 2001 From: mchyzer <mchyzer@macbook-pro-103.lan> Date: Fri, 29 May 2020 10:55:54 -0400 Subject: [PATCH] use tag to build --- internal/createNew.txt | 2 +- internal/mkstudent.sh | 4 ++++ internal/userdata.sh | 5 +---- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/internal/createNew.txt b/internal/createNew.txt index 3dd48b6..f2518f7 100644 --- a/internal/createNew.txt +++ b/internal/createNew.txt @@ -7,7 +7,7 @@ storage 30gig security group: gte-training tag env training -user data script from https://github.internet2.edu/docker/grouper_training/raw/$GROUPER_GTE_BRANCH/internal/userdata.sh +user data script from https://github.internet2.edu/docker/grouper_training/raw/202006-post/internal/userdata.sh ssh -i gte-training-master.pem ec2-user@3.136.154.33 diff --git a/internal/mkstudent.sh b/internal/mkstudent.sh index 638fd81..e2bd0f8 100644 --- a/internal/mkstudent.sh +++ b/internal/mkstudent.sh @@ -1,5 +1,9 @@ #!/bin/bash +export GROUPER_GTE_BRANCH=GROUPER_BUILD_CLOUD_FORMATION +#export GROUPER_GTE_DOCKER_BRANCH=GROUPER_BUILD_CLOUD_FORMATION +export GROUPER_GTE_DOCKER_BRANCH=202006 + echo "$GROUPER_GTE_BRANCH" > grouperGteBranch.txt chmod a+r grouperGteBranch.txt echo "$GROUPER_GTE_DOCKER_BRANCH" > grouperGteDockerBranch.txt diff --git a/internal/userdata.sh b/internal/userdata.sh index dce3434..a4134dc 100644 --- a/internal/userdata.sh +++ b/internal/userdata.sh @@ -1,11 +1,8 @@ #!/bin/bash -export GROUPER_GTE_BRANCH=202006-post -#export GROUPER_GTE_DOCKER_BRANCH=$GROUPER_GTE_BRANCH -export GROUPER_GTE_DOCKER_BRANCH=202006 yum -y install wget cd /root -wget "https://github.internet2.edu/docker/grouper_training/raw/$GROUPER_GTE_BRANCH/internal/mkstudent.sh" +wget "https://github.internet2.edu/docker/grouper_training/raw/GROUPER_BUILD_CLOUD_FORMATION/internal/mkstudent.sh" chmod +x mkstudent.sh /root/mkstudent.sh