diff --git a/%5BAdmin%5D-Course-container-setup-%5BWIP%5D.md b/%5BAdmin%5D-Course-container-setup-%5BWIP%5D.md new file mode 100644 index 0000000..bbc285b --- /dev/null +++ b/%5BAdmin%5D-Course-container-setup-%5BWIP%5D.md @@ -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