WIP: This will be improved upon to be platform-aware but the devops jobs will be automatically updated when that happens
Creating new stack
- Check out TIS-DEVOPS
- Create a new directory under docker/stacks/:stack_name
- Add a docker-compose.yml in that new directory. If your application needs environment variables then use an env_file section, i.e.
env_file:
- ./:stack_name.env Create a Jinja template under ansible/roles/docker_compose/templates/:stack_name.env.j2
- Create a deploy job in Jenkins by copying the 'revalidation-dev-deploy' job and changing the export STACK=revalidation to match your stack name.
Add Comment