Merge pull request 'docs: initial docs for ci' (#90) from docs/ci into main

Reviewed-on: pub-solar/infra#90
Reviewed-by: b12f <b12f@noreply.git.pub.solar>
This commit is contained in:
teutat3s 2024-01-07 15:26:32 +00:00
commit 5e3a4b159f
Signed by: pub.solar gitea
GPG key ID: F0332B04B7054873
2 changed files with 26 additions and 0 deletions

19
docs/drone-ci.md Normal file
View file

@ -0,0 +1,19 @@
# Drone CI
We currently use two CI systems, [drone CI](https://drone.io), reachable via
https://ci.pub.solar and [Forgejo Actions](https://forgejo.org/docs/latest/user/actions/),
which UI is integrated into https://git.pub.solar, for example
https://git.pub.solar/pub-solar/infra/actions.
### Signing the `.drone.yml` file
Login to https://ci.pub.solar by clicking on the user icon in the bottom left.
After logging in, you can view your personal API token by clicking on the same
icon. If you're using the nix [development-shell](./development-shell.md), the
`drone` command will already be installed.
```
export DRONE_TOKEN=<your-drone-api-token>
drone --token $DRONE_TOKEN sign --save pub-solar/os
```

7
docs/forgejo-actions.md Normal file
View file

@ -0,0 +1,7 @@
# Forgejo Actions
Admin docs
https://forgejo.org/docs/latest/admin/actions/
User guide
https://forgejo.org/docs/latest/user/actions/