From 6ed1ace6cb83e99f3af41ddb8db71c98129d6773 Mon Sep 17 00:00:00 2001 From: shahanneda Date: Mon, 13 Jun 2022 22:56:45 -0700 Subject: [PATCH] Updated docs and secret naming --- .drone.yml | 4 ++-- docs/CI.md | 8 ++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 850b010..646e675 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 diff --git a/docs/CI.md b/docs/CI.md index 6af3162..461dfbe 100644 --- a/docs/CI.md +++ b/docs/CI.md @@ -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. + +