Commit graph

95 commits

Author SHA1 Message Date
teutat3s d33aef6060
factor out nix command flags into NIX_FLAGS env var
for better readability
2022-02-03 12:01:39 +01:00
teutat3s 67d48485d0
add --eval-store local flag to nix CI commands
see https://github.com/nix-community/naersk/issues/217

and https://kevincox.ca/2022/01/02/nix-in-docker-caching/
2022-02-03 11:44:40 +01:00
teutat3s 135dc20dc4
sign .drone.yml 2022-02-03 11:31:28 +01:00
teutat3s 96dde2315d
Use drone host volume for /nix/store to speed up
build times
2022-02-03 11:28:48 +01:00
teutat3s af96a74b95
Revert "Use drone host volume for /nix/store to
speed up build times"

This reverts commit ae8f39b89a.
2022-02-03 03:37:40 +01:00
teutat3s ae8f39b89a
Use drone host volume for /nix/store to speed up build times 2022-02-03 01:59:42 +01:00
teutat3s 2bddc9c700
Make Build ISO step depend on Check step 2022-02-03 01:22:36 +01:00
teutat3s a039ce0943
Only build ISO on tag event 2022-02-02 15:18:12 +01:00
teutat3s 1bd3019ca5
Follow nixos-unstable in check / build base image, to get nix
version 2.5+ with accept-flake-config flag, see:

30496af598
c52fdf233b/images/nix-flakes/default.nix (L7)
https://github.com/NixOS/nixpkgs/blob/release-21.11/pkgs/top-level/aliases.nix#L603
https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/top-level/aliases.nix#L665
https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/tools/package-management/nix/default.nix#L66
2022-02-02 15:08:24 +01:00
teutat3s 29bea44c6c
Use nixos-21.11 as base image tag, benefiting from recent
change to get nixConfig from the projects flake.nix, for details,

see: c52fdf233b
2022-02-02 14:12:24 +01:00
teutat3s be9ce55f58
Nix flake check works 2022-02-02 13:31:27 +01:00
teutat3s 74b4ec148c
Merge branch 'main' into feature/basic-iso 2022-02-02 04:38:30 +01:00
teutat3s e45744d6fe
Only notify upon drone step failure 2021-12-16 18:12:27 +01:00
teutat3s 907b08930a
drone: only trigger upstreaming on cron event 2021-10-26 10:45:53 +02:00
teutat3s 5aac177940
drone: use trigger conditional for whole publish pipeline 2021-10-26 10:40:03 +02:00
teutat3s c78126c338
Merge branch 'main' into feature/basic-iso 2021-10-26 10:33:42 +02:00
teutat3s d36feb2028
drone: strip path before scp'ing 2021-10-26 10:14:42 +02:00
teutat3s e1404ac969
fix main branch cron for real 2021-10-26 01:07:10 +02:00
teutat3s 1ab1ec5ded
drone: sign 2021-10-26 01:02:17 +02:00
teutat3s 09371808ae
Merge branch 'main' into feature/basic-iso 2021-10-26 01:00:30 +02:00
teutat3s effea24101
drone: fix publish scp source path 2021-10-25 21:51:13 +02:00
teutat3s 8f194d1503
Fix devshell for executing bud 2021-10-24 23:18:10 +02:00
teutat3s 6b67d08edd
Use different path for volume 2021-10-24 23:13:13 +02:00
teutat3s a79834c15a
Test push event on feature branch 2021-10-24 23:04:53 +02:00
teutat3s 40e93f15d9
Sign correctly 2021-10-24 23:01:08 +02:00
teutat3s 2340270d81
All the option are with us now 2021-10-24 22:55:28 +02:00
teutat3s 2588264d88
Make check work 2021-10-24 22:03:28 +02:00
teutat3s cd4dce51c1
drone: init check pipeline 2021-10-24 20:13:31 +02:00
teutat3s 782f4add01
cron: reset origin remote url, so that next step's git fetch works 2021-10-22 14:04:17 +02:00
Benjamin Bädorf bdb5132460 Fetch repos before upstream merge, so we have access to main (#51)
Co-authored-by: Benjamin Bädorf <hello@benjaminbaedorf.eu>
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/51
Reviewed-by: teutat3s <teutates@mailbox.org>
Co-authored-by: Benjamin Bädorf <b12f@noreply.example.org>
Co-committed-by: Benjamin Bädorf <b12f@noreply.example.org>
2021-10-21 17:39:38 +00:00
teutat3s fc037d9833 drone: fix git fetch for main, too (#49)
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/49
Co-authored-by: teutat3s <teutates@mailbox.org>
Co-committed-by: teutat3s <teutates@mailbox.org>
2021-10-20 07:52:46 +00:00
teutat3s 36c6fdd254 drone: fix git fetch for main, too (#48)
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/48
Co-authored-by: teutat3s <teutates@mailbox.org>
Co-committed-by: teutat3s <teutates@mailbox.org>
2021-10-20 07:47:12 +00:00
teutat3s 95f5430b2b drone: git fetch before doing git checkout (#46)
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/46
Co-authored-by: teutat3s <teutates@mailbox.org>
Co-committed-by: teutat3s <teutates@mailbox.org>
2021-10-13 22:08:30 +00:00
teutat3s d67cc230f3 fix/drone-upstream-cron (#40)
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/40
Co-authored-by: teutat3s <teutates@mailbox.org>
Co-committed-by: teutat3s <teutates@mailbox.org>
2021-10-11 22:03:38 +00:00
teutat3s 84bb1520ee fix/drone-upstream-cron (#39)
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/39
Co-authored-by: teutat3s <teutates@mailbox.org>
Co-committed-by: teutat3s <teutates@mailbox.org>
2021-10-11 21:47:46 +00:00
teutat3s 1f1d24f1e3 drone: fix cron job for upstream syncing (#38)
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/38
Co-authored-by: teutat3s <teutates@mailbox.org>
Co-committed-by: teutat3s <teutates@mailbox.org>
2021-10-11 21:40:27 +00:00
teutat3s 0f4f8eca37 Drone: follow new upstream default branch main, cron fixes (#30)
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/30
Co-authored-by: teutat3s <teutates@mailbox.org>
Co-committed-by: teutat3s <teutates@mailbox.org>
2021-10-05 19:32:54 +00:00
teutat3s 1c47036e79 Fix drone step competing for git lock (#19)
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/19
Co-authored-by: teutat3s <teutates@mailbox.org>
Co-committed-by: teutat3s <teutates@mailbox.org>
2021-09-21 20:33:10 +00:00
teutat3s efc58fba0a Follow upstream master branch, it's their new default (#14)
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/14
Co-authored-by: teutat3s <teutates@mailbox.org>
Co-committed-by: teutat3s <teutates@mailbox.org>
2021-09-07 14:37:24 +00:00
Benjamin Bädorf 18c1161e2f fix/dafakincron (#9)
Co-authored-by: Benjamin Bädorf <hello@benjaminbaedorf.eu>
Co-authored-by: teutat3s <10206665+teutat3s@users.noreply.github.com>
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/9
Reviewed-by: teutat3s <teutates@mailbox.org>
Co-authored-by: Benjamin Bädorf <b12f@noreply.example.org>
Co-committed-by: Benjamin Bädorf <b12f@noreply.example.org>
2021-07-07 17:50:51 +00:00
teutat3s 1ecdf060b9
Fix starting step on wrong branch, step names 2021-06-27 17:23:18 +02:00
teutat3s 75e994e853
Glob matching of the cron name, maybe? 2021-06-25 15:53:44 +02:00
teutat3s 40b807044a CI: Fix drone cron daily target (#7)
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/7
Reviewed-by: Benjamin Bädorf <b12f@noreply.example.org>
Co-authored-by: teutat3s <teutates@mailbox.org>
Co-committed-by: teutat3s <teutates@mailbox.org>
2021-06-20 18:56:38 +00:00
Benjamin Bädorf a9e304617b feat/upstreaming (#4)
Co-authored-by: Benjamin Bädorf <hello@benjaminbaedorf.eu>
Co-authored-by: teutat3s <teutates@mailbox.org>
Reviewed-on: https://git.b12f.io/pub-solar/os/pulls/4
Co-authored-by: Benjamin Bädorf <b12f@noreply.example.org>
Co-committed-by: Benjamin Bädorf <b12f@noreply.example.org>
2021-06-14 23:28:23 +00:00
teutat3s 57291aa029
Init Drone CI for auto rebasing 2021-05-29 20:21:58 +02:00