docs: initial docs for ci #90

Merged
teutat3s merged 2 commits from docs/ci into main 2024-01-07 15:26:32 +00:00
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/