Skip to content
Snippets Groups Projects
Verified Commit 08a1ce6c authored by Levente Polyak's avatar Levente Polyak :rocket:
Browse files

feat(make): add network parameter for debugging and dev environment

This allows to easily override the disabled networking, like passing the
host network to have a simple development environment.
parent dac6c457
No related branches found
No related tags found
No related merge requests found
IMAGE:=dbscripts/test IMAGE:=dbscripts/test
RUN_OPTIONS:=--rm --network=none -v $(PWD):/dbscripts:ro --tmpfs=/tmp:exec -w /dbscripts/test NETWORK:=none
RUN_OPTIONS:=--rm --network=$(NETWORK) -v $(PWD):/dbscripts:ro --tmpfs=/tmp:exec -w /dbscripts/test
CASES ?= cases CASES ?= cases
JOBS ?= $(shell nproc) JOBS ?= $(shell nproc)
BATS_ARGS ?= --jobs $(JOBS) --verbose-run BATS_ARGS ?= --jobs $(JOBS) --verbose-run
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment