Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Extend example deployment scripts with possibility to deploy multiple jobs #29

Open
junajan opened this issue Jul 11, 2018 · 0 comments

Comments

@junajan
Copy link
Contributor

junajan commented Jul 11, 2018

In the Travis example scripts we have a file gcloud-deploy.sh which is currently able to deploy only one job.

The name of this job is taken from env variable HELM_CHART_TEMPLATE_NAME configured here in travis.yaml.

It would be cool if we can extend the script so it can deploy multiple services or to accept the job name via parameter so we can call it like this:

bash $CI_SCRIPTS/gcloud-deploy.sh "production" job1
bash $CI_SCRIPTS/gcloud-deploy.sh "production" job2

Instead of this:

HELM_CHART_TEMPLATE_NAME=cronjob_1 bash $CI_SCRIPTS/gcloud-deploy.sh "production"
HELM_CHART_TEMPLATE_NAME=cronjob_2 bash $CI_SCRIPTS/gcloud-deploy.sh "production"
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant