9f2165abc8
All checks were successful
build configuration / build_web02 (pull_request) Successful in 1m1s
build configuration / build_vault01 (pull_request) Successful in 1m0s
build configuration / build_compute01 (pull_request) Successful in 1m11s
build configuration / build_rescue01 (pull_request) Successful in 48s
build configuration / build_storage01 (pull_request) Successful in 1m25s
build configuration / build_web01 (pull_request) Successful in 1m27s
build configuration / push_to_cache (pull_request) Successful in 2m10s
build configuration / build_rescue01 (push) Successful in 1m1s
build configuration / build_vault01 (push) Successful in 1m2s
build configuration / build_storage01 (push) Successful in 1m5s
build configuration / build_compute01 (push) Successful in 1m10s
build configuration / build_web02 (push) Successful in 1m2s
lint / check (push) Successful in 22s
build configuration / build_web01 (push) Successful in 1m42s
build configuration / push_to_cache (push) Successful in 2m7s
13 lines
397 B
Bash
Executable file
13 lines
397 B
Bash
Executable file
set -e
|
|
set -u
|
|
set -o pipefail
|
|
|
|
ENDPOINT=${ATTIC_ENDPOINT:-https://cachix.dgnum.eu}
|
|
|
|
@attic@/bin/attic login dgnum "$ENDPOINT" "$ATTIC_TOKEN"
|
|
|
|
@colmena@/bin/colmena eval -E '{ nodes, lib, ... }: lib.mapAttrsToList (_: v: v.config.system.build.toplevel.drvPath) nodes' |\
|
|
@jq@/bin/jq -r '.[]' |\
|
|
xargs nix-store -q -R --include-outputs |\
|
|
sed '/\.drv$/d' |\
|
|
xargs @attic@/bin/attic push dgnum:infra
|