Skip to content

Commit

Permalink
nix | wb: add profile ci-test-hydra capturing more potential failures
Browse files Browse the repository at this point in the history
  • Loading branch information
mgmeier authored and carbolymer committed Jul 22, 2024
1 parent ec1a8a7 commit c75a987
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ ps: ## Plain-text list of profiles
##
PROFILES_BASE := default default-p2p plutus plutus-secp-ecdsa plutus-secp-schnorr oldtracing idle tracer-only
PROFILES_FAST := fast fast-solo fast-p2p fast-plutus fast-notracer fast-oldtracing faststartup-24M
PROFILES_CI_TEST := ci-test ci-test-p2p ci-test-plutus ci-test-notracer ci-test-rtview ci-test-dense10
PROFILES_CI_TEST := ci-test ci-test-p2p ci-test-plutus ci-test-notracer ci-test-rtview ci-test-dense10 ci-test-hydra
PROFILES_CI_BENCH := ci-bench ci-bench-p2p ci-bench-plutus ci-bench-plutus-secp-ecdsa ci-bench-plutus-secp-schnorr ci-bench-notracer ci-bench-rtview ci-bench-lmdb ci-bench-drep
PROFILES_CI_BENCH += ci-bench-plutusv3-blst ci-bench-plutus24
PROFILES_TRACE_BENCH := trace-bench trace-bench-notracer trace-bench-oldtracing trace-bench-rtview
Expand Down
7 changes: 4 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,12 @@

## This is a very light profile, no caching&pinning needed.
workbench-ci-test =
workbenchTest { profileName = "ci-test-bage";
workbenchTest { profileName = "ci-test-hydra-bage";
workbenchStartArgs = [ "--create-testnet-data" ];
};
workbench-ci-test-trace =
workbenchTest { profileName = "ci-test-bage";
workbenchStartArgs = [ "--trace" ];
workbenchTest { profileName = "ci-test-hydra-bage";
workbenchStartArgs = [ "--create-testnet-data" "--trace" ];
};

inherit (pkgs) all-profiles-json;
Expand Down
4 changes: 4 additions & 0 deletions nix/workbench/profile/prof1-variants.jq
Original file line number Diff line number Diff line change
Expand Up @@ -1021,6 +1021,10 @@ def all_profile_variants:
{ name: "ci-test-nomadperf-nop2p"
, desc: "ci-test on P&T exclusive cluster with P2P disabled"
}
, $citest_base * $plutus_base * $plutus_loop_counter * $costmodel_v8_preview * $p2p *
{ name: "ci-test-hydra"
, desc: "ci-test variant intended for Hydra CI"
}

## CI variants: bench duration, 15 blocks
, $cibench_base *
Expand Down
1 change: 1 addition & 0 deletions nix/workbench/wb
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ start() {
--verbose | -v ) export verbose=t;;
--trace | --debug ) set -x;;
--trace-wb | --trace-workbench ) export WB_EXTRA_FLAGS=--trace;;
--create-testnet-data ) export WB_CREATE_TESTNET_DATA=1;;

--help ) usage_start
exit 1;;
Expand Down

0 comments on commit c75a987

Please sign in to comment.