From a30298e43a6236b5153c32e1ae4e6ed4412582a2 Mon Sep 17 00:00:00 2001 From: SPT-dev Date: Thu, 2 Mar 2023 21:25:09 -0500 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