mirror of
https://github.com/status-im/libp2p-test-plans.git
synced 2025-01-15 09:26:19 +00:00
438b689cfa
* Browser testing with aegir * Support onlyDial * Bump timeout for browser tests * Support webtransport browser test * PR comments * Tweak * Handle cases where the listener exits before dialer * Remove debug code * Bump node version * Prewarm with playwright install * Support extra timeouts when running against node or browser * Add timeout option to rust and js
19 lines
683 B
Makefile
19 lines
683 B
Makefile
image_name := js-v0.21
|
|
TEST_SOURCES := $(wildcard test/*.ts)
|
|
|
|
all: chromium-image.json node-image.json
|
|
|
|
chromium-image.json: ChromiumDockerfile $(TEST_SOURCES) package.json package-lock.json
|
|
IMAGE_NAME=chromium-${image_name} ../../dockerBuildWrapper.sh -f ChromiumDockerfile .
|
|
docker image inspect chromium-${image_name} -f "{{.Id}}" | \
|
|
xargs -I {} echo "{\"imageID\": \"{}\"}" > $@
|
|
|
|
node-image.json: Dockerfile $(TEST_SOURCES) package.json package-lock.json
|
|
IMAGE_NAME=node-${image_name} ../../dockerBuildWrapper.sh -f Dockerfile .
|
|
docker image inspect node-${image_name} -f "{{.Id}}" | \
|
|
xargs -I {} echo "{\"imageID\": \"{}\"}" > $@
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
rm *image.json
|