From e89503da74b2b41a8a123da4ed837c916cbe946d Mon Sep 17 00:00:00 2001 From: Mangiang Date: Sun, 29 May 2022 00:06:10 -0400 Subject: [PATCH] docs: enhance documentation --- .ansible/README.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.ansible/README.md b/.ansible/README.md index ba5e92a..7f0c96b 100644 --- a/.ansible/README.md +++ b/.ansible/README.md @@ -1,19 +1,26 @@ # Website Deployment + The deployment happens on commit and merge on `master` branch and it is handled by [DroneCI](https://drone.sp-tarkov.com/SPT-AKI/Website) and Ansible. ## Deployment flow + +The deployment pipeline lives in: +- [.drone-docker.yml](../.drone-docker.yml) for the official [DroneCI](https://drone.sp-tarkov.com/SPT-AKI/Website) +- [.drone-kubernetes.yml](../.drone-kubernetes.yml) for anyone testing this on a DroneCI in Kubernetes + On development and feature branches, the deployment flow is: -- cloning the project -- replacing values for ansible inventory file using DroneCI secrets +- Cloning the project +- Replacing values for ansible inventory file using DroneCI secrets - Checking the playbook syntax - Running the playbook in dry-run mode On master, the deployment flow is: -- cloning the project -- replacing values for ansible inventory file using DroneCI secrets +- Cloning the project +- Replacing values for ansible inventory file using DroneCI secrets - Checking the playbook syntax - Running the playbook in dry-run mode - Executing the playbook ## The playbook + It has only one instruction: Go to the directory in the server and `git pull` to update everything. \ No newline at end of file