I am using Auto DevOps template with custom deployment jobs.
For development and staging environment tiers I have written the following script :
review:
stage: review
script:
- *configure-kubectl
- *custom-resources
- *update-jupyterhub
staging:
stage: staging
script:
- *configure-kubectl
- *custom-resources
- *update-jupyterhub
And it works well. The default Auto DevOps job is overridden by my custom script.
However, it does not work the same for production. When defining this :
production:
stage: production
when: manual
script:
- *configure-kubectl
- *custom-resources
- *update-jupyterhub
Giltab runs the Auto DevOps script instead of mine.