Skip to content

Commit

Permalink
Merge #4606
Browse files Browse the repository at this point in the history
4606: Bench nomad r=fmaste a=fmaste

- New workbench backend based on nomad/podman
- Add multi-backend support using `make BACKEND=nomad shell`
- Using `nix2container` to build the OCI images for performance issues

Co-authored-by: Federico Mastellone <[email protected]>
  • Loading branch information
iohk-bors[bot] and fmaste authored Nov 25, 2022
2 parents f7496b4 + a316730 commit 84fa2e2
Show file tree
Hide file tree
Showing 17 changed files with 1,240 additions and 139 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ NUM_PROC = $(nproc --all)
ERA ?= bage

PROFILE ?= default-${ERA}
BACKEND ?= supervisor
REV ?= master
ITER ?=
ARGS ?=
Expand Down Expand Up @@ -49,7 +50,7 @@ ci-targets: $(CI_TARGETS)
## Base targets:
##
shell: ## Nix shell, (workbench from /nix/store), vars: PROFILE, CMD, RUN
nix-shell -A 'workbench-shell' --max-jobs 8 --cores 0 --show-trace --argstr profileName ${PROFILE} ${ARGS} ${if ${CMD},--command "${CMD}"} ${if ${RUN},--run "${RUN}"}
nix-shell -A 'workbench-shell' --max-jobs 8 --cores 0 --show-trace --argstr profileName ${PROFILE} --argstr backendName ${BACKEND} ${ARGS} ${if ${CMD},--command "${CMD}"} ${if ${RUN},--run "${RUN}"}
shell-dev shell-prof shell-nix: shell
shell-nix: ARGS += --arg 'workbenchDevMode' false ## Nix shell, (workbench from Nix store), vars: PROFILE, CMD, RUN
shell-prof: ARGS += --arg 'profiled' true ## Nix shell, everything Haskell built profiled
Expand Down
Loading

0 comments on commit 84fa2e2

Please sign in to comment.