cs-2022-class-profile/docs/CI.md

9 lines
694 B
Markdown
Raw Normal View History

2022-06-14 01:15:49 -04:00
## Setting up CI
2022-06-14 01:56:45 -04:00
- Follow instructions on [CSC cloud](https://docs.cloud.csclub.uwaterloo.ca/kubernetes/) to setup csccloud.
- Setup the repository to store your docker images on [CSC Harbour](https://docs.cloud.csclub.uwaterloo.ca/registry/).
- Make sure to add harbour auth tokens to drone. Click the my profile page on harbour, and set HARBOUR_USERNAME and HARBOUR_PASSWORD on drone secrets to the username and cli secret from the harbour profile page.
2022-06-14 02:00:58 -04:00
- Clone the [server repo](https://git.csclub.uwaterloo.ca/snedadah/webhooks), fill in desired links, update env file with the auth token, update STAGING_AUTH_TOKEN in drone to match. Run `./run.sh` to start server in the background.
2022-06-14 01:56:45 -04:00