Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

WIP: This will be improved upon to be platform-aware but the devops jobs will be automatically updated when that happens

Creating new stack

  1. Check out TIS-DEVOPS
  2. Create a new directory under docker/stacks/:stack_name
  3. 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


  4. Create a Jinja template under ansible/roles/docker_compose/templates/:stack_name.env.j2

  5. Commit and push your changes to Github.
  6. Create a deploy job in Jenkins by copying the 'revalidation-dev-deploy' job and changing the export STACK=revalidation to match your stack name.
  • No labels