forked from pub-solar/infra
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:
commit
5e3a4b159f
19
docs/drone-ci.md
Normal file
19
docs/drone-ci.md
Normal 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
7
docs/forgejo-actions.md
Normal 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/
|
Loading…
Reference in a new issue