1
0
Fork 0
forked from pub-solar/infra
Commit graph

23 commits

Author SHA1 Message Date
teutat3s 4309cc9cdd
ci: use treefmt2 with flag --ci
Update treefmt to version 2.

This adds the following flags for CI usage:
"--no-cache, --fail-on-change and adjusting some other settings best suited to a CI".
See: https://treefmt.com/usage
2024-10-24 15:43:00 +02:00
teutat3s 66ed87e666
ci: avoid garbage collection of checks 2024-08-27 12:37:37 +02:00
teutat3s b039dec111
ci: update results path to prevent garbage collection 2024-05-30 19:04:40 +02:00
teutat3s cc70a740a1
ci: run actions runner as normal user 2024-05-30 19:04:40 +02:00
teutat3s 692c152406
gitea-actions-runner: fix PATH in systemd 2024-05-30 19:04:40 +02:00
teutat3s e71cbfc461
ci: add self-hosted forgejo-actions-runner
wip: add git.pub.solar to /etc/hosts

ci: add devshell with Node.js for forgejo actions

ci: add PATH

ci: add HOME
2024-05-30 19:04:13 +02:00
teutat3s c2df933174
ci: set pipefail
Don't add inputs to gc roots
2024-05-15 00:02:51 +02:00
teutat3s affdc02afe
style: check formatting using nixpkgs standard and
fail early in CI to enforce it
2024-05-08 22:56:28 +02:00
teutat3s c580fe0fbb
ci: prevent flake inputs from GC as well 2024-04-23 19:10:20 +02:00
teutat3s 60aef1d038
ci: prevent nix garbage collection 2024-04-23 16:00:16 +02:00
teutat3s c4d0d34807
ci: revert cache-nix-action to version 4.0.3 2024-04-23 15:12:06 +02:00
teutat3s d5fe65b60d
ci: disable cachix daemon, spams logs with
[2024-04-22 23:46:26][Info] Skipping /nix/store/w2zp8k8yy2avv5r92w0cpq9aixkir2sp-LocalSettings.php
...
2024-04-23 15:11:59 +02:00
teutat3s 0e7dc95250
ci: remove broken purge config from check workflow 2024-04-23 01:42:04 +02:00
teutat3s a0c6f0dc08
ci: fix cache-nix-action, use new config syntax 2024-04-21 20:17:03 +02:00
teutat3s 46c7c9ecb1
ci: update nix-quick-install-action, cache-nix-action,
cachix-action
2024-04-21 19:58:58 +02:00
teutat3s 4562bda0bf
fix(ci): avoid nix trying to use GH access-token
The GITHUB_TOKEN env var is set on each step by
https://code.forgejo.org/forgejo/runner, but only to communicate with
forgejo to access the repo (if it is private)

error: unable to download '4e422edf6b': HTTP error 401
2023-12-14 00:40:38 +01:00
teutat3s ebc7abf685
ci: dependencies now included in actions-base-image
https://git.pub.solar/pub-solar/actions-base-image
2023-12-13 01:52:01 +01:00
teutat3s e4c4644a8e
ci: cache using nix-community/cache-nix-action
https://github.com/nix-community/cache-nix-action
2023-12-13 01:42:15 +01:00
teutat3s 72badc7283
ci: run flake checks only on pull requests 2023-11-15 18:47:00 +00:00
teutat3s c66846d148
ci: nix based image 2023-11-09 20:10:40 +01:00
teutat3s b8e213d626
ci: try Node.js docker images 2023-11-09 20:10:08 +01:00
teutat3s 487e12015a
ci: add pub-solar cachix
https://app.cachix.org
2023-11-06 22:06:32 +01:00
teutat3s 6a96345760
feat: enable gitea actions in forgejo
See: https://docs.gitea.com/usage/actions/quickstart
2023-11-06 22:06:16 +01:00