diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6cd7ae8c82310cecbd52b927e1e344963dadc8a2..f7dd4b0614f43dc9113c3fe9402a0b6ec6c03352 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,11 +30,6 @@ stages: # List of stages for jobs, and their order of execution - build - deploy - cleanup - - -.get_ansible_files: &get_ansible_files - - s3cmd get --force -r --host=$AWS_HOST --host-bucket=$AWS_HOST s3://xdmod-vol/ /tmp - - ls -l /tmp prep-deploy: stage: .pre @@ -44,6 +39,8 @@ prep-deploy: script: - export BUILD_DATE=$(TZ=America/Chicago date +%Y-%m-%dT%H%M%S) - apt-get update && apt-get install -y awscli + - s3cmd get --force -r --host=$AWS_HOST --host-bucket=$AWS_HOST s3://xdmod-vol/ /tmp + - ls -l /tmp - | if [ "$TARGET_ENV" = "dev" ]; then TF_VAR_data_volume="xdmod-dev-volume-$BUILD_DATE"