Commit b8c02efa authored by Ferdinand Birk's avatar Ferdinand Birk

use variables for deployment verification

parent e65355b3
Pipeline #2179 failed with stages
in 1 minute and 6 seconds
......@@ -28,9 +28,10 @@ variables:
OS_USERNAME: packer #Please adapt
#OS_PASSWORD: <set password in gitlab repository for security purposes>
#Special Images for the Jobs
#Special for this Project
CI_BUILD_IMAGE: maven:3.5-jdk-7 #For Java
INSTANCE_PORT: "80" # for deployment verification
VERIFICATION_PATH: "/demo.env"
#image with packer, terraform (version > 9.0.0) and consul integrated
......@@ -92,8 +93,6 @@ deploy_integration:
- terraform apply
- terraform output instance_ip > ../../../instance_ip
- export INSTANCE_IP=`cat ../../../instance_ip`
- export INSTANCE_PORT=80
- export VERIFICATION_PATH=/demo.env
- echo $INSTANCE_IP
#Verify deployment, check if service responds to querys
- ./verify_deployment.sh
......@@ -144,8 +143,6 @@ deploy_demo:
- terraform apply
- terraform output instance_ip > ../../../instance_ip
- export INSTANCE_IP=`cat ../../../instance_ip`
- export INSTANCE_PORT=80
- export VERIFICATION_PATH=/demo.env
- echo $INSTANCE_IP
#Verify deployment, check if service responds to querys
- ./verify_deployment.sh
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment