-
Notifications
You must be signed in to change notification settings - Fork 720
/
nix.mk
19 lines (16 loc) · 910 Bytes
/
nix.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
bump-cardano-node-workbench:
nix flake lock --update-input cardano-node-workbench
bump-node-measured:
nix flake lock --update-input node-measured
bump-cardano-deployment: ## Sync the flake.lock to the CI check
nix run nixpkgs#nixUnstable -- build .#hydraJobs.cardano-deployment
CI_TEST_NIXATTR = workbench-ci-test
workbench-ci-test smoke: ## Workbench: test a-la Hydra, the ci-test profile, full Nix engaged
nix build --out-link result-ci-test '.#hydraJobs.native.$(CI_TEST_NIXATTR)' --cores 0 ${EXTRA_ARGS}
ID=`jq -r .meta.tag result-ci-test/meta.json`; test -e "run/$$ID" || mv result-ci-test "run/$$ID"
## Use the -keep targets to debug failures:
## /tmp/nix-build-workbench-run-supervisor-ci-test-bage.drv-*
## ..will contain the run directory.
workbench-ci-test-trace: CI_TEST_NIXATTR = workbench-ci-test-trace
workbench-ci-test-trace: workbench-ci-test
smoke-trace: workbench-ci-test-trace