Commit graph

83 commits

Author SHA1 Message Date
teutat3s 2a756869e3
Merge branch 'main' into feature/mailman 2023-02-01 10:10:28 +01:00
teutat3s 164c0f8fb3
drone: fix path for ISO upload on flora-6 2023-01-29 17:44:01 +01:00
teutat3s 0e3b602809
drone: fix path for ISO upload on flora-6 2023-01-29 17:38:00 +01:00
teutat3s 155237dec7
drone: add --accept-flake-config flag 2023-01-29 02:46:53 +01:00
teutat3s 90b182e499
Merge branch 'main' into infra 2023-01-28 23:27:21 +01:00
Hendrik Sokolowski b3f4727354
Update drone-config 2022-11-27 22:01:21 +01:00
teutat3s ca22046f75
drone: use our custom drone-scp image 2022-11-27 22:01:20 +01:00
Hendrik Sokolowski 630d0afc5e
Update drone-config 2022-10-29 03:57:08 +02:00
teutat3s e4418bfe0c
drone: use our custom drone-scp image 2022-10-20 18:29:20 +02:00
teutat3s f2ecc2d8b9
ci: fix upload target path 2022-10-03 02:30:08 +02:00
teutat3s 986680cc26
bootstrap iso: add PubSolarOS naming, drone pipeline
adjustments to include a symlink to the latest iso built
2022-10-03 01:30:34 +02:00
teutat3s 2fa84ab4aa
Use more descriptive drone secret names 2022-08-29 16:47:31 +02:00
teutat3s 7b5696435a
Fix Build ISO ci step, use
'.#nixosConfigurations.bootstrap.config.system.build.isoImage'
2022-08-29 15:19:13 +02:00
teutat3s c2e5d8df3c
ci: better matrix notify template message,
prefix manta path with ci/ and set target filename for mput
2022-08-25 16:06:56 +02:00
teutat3s 8feaa494cb
ci: add matrix notify step, fix ssh key id 2022-08-25 16:06:48 +02:00
teutat3s 553e23baf9
ci: add upload artifacts step 2022-08-25 16:06:37 +02:00
teutat3s 472560e1c1
Restructure CI:
build ISO on each push to main branch

tags with v* and t* names trigger a test VM

pull requests trigger a basic check building host PubSolarOS
2022-08-25 16:06:33 +02:00
teutat3s 8be1bd53d3
wip: first PubSolarOS iso test using the NixOS
test suite:

https://nixos.org/manual/nixos/stable/index.html#sec-nixos-tests
2022-08-25 16:06:25 +02:00
teutat3s b42f7b72ad
Remove bud from CI, too 2022-08-14 17:16:56 +02:00
teutat3s ff69e1f8d6
Merge branch 'main' into fix/drone-ci-iso-target-path 2022-05-02 21:56:03 +02:00
teutat3s 077ab8b4f4
Fix ISO target path for publishing 2022-05-02 10:39:59 +02:00
Benjamin Bädorf 91605af135
Revert "Merge pull request 'fix/boostrap-iso' (#75) from fix/boostrap-iso into main"
This reverts commit 48be9cfa75, reversing
changes made to 281d7b56b4.
2022-05-02 09:49:14 +02:00
Benjamin Bädorf 3dc6e6a5f6
Change bootstrap isoImage command in CI 2022-04-30 23:20:47 +02:00
teutat3s 47ed302f7a
drone: add check step 2022-04-30 17:03:00 +02:00
teutat3s e956a69abf
Re-enable CI Check step 2022-04-30 16:38:19 +02:00
teutat3s 4e9786442b
DEBUG: try to build ISO without volume as build store cache 2022-02-27 17:09:06 +01:00
teutat3s 94b6304140
DEBUG: try to build ISO without volume as build store cache 2022-02-27 17:07:43 +01:00
teutat3s 5a0078be8d
DEBUG: try to build ISO without volume as build store cache 2022-02-27 17:06:24 +01:00
teutat3s d0e972f85f
DEBUG: try to build ISO without volume as build store cache 2022-02-25 13:59:37 +01:00
teutat3s 67504a2560
DEBUG: try if nix build work with cached store 2022-02-09 17:17:08 +01:00
teutat3s 98be94a4db
DEBUG: try if nix build work with cached store 2022-02-08 19:09:53 +01:00
teutat3s e970370f38
Try with eval-store=local 2022-02-08 14:34:58 +01:00
teutat3s 0b7f1019af
Try nix store cache docker volume with privileged mode 2022-02-08 14:21:57 +01:00
teutat3s d157e71a72
DEBUG: try build without eval-store 2022-02-03 15:32:16 +01:00
teutat3s f5c07c2e49
DEBUG: try if nix build work with cached store 2022-02-03 14:25:38 +01:00
teutat3s ec8c0dae45
use SUBCMD_FLAGS env var 2022-02-03 12:22:07 +01:00
teutat3s c7a0811200
make the yaml parser happy 2022-02-03 12:16:48 +01:00
teutat3s 07ecc4bdae
fix nix flags, only use NIX_FLAGS where we would repeat
ourselfes way too much
2022-02-03 12:13:56 +01:00
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