Add [Admin] Course container setup [WIP]
parent
0656dd5c42
commit
5a0c863669
15
%5BAdmin%5D-Course-container-setup-%5BWIP%5D.md
Normal file
15
%5BAdmin%5D-Course-container-setup-%5BWIP%5D.md
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# Course container setup
|
||||
|
||||
## Container deployment
|
||||
|
||||
1. Create a new `bot-${REPO_OWNER_LOWER}` user on Gitea
|
||||
2. Generate a new token for `bot-${REPO_OWNER_LOWER}` with permissions:
|
||||
- issue `rw`
|
||||
- repository `rw`
|
||||
- organizaion `r`
|
||||
3. On `${REPO_OWNER_LOWER}-joj` repo settings, add the gitea token of `bot-${REPO_OWNER_LOWER}` as value to `Settings->Actions->Secrets->Add Secret`, with name `TEAPOT_GITEA_TOKEN`
|
||||
4. Edit `root/deploy.conf` based on needed software/tools
|
||||
5. Deploy a new container for the course
|
||||
- create a zfs volume
|
||||
- setup permissions
|
||||
- deploy
|
||||
Loading…
Reference in New Issue
Block a user