fleet of nix managed system configs
nixos nix

try out spindle pipeline #1

open opened by iff.io targeting main from spindle
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:7isbbjb37u3vnj4yqamh4qve/sh.tangled.repo.pull/3milzngeejk22
+41
Diff #0
+41
.tangled/workflows/build.yml
··· 1 + when: 2 + - event: push 3 + branches: ["main"] 4 + - event: pull_request 5 + branches: ["main"] 6 + 7 + # NOTE: urithiru (macOS) target cannot be built here - Spindle only supports 8 + # Linux Docker containers. Only the kharbranth (NixOS) target is built. 9 + 10 + engine: nixery 11 + 12 + clone: 13 + depth: 0 14 + 15 + dependencies: 16 + nixpkgs/nixpkgs-unstable: 17 + - nix 18 + - cachix 19 + - bash 20 + - coreutils 21 + - gnugrep 22 + 23 + steps: 24 + - name: configure cachix 25 + command: | 26 + cachix authtoken "$CACHIX_AUTH_TOKEN" 27 + cachix use iff-fleet 28 + 29 + - name: build kharbranth 30 + command: | 31 + set -o pipefail 32 + nix --accept-flake-config build .#top.kharbranth --fallback -v --log-format raw \ 33 + > >(tee /tangled/workspace/nix-build-out.log) \ 34 + 2> >(tee /tangled/workspace/nix-build-err.log >&2) || { 35 + drv=$(grep "For full logs, run" /tangled/workspace/nix-build-err.log | grep -oE "/nix/store/.*.drv") 36 + if [ -n "$drv" ]; then 37 + nix log "$drv" 38 + echo "$drv" 39 + fi 40 + exit 1 41 + }

History

1 round 0 comments
sign up or login to add to the discussion
iff.io submitted #0
1 commit
expand
test spindle
no conflicts, ready to merge
expand 0 comments