Add CI #13

Merged
snedadah merged 36 commits from shahanneda/add-ci into main 2022-06-26 16:14:28 -04:00
2 changed files with 8 additions and 1 deletions
Showing only changes of commit 0af1cbc614 - Show all commits

View File

@ -54,9 +54,12 @@ steps:
image: node:16
depends_on:
- publish
environment:
AUTH_TOKEN:
from_secret: STAGING_AUTH_TOKEN
commands:
- echo "The docker build tag is ${DRONE_BRANCH//\//-}"
- 'curl https://csclub.uwaterloo.ca/~snedadah/webhooks/cscclassprofilestaging?ref=${DRONE_BRANCH//\//-}'
- 'curl -H "Authorization: $AUTH_TOKEN" https://csclub.uwaterloo.ca/~snedadah/webhooks/cscclassprofilestaging?ref=${DRONE_BRANCH//\//-}'

4
docs/CI.md Normal file
View File

@ -0,0 +1,4 @@
## 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/)