Commit 8668ecea authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

fix: declare all TBC stages

parent 7c4073c9
Loading
Loading
Loading
Loading
+0 −18
Original line number Diff line number Diff line
@@ -395,11 +395,6 @@ variables:
  # Production
  ANSIBLE_PROD_INVENTORY: "production.ini"
  ANSIBLE_PROD_PLAYBOOK_FILE: "main.yml" 

stages:
  - build
  - deploy
  - production
```

Don't forget to add `$ANSIBLE_VAULT_PASSWORD` & `$ANSIBLE_PRIVATE_KEY` in Gitlab secret variables.
@@ -476,14 +471,6 @@ variables:
  # Production
  ANSIBLE_PROD_INVENTORY: "production.ini"
  ANSIBLE_PROD_PLAYBOOK_FILE: "main.yml"  
  
stages:
  - build
  - package-build
  - package-test
  - deploy
  - publish
  - production
```

By default, the docker template will push the image in the Gitlab docker registry. Please visit, the docker template page to get more information on [Docker Template](https://gitlab.com//to-be-continuous/docker)
@@ -521,11 +508,6 @@ variables:
  # Production
  ANSIBLE_PROD_INVENTORY: "/home/ansible/playbook/production.ini"
  ANSIBLE_PROD_PLAYBOOK_FILE: "/home/ansible/playbook/main.yml" 
  
stages:
  - build
  - deploy
  - production
```

## Variants
+7 −0
Original line number Diff line number Diff line
@@ -121,7 +121,14 @@ variables:

stages:
  - build
  - test
  - package-build
  - package-test
  - infra
  - deploy
  - acceptance
  - publish
  - infra-prod
  - production

.ansible-scripts: &ansible-scripts |