ci changes
This commit is contained in:
parent
bbe47c8fe6
commit
c999ed6520
1 changed files with 14 additions and 10 deletions
|
|
@ -4,14 +4,18 @@ when:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- build-push:
|
- build-push:
|
||||||
image: harbor.vdx.hu/voidcontext/woodpecker-plugin-nix-attic:0.2.0
|
image: ghcr.io/lix-project/lix:latest
|
||||||
settings:
|
environment:
|
||||||
binary_cache: https://attic.hailsatan.eu
|
ATTIC_ENDPOINT: https://attic.hailsatan.eu
|
||||||
binary_cache_public_key: some-binary-cache.example.com:some-public-key
|
ATTIC_CACHE: xyno
|
||||||
binary_cache_token:
|
ATTIC_PUSH_TOKEN:
|
||||||
from_secret: binary_cache_access_token
|
from_secret: attic_push_token
|
||||||
script: |
|
commands:
|
||||||
nix build .#allConfigurations
|
- export PATH=$PATH:$(nix build --no-link nixpkgs#attic-client --print-out-paths)/bin
|
||||||
attic login default $PLUGIN_BINARY_CACHE_TOKEN
|
- attic login default ${ATTIC_ENDPOINT} ${ATTIC_PUSH_TOKEN}
|
||||||
attic push some-cache $(nix path-info .#default)
|
- attic use ${ATTIC_CACHE}
|
||||||
|
- attic watch-store ${ATTIC_CACHE} &
|
||||||
|
- nix build .#nixosConfigurations.ds9.config.system.build.toplevel .#nixosConfigurations.picard.config.system.build.toplevel .#nixosConfigurations.theseus.config.system.build.toplevel
|
||||||
|
- attic push some-cache $(nix path-info .#default)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue