Skip to content
Snippets Groups Projects

Nestor/deploy with template single script

Merged Nestor Arocha Rodriguez requested to merge nestor/deploy_with_template_single_script into master
Files
2
.deploy-template:
stage: deploy
before_script:
- curl https://git.iwoca.co.uk/devops/ci/raw/4.0.9/scripts/deploy.sh > deploy.sh
- curl https://git.iwoca.co.uk/devops/ci/raw/4.0.22/scripts/deploy.sh > deploy.sh
- chmod +x deploy.sh
script:
- eval VARIABLE="${VARIABLE}" # evaluate variable used in job definition
@@ -11,3 +11,16 @@
only:
refs:
- master
.docker-deploy-template:
extends: .deploy-template
variables:
DEVOPS_CI_REGISTRY_IMAGE: "git.iwoca.co.uk:4567/devops/ci/"
RELEASE: 4.0.22
image: ${DEVOPS_CI_REGISTRY_IMAGE}iwoca-terragrunt/${TERRAFORM_VERSION}:${RELEASE}
before_script:
- source /apps/configure-ssh.sh
- mv /apps/deploy.sh .
tags:
- docker-deploy
Loading