2021-12-06 02:40:04 +00:00
|
|
|
# Back-end technical writer assessment
|
2021-12-05 19:30:04 +00:00
|
|
|
|
2021-12-06 02:40:04 +00:00
|
|
|
## Proposed tutorial series: Setting up a web application with CI/CD with Gitea and Drone
|
2021-12-06 02:05:04 +00:00
|
|
|
|
|
|
|
### Tutorials
|
|
|
|
|
2021-12-06 02:40:04 +00:00
|
|
|
1. Installing Gitea:
|
|
|
|
1. Download Gitea
|
|
|
|
2. Set up Nginx reverseproxy
|
|
|
|
3. Set up Gitea per instructions
|
|
|
|
4. Create a repo for your app
|
|
|
|
2. Installing Drone:
|
|
|
|
1. Download Drone
|
|
|
|
2. Set up Nginx reverseproxy
|
|
|
|
3. Integrate Drone and Gitea
|
|
|
|
4. Set up project in Drone
|
|
|
|
3. Setting up CI/CD:
|
|
|
|
1. Set up runner for testing
|
|
|
|
2. Set up runner for deployment
|
|
|
|
4. Setting up deployment strategies:
|
|
|
|
1. Using branch limits:
|
|
|
|
1. Set up pipeline steps for e.g: sandbox, staging, prod
|
|
|
|
2. Set up Nginx to serve each target
|
|
|
|
3. Set up workflow:
|
|
|
|
1. Merge each branch into main when it lands
|
|
|
|
2. Promote sandbox to staging for testing by merging main into staging branch
|
|
|
|
3. Promote staging to prod by merging staging into prod
|
|
|
|
2. Using promotion:
|
|
|
|
1. Set up pipeline with targets per step
|
|
|
|
2. Set up Nginx to serve each target
|
|
|
|
3. Set up workflow:
|
|
|
|
1. Work against e.g: main branch
|
|
|
|
2. Promote successful build to desired target using the CLI
|