Compare commits
1 Commits
c079b583a9
...
e460d4fcaf
Author | SHA1 | Date | |
---|---|---|---|
e460d4fcaf |
171
.drone.yml
171
.drone.yml
@ -1,76 +1,103 @@
|
|||||||
---
|
---
|
||||||
kind: pipeline
|
{
|
||||||
type: docker
|
"environment": {
|
||||||
name: nixpkgs-unstable
|
"CACHIX_CACHE": "xeals",
|
||||||
|
"CACHIX_SIGNING_KEY": {
|
||||||
platform:
|
"from_secret": "cachix_key"
|
||||||
os: linux
|
},
|
||||||
arch: amd64
|
"NUR_REPO": "xeals"
|
||||||
|
},
|
||||||
steps:
|
"kind": "pipeline",
|
||||||
- name: build
|
"name": "nixpkgs-unstable",
|
||||||
image: nixos/nix
|
"steps": [
|
||||||
commands:
|
{
|
||||||
- nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixos
|
"commands": [
|
||||||
- nix-channel --update
|
"nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixos",
|
||||||
- nix-build ci.nix -A buildOutputs
|
"nix-channel --update",
|
||||||
- nix eval -f default.nix 'lib'
|
"nix-build ci.nix -A buildOutputs",
|
||||||
- nix eval -f default.nix 'modules'
|
"nix eval -f default.nix 'lib'",
|
||||||
- nix eval -f default.nix 'overlays'
|
"nix eval -f default.nix 'modules'",
|
||||||
|
"nix eval -f default.nix 'overlays'"
|
||||||
- name: deploy
|
],
|
||||||
image: nixpkgs/cachix
|
"image": "nixos/nix",
|
||||||
commands:
|
"name": "build"
|
||||||
- nix-build ci.nix -A cacheOutputs | cachix push "${CACHIX_CACHE}"
|
},
|
||||||
|
{
|
||||||
|
"commands": [
|
||||||
|
"nix-build ci.nix -A cacheOutputs | cachix push \"${CACHIX_CACHE}\""
|
||||||
|
],
|
||||||
|
"image": "nixpkgs/cachix",
|
||||||
|
"name": "deploy"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "docker"
|
||||||
|
}
|
||||||
---
|
---
|
||||||
kind: pipeline
|
{
|
||||||
type: docker
|
"environment": {
|
||||||
name: nixos-unstable
|
"CACHIX_CACHE": "xeals",
|
||||||
|
"CACHIX_SIGNING_KEY": {
|
||||||
platform:
|
"from_secret": "cachix_key"
|
||||||
os: linux
|
},
|
||||||
arch: amd64
|
"NUR_REPO": "xeals"
|
||||||
|
},
|
||||||
steps:
|
"kind": "pipeline",
|
||||||
- name: build
|
"name": "nixos-unstable",
|
||||||
image: nixos/nix
|
"steps": [
|
||||||
commands:
|
{
|
||||||
- nix-channel --add https://nixos.org/channels/nixos-unstable nixos
|
"commands": [
|
||||||
- nix-channel --update
|
"nix-channel --add https://nixos.org/channels/nixos-unstable nixos",
|
||||||
- nix-build ci.nix -A buildOutputs
|
"nix-channel --update",
|
||||||
- nix eval -f default.nix 'lib'
|
"nix-build ci.nix -A buildOutputs",
|
||||||
- nix eval -f default.nix 'modules'
|
"nix eval -f default.nix 'lib'",
|
||||||
- nix eval -f default.nix 'overlays'
|
"nix eval -f default.nix 'modules'",
|
||||||
|
"nix eval -f default.nix 'overlays'"
|
||||||
- name: deploy
|
],
|
||||||
image: nixpkgs/cachix
|
"image": "nixos/nix",
|
||||||
commands:
|
"name": "build"
|
||||||
- nix-build ci.nix -A cacheOutputs | cachix push "${CACHIX_CACHE}"
|
},
|
||||||
|
{
|
||||||
|
"commands": [
|
||||||
|
"nix-build ci.nix -A cacheOutputs | cachix push \"${CACHIX_CACHE}\""
|
||||||
|
],
|
||||||
|
"image": "nixpkgs/cachix",
|
||||||
|
"name": "deploy"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "docker"
|
||||||
|
}
|
||||||
---
|
---
|
||||||
kind: pipeline
|
{
|
||||||
type: docker
|
"environment": {
|
||||||
name: nixos-20.03
|
"CACHIX_CACHE": "xeals",
|
||||||
|
"CACHIX_SIGNING_KEY": {
|
||||||
platform:
|
"from_secret": "cachix_key"
|
||||||
os: linux
|
},
|
||||||
arch: amd64
|
"NUR_REPO": "xeals"
|
||||||
|
},
|
||||||
steps:
|
"kind": "pipeline",
|
||||||
- name: build
|
"name": "nixos-20.03",
|
||||||
image: nixos/nix
|
"steps": [
|
||||||
commands:
|
{
|
||||||
- nix-channel --add https://nixos.org/channels/nixos-20.03 nixos
|
"commands": [
|
||||||
- nix-channel --update
|
"nix-channel --add https://nixos.org/channels/nixos-20.03 nixos",
|
||||||
- nix-build ci.nix -A buildOutputs
|
"nix-channel --update",
|
||||||
- nix eval -f default.nix 'lib'
|
"nix-build ci.nix -A buildOutputs",
|
||||||
- nix eval -f default.nix 'modules'
|
"nix eval -f default.nix 'lib'",
|
||||||
- nix eval -f default.nix 'overlays'
|
"nix eval -f default.nix 'modules'",
|
||||||
|
"nix eval -f default.nix 'overlays'"
|
||||||
- name: deploy
|
],
|
||||||
image: nixpkgs/cachix
|
"image": "nixos/nix",
|
||||||
commands:
|
"name": "build"
|
||||||
- nix-build ci.nix -A cacheOutputs | cachix push "${CACHIX_CACHE}"
|
},
|
||||||
|
{
|
||||||
|
"commands": [
|
||||||
|
"nix-build ci.nix -A cacheOutputs | cachix push \"${CACHIX_CACHE}\""
|
||||||
|
],
|
||||||
|
"image": "nixpkgs/cachix",
|
||||||
|
"name": "deploy"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "docker"
|
||||||
|
}
|
||||||
...
|
...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user