Try building wrappers in CI

This commit is contained in:
Nikodem Rabuliński 2023-09-17 12:22:04 +02:00
parent 96fb8b568f
commit 31dd42d37d
No known key found for this signature in database
GPG key ID: FF629AA9E08138DB
4 changed files with 9 additions and 1 deletions

View file

@ -1,4 +1,4 @@
{
{self, ...}: {
defaultEffectSystem = "aarch64-linux";
hercules-ci = {
@ -11,6 +11,8 @@
herculesCI = {
onPush = {
default.enable = true;
wrappers.outputs = self.packages.aarch64-linux;
};
};
}

View file

@ -26,5 +26,10 @@
};
common.hercules.enable = true;
age.secrets.kazuki-cachix = {
file = ../../secrets/kazuki-cachix.age;
owner = config.systemd.services.hercules-ci-agent.serviceConfig.User;
};
services.hercules-ci-agent.settings.binaryCachesPath = config.age.secrets.kazuki-cachix.path;
};
}

BIN
secrets/kazuki-cachix.age Normal file

Binary file not shown.

View file

@ -6,4 +6,5 @@ in {
"vault-cert-env.age".publicKeys = [keys.system.kazuki keys.other.bootstrap];
# "bitwarden-env-file.age".publicKeys = [keys.system.kazuki keys.other.bootstrap];
"hercules-token.age".publicKeys = [keys.system.kazuki keys.other.bootstrap];
"kazuki-cachix.age".publicKeys = [keys.system.kazuki keys.other.bootstrap];
}