parent
951f1a918f
commit
67fb8ae296
2 changed files with 29 additions and 2 deletions
|
|
@ -25,7 +25,7 @@ steps:
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
substituters = https://attic.hailsatan.eu/xyno https://cache.nixos.org/
|
substituters = https://attic.hailsatan.eu/xyno https://cache.nixos.org/
|
||||||
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= xyno:l2mXaEYOj2kSjxT1dbP1iVya1bBXmKuO7jRXUZohi8c=
|
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= xyno:l2mXaEYOj2kSjxT1dbP1iVya1bBXmKuO7jRXUZohi8c=
|
||||||
trusted-substituters =
|
trusted-substituters = https://attic.hailsatan.eu/xyno
|
||||||
EOF
|
EOF
|
||||||
- nix build ".#nix" --print-build-logs --out-link nix --no-update-lock-file
|
- nix build ".#nix" --print-build-logs --out-link nix --no-update-lock-file
|
||||||
- nix profile remove lix
|
- nix profile remove lix
|
||||||
|
|
@ -36,7 +36,7 @@ steps:
|
||||||
- attic use $${ATTIC_CACHE}
|
- attic use $${ATTIC_CACHE}
|
||||||
# - attic watch-store $${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
|
# - nix build .#nixosConfigurations.ds9.config.system.build.toplevel .#nixosConfigurations.picard.config.system.build.toplevel .#nixosConfigurations.theseus.config.system.build.toplevel
|
||||||
- nix flake archive --to https://attic.hailsatan.eu/xyno .
|
- nix flake archive --to https://attic.hailsatan.eu/xyno/ .
|
||||||
- nix-fast-build --attic-cache xyno --flake .#hydraJobs.systems
|
- nix-fast-build --attic-cache xyno --flake .#hydraJobs.systems
|
||||||
# - attic push $${ATTIC_CACHE} $(nix path-info .#nixosConfigurations.ds9.config.system.build.toplevel .#nixosConfigurations.picard.config.system.build.toplevel .#nixosConfigurations.theseus.config.system.build.toplevel)
|
# - attic push $${ATTIC_CACHE} $(nix path-info .#nixosConfigurations.ds9.config.system.build.toplevel .#nixosConfigurations.picard.config.system.build.toplevel .#nixosConfigurations.theseus.config.system.build.toplevel)
|
||||||
|
|
||||||
|
|
|
||||||
27
.woodpecker/dependency-pr.yaml
Normal file
27
.woodpecker/dependency-pr.yaml
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
when:
|
||||||
|
- event: cron
|
||||||
|
con: dependency_update
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: nix-flake-update
|
||||||
|
image: ghcr.io/lix-project/lix:latest
|
||||||
|
commands:
|
||||||
|
- nix flake update
|
||||||
|
- name: create-pr
|
||||||
|
image: johnwalkerx/gitea-pull-request-create-plugin:latest
|
||||||
|
pull: true
|
||||||
|
settings:
|
||||||
|
gitea_address: https://git.xyno.systems
|
||||||
|
gitea_token:
|
||||||
|
from_secret: forge_token
|
||||||
|
owner: ${CI_REPO_OWNER}
|
||||||
|
repo: ${CI_REPO_NAME}
|
||||||
|
branch: ${CI_COMMIT_BRANCH}
|
||||||
|
base_branch: main
|
||||||
|
pr_title: Dependency Update
|
||||||
|
pr_body: PR automatically created by Woodpecker CI
|
||||||
|
skip_on_missing_branch: true
|
||||||
|
skip_on_empty_branch: true
|
||||||
|
close_pr_if_empty: true
|
||||||
|
delete_branch_if_pr_empty: true
|
||||||
|
delete_branch_after_merge: true
|
||||||
Loading…
Add table
Add a link
Reference in a new issue