Allow to specify variables for a job in gitlab-ci.yaml
Looking on documentation http://doc.gitlab.com/ce/ci/yaml/README.html allow you to specify variables
for whole gitlab-ci. But honestly I see 0 value of using it for the whole build, I would much prefer to have it per job, something like example below (this will allow you to configure your scripts)
variables:
DESTINATION=""
staging:
scripts:
- ./deploy-stuff.sh
variables:
DESTINATION=my-staging-server.example.com
production:
scripts:
- ./deploy-stuff.sh
variables:
DESTINATION=my-production-server.example.com
Edited by Service Account - security-triage