Skip to content

Commit

Permalink
ci: fix CI for new cluster-based system
Browse files Browse the repository at this point in the history
Signed-off-by: Drew Hess <[email protected]>
  • Loading branch information
dhess committed Apr 9, 2024
1 parent eb1bbff commit be12fc9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 34 deletions.
18 changes: 12 additions & 6 deletions .buildkite/pipeline.yaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,30 @@
agents:
public: "true"
os: "linux"
queue: "nix-eval"

steps:
- command: nix flake archive .#
label: ":nixos: Archive Nix flake inputs"
agents:
queue: "nix-build"

- command: nix-buildkite
label: ":nixos: :buildkite:"
plugins:
- circuithub/nix-buildkite:
- hackworthltd/nix#v1.0.0:
file: ci.nix

- label: ":nixos: Archive Nix flake inputs"
command: nix flake archive .#
agent-tags: queue=nix-build,os=linux

- wait

- label: ":nixos: :linux: Cache the Nix shell"
command: |
nix develop --print-build-logs --profile /tmp/primer-app --command echo "done"
agents:
queue: "nix-build"

- label: ":nixos: :macos: Cache the Nix shell"
command: |
nix develop --print-build-logs --profile /tmp/primer-app --command echo "done"
agents:
queue: "nix-build"
os: "darwin"
28 changes: 0 additions & 28 deletions .buildkite/public-cache-push.yaml

This file was deleted.

0 comments on commit be12fc9

Please sign in to comment.