feat: Update drone pipeline and remove items from the repo #39

Merged
WillDaPope merged 28 commits from development into master 2022-05-30 19:04:53 -04:00
Showing only changes of commit 30bb13f989 - Show all commits

View File

@ -1,20 +1,20 @@
# 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 happens on commit and merge on `master` branch. It is automatically handled by [DroneCI](https://drone.sp-tarkov.com/SPT-AKI/Website) and Ansible.
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:
## Deployment flow
On `development` and feature branches, the deployment flow is:
- 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:
On `master`, the deployment flow is:
- Cloning the project
- Replacing values for ansible inventory file using DroneCI secrets
- Checking the playbook syntax