Compare commits
1 Commits
e460d4fcaf
...
c96782f220
Author | SHA1 | Date | |
---|---|---|---|
c96782f220 |
@ -2,12 +2,6 @@ local Pipeline(channel) = {
|
|||||||
kind: "pipeline",
|
kind: "pipeline",
|
||||||
type: "docker",
|
type: "docker",
|
||||||
name: channel,
|
name: channel,
|
||||||
environment: {
|
|
||||||
NUR_REPO: "xeals",
|
|
||||||
// NIX_PATH: "nixpkgs=channel:" + channel,
|
|
||||||
CACHIX_CACHE: "xeals",
|
|
||||||
CACHIX_SIGNING_KEY: { from_secret: "cachix_key" },
|
|
||||||
},
|
|
||||||
steps: [
|
steps: [
|
||||||
{
|
{
|
||||||
name: "build",
|
name: "build",
|
||||||
@ -28,7 +22,12 @@ local Pipeline(channel) = {
|
|||||||
'nix-build ci.nix -A cacheOutputs | cachix push "${CACHIX_CACHE}"'//,
|
'nix-build ci.nix -A cacheOutputs | cachix push "${CACHIX_CACHE}"'//,
|
||||||
// 'if [[ "cron" != "${DRONE_BUILD_EVENT}" && -z "${DRONE_PULL_REQUEST}" && "master" = "${DRONE_BRANCH}" ]]; then
|
// 'if [[ "cron" != "${DRONE_BUILD_EVENT}" && -z "${DRONE_PULL_REQUEST}" && "master" = "${DRONE_BRANCH}" ]]; then
|
||||||
// curl -XPOST "https://nur-update.herokuapp.com/update?repo=${NUR_REPO}"; fi'
|
// curl -XPOST "https://nur-update.herokuapp.com/update?repo=${NUR_REPO}"; fi'
|
||||||
]
|
],
|
||||||
|
environment: {
|
||||||
|
NUR_REPO: "xeals",
|
||||||
|
CACHIX_CACHE: "xeals",
|
||||||
|
CACHIX_SIGNING_KEY: { from_secret: "cachix_key" },
|
||||||
|
},
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
15
.drone.yml
15
.drone.yml
@ -22,6 +22,11 @@ steps:
|
|||||||
image: nixpkgs/cachix
|
image: nixpkgs/cachix
|
||||||
commands:
|
commands:
|
||||||
- nix-build ci.nix -A cacheOutputs | cachix push "${CACHIX_CACHE}"
|
- nix-build ci.nix -A cacheOutputs | cachix push "${CACHIX_CACHE}"
|
||||||
|
environment:
|
||||||
|
CACHIX_CACHE: xeals
|
||||||
|
CACHIX_SIGNING_KEY:
|
||||||
|
from_secret: cachix_key
|
||||||
|
NUR_REPO: xeals
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
@ -47,6 +52,11 @@ steps:
|
|||||||
image: nixpkgs/cachix
|
image: nixpkgs/cachix
|
||||||
commands:
|
commands:
|
||||||
- nix-build ci.nix -A cacheOutputs | cachix push "${CACHIX_CACHE}"
|
- nix-build ci.nix -A cacheOutputs | cachix push "${CACHIX_CACHE}"
|
||||||
|
environment:
|
||||||
|
CACHIX_CACHE: xeals
|
||||||
|
CACHIX_SIGNING_KEY:
|
||||||
|
from_secret: cachix_key
|
||||||
|
NUR_REPO: xeals
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
@ -72,5 +82,10 @@ steps:
|
|||||||
image: nixpkgs/cachix
|
image: nixpkgs/cachix
|
||||||
commands:
|
commands:
|
||||||
- nix-build ci.nix -A cacheOutputs | cachix push "${CACHIX_CACHE}"
|
- nix-build ci.nix -A cacheOutputs | cachix push "${CACHIX_CACHE}"
|
||||||
|
environment:
|
||||||
|
CACHIX_CACHE: xeals
|
||||||
|
CACHIX_SIGNING_KEY:
|
||||||
|
from_secret: cachix_key
|
||||||
|
NUR_REPO: xeals
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user