Resolve "Use CI to deploy to cluster"
Add CI/CD: round 1
Modify the default AutoDevOps template .gitlab-ci.yml
to the needs of this project.
- Added DNS lookup of
fetch-ip.$CI_ENVIRONMENT_REF_SLUG.$AUTO_DEVOPS_DOMAIN
to get/find theloadBalancerIP
for the NGINX chart. - Altered the deployment to use
.
path, commented outdownload_chart
calls. This project is self-contained ... at the moment. - Set
POSTGRES_ENABLED
to defaultfalse
vstrue
- Set all needed chart options via the
helm
call infunction deploy()
of.auto_devops
- Deploys into
gitlab-$CI_ENVIRONMENT_REF_SLUG.$AUTO_DEVOPS_DOMAIN
Currently:
-
production
will end up withgitlab.$AUTO_DEVOPS_DOMAIN
-
staging
is capable, but not activated.gitlab-staging.$AUTO_DEVOPS_DOMAIN
- Review apps are functional at
gitlab-$CI_ENVIRONMENT_REF_SLUG.$AUTO_DEVOPS_DOMAIN
- There are no tests against the deployed charts
Closes #5 (closed)
Edited by Jason Plum