meow
Some checks failed
ci/woodpecker/push/build-cache Pipeline failed

This commit is contained in:
Lucy Hochkamp 2025-10-10 17:44:49 +02:00
parent 0345c756d8
commit 7cb4b1be69
No known key found for this signature in database
4 changed files with 73 additions and 26 deletions

View file

@ -30,23 +30,24 @@ steps:
- nix build ".#nix" --print-build-logs --out-link nix --no-update-lock-file
- nix profile remove lix
- ./nix/bin/nix profile install ".#nix" --no-update-lock-file
- nix profile install ".#nix-fast-build" ".#attic-client" ".#jq" --no-update-lock-file
- nix profile install ".#nix-ci" ".#attic-client" ".#jq" --no-update-lock-file
- nix --version
- attic login default $${ATTIC_ENDPOINT} $${ATTIC_PUSH_TOKEN}
- attic use $${ATTIC_CACHE}
- attic push $${ATTIC_CACHE} $(nix build --print-build-logs --no-update-lock-file --no-link --print-out-paths .#nix-ci)
# - 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
# - nix flake archive --json .
- attic push xyno $(nix flake archive --json . | jq -r '[.. | .path? | select(. != null)] | unique | .[]')
- mkdir /tmp/reports
- nix-fast-build --debug --no-nom --skip-cached --result-file /tmp/reports/junit.xml --result-format junit --attic-cache $${ATTIC_CACHE} --flake .#hydraJobs.systems
- name: junit-reports
image: ghcr.io/wgroeneveld/woodpecker-ascii-junit:main
settings:
log-level: debug
path: /tmp/reports/**/*.xml
when:
status: [
'success',
'failure',
]
# - attic push xyno $(nix flake archive --json . | jq -r '[.. | .path? | select(. != null)] | unique | .[]')
# - mkdir /tmp/reports
- nix-ci --check-cached --copy-to-attic $${ATTIC_CACHE} --flake-path .#hydraJobs.systems
# - name: junit-reports
# image: ghcr.io/wgroeneveld/woodpecker-ascii-junit:main
# settings:
# log-level: debug
# path: /tmp/reports/**/*.xml
# when:
# status: [
# 'success',
# 'failure',
# ]