Updated docs and secret naming

test-ci-2
Shahan Nedadahandeh 6 months ago
parent f5470f5596
commit 6ed1ace6cb
Signed by: snedadah
GPG Key ID: 8638C7F917385B01
  1. 4
      .drone.yml
  2. 8
      docs/CI.md

@ -41,9 +41,9 @@ steps:
- export
settings:
username:
from_secret: harbour_username
from_secret: HARBOUR_USERNAME
password:
from_secret: harbour_password
from_secret: HARBOUR_PASSWORD
tags:
- ${DRONE_BRANCH//\//-}
- latest

@ -1,4 +1,8 @@
## Setting up CI
- Follow instructions on [CSC cloud](https://docs.cloud.csclub.uwaterloo.ca/kubernetes/) to setup CI
- Setup the repository to store your docker images on [CSC Harbour](https://docs.cloud.csclub.uwaterloo.ca/registry/)
- 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.
- 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.

Loading…
Cancel
Save