Compare commits

..

1 Commits

Author SHA1 Message Date
e460d4fcaf
Build .drone.yml with jsonnet instead of drone
Some checks reported errors
continuous-integration/drone/push Build encountered an error
The Drone tool completely ignores the environment key, because of course
it does. It seems the CLI tool has been abandoned for feature parity
here in favour of the built-in enterprise jsonnet parser, so guess we're
doing this.
2020-10-15 19:24:48 +11:00

View File

@ -1,101 +1,103 @@
[
{
"environment": {
"CACHIX_CACHE": "xeals",
"CACHIX_SIGNING_KEY": {
"from_secret": "cachix_key"
},
"NUR_REPO": "xeals"
---
{
"environment": {
"CACHIX_CACHE": "xeals",
"CACHIX_SIGNING_KEY": {
"from_secret": "cachix_key"
},
"kind": "pipeline",
"name": "nixpkgs-unstable",
"steps": [
{
"commands": [
"nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixos",
"nix-channel --update",
"nix-build ci.nix -A buildOutputs",
"nix eval -f default.nix 'lib'",
"nix eval -f default.nix 'modules'",
"nix eval -f default.nix 'overlays'"
],
"image": "nixos/nix",
"name": "build"
},
{
"commands": [
"nix-build ci.nix -A cacheOutputs | cachix push \"${CACHIX_CACHE}\""
],
"image": "nixpkgs/cachix",
"name": "deploy"
}
],
"type": "docker"
"NUR_REPO": "xeals"
},
{
"environment": {
"CACHIX_CACHE": "xeals",
"CACHIX_SIGNING_KEY": {
"from_secret": "cachix_key"
},
"NUR_REPO": "xeals"
"kind": "pipeline",
"name": "nixpkgs-unstable",
"steps": [
{
"commands": [
"nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixos",
"nix-channel --update",
"nix-build ci.nix -A buildOutputs",
"nix eval -f default.nix 'lib'",
"nix eval -f default.nix 'modules'",
"nix eval -f default.nix 'overlays'"
],
"image": "nixos/nix",
"name": "build"
},
"kind": "pipeline",
"name": "nixos-unstable",
"steps": [
{
"commands": [
"nix-channel --add https://nixos.org/channels/nixos-unstable nixos",
"nix-channel --update",
"nix-build ci.nix -A buildOutputs",
"nix eval -f default.nix 'lib'",
"nix eval -f default.nix 'modules'",
"nix eval -f default.nix 'overlays'"
],
"image": "nixos/nix",
"name": "build"
},
{
"commands": [
"nix-build ci.nix -A cacheOutputs | cachix push \"${CACHIX_CACHE}\""
],
"image": "nixpkgs/cachix",
"name": "deploy"
}
],
"type": "docker"
{
"commands": [
"nix-build ci.nix -A cacheOutputs | cachix push \"${CACHIX_CACHE}\""
],
"image": "nixpkgs/cachix",
"name": "deploy"
}
],
"type": "docker"
}
---
{
"environment": {
"CACHIX_CACHE": "xeals",
"CACHIX_SIGNING_KEY": {
"from_secret": "cachix_key"
},
"NUR_REPO": "xeals"
},
{
"environment": {
"CACHIX_CACHE": "xeals",
"CACHIX_SIGNING_KEY": {
"from_secret": "cachix_key"
},
"NUR_REPO": "xeals"
"kind": "pipeline",
"name": "nixos-unstable",
"steps": [
{
"commands": [
"nix-channel --add https://nixos.org/channels/nixos-unstable nixos",
"nix-channel --update",
"nix-build ci.nix -A buildOutputs",
"nix eval -f default.nix 'lib'",
"nix eval -f default.nix 'modules'",
"nix eval -f default.nix 'overlays'"
],
"image": "nixos/nix",
"name": "build"
},
"kind": "pipeline",
"name": "nixos-20.03",
"steps": [
{
"commands": [
"nix-channel --add https://nixos.org/channels/nixos-20.03 nixos",
"nix-channel --update",
"nix-build ci.nix -A buildOutputs",
"nix eval -f default.nix 'lib'",
"nix eval -f default.nix 'modules'",
"nix eval -f default.nix 'overlays'"
],
"image": "nixos/nix",
"name": "build"
},
{
"commands": [
"nix-build ci.nix -A cacheOutputs | cachix push \"${CACHIX_CACHE}\""
],
"image": "nixpkgs/cachix",
"name": "deploy"
}
],
"type": "docker"
}
]
{
"commands": [
"nix-build ci.nix -A cacheOutputs | cachix push \"${CACHIX_CACHE}\""
],
"image": "nixpkgs/cachix",
"name": "deploy"
}
],
"type": "docker"
}
---
{
"environment": {
"CACHIX_CACHE": "xeals",
"CACHIX_SIGNING_KEY": {
"from_secret": "cachix_key"
},
"NUR_REPO": "xeals"
},
"kind": "pipeline",
"name": "nixos-20.03",
"steps": [
{
"commands": [
"nix-channel --add https://nixos.org/channels/nixos-20.03 nixos",
"nix-channel --update",
"nix-build ci.nix -A buildOutputs",
"nix eval -f default.nix 'lib'",
"nix eval -f default.nix 'modules'",
"nix eval -f default.nix 'overlays'"
],
"image": "nixos/nix",
"name": "build"
},
{
"commands": [
"nix-build ci.nix -A cacheOutputs | cachix push \"${CACHIX_CACHE}\""
],
"image": "nixpkgs/cachix",
"name": "deploy"
}
],
"type": "docker"
}
...