update
This commit is contained in:
11
Makefile
11
Makefile
@@ -1,6 +1,6 @@
|
|||||||
# Makefile for rns-page-node
|
# Makefile for rns-page-node
|
||||||
|
|
||||||
.PHONY: all build sdist wheel clean install lint format docker-wheels docker-build docker-run docker-build-rootless docker-run-rootless help
|
.PHONY: all build sdist wheel clean install lint format docker-wheels docker-build docker-run docker-build-rootless docker-run-rootless help test docker-test
|
||||||
|
|
||||||
all: build
|
all: build
|
||||||
|
|
||||||
@@ -61,6 +61,13 @@ docker-run-rootless:
|
|||||||
--identity-dir /app/node-config \
|
--identity-dir /app/node-config \
|
||||||
--announce-interval 360
|
--announce-interval 360
|
||||||
|
|
||||||
|
test:
|
||||||
|
bash tests/run_tests.sh
|
||||||
|
|
||||||
|
docker-test:
|
||||||
|
docker build -f tests/Dockerfile.tests -t rns-page-node-tests .
|
||||||
|
docker run --rm rns-page-node-tests
|
||||||
|
|
||||||
help:
|
help:
|
||||||
@echo "Makefile commands:"
|
@echo "Makefile commands:"
|
||||||
@echo " all - alias for build"
|
@echo " all - alias for build"
|
||||||
@@ -76,3 +83,5 @@ help:
|
|||||||
@echo " docker-run - run runtime Docker image"
|
@echo " docker-run - run runtime Docker image"
|
||||||
@echo " docker-build-rootless - build rootless runtime Docker image"
|
@echo " docker-build-rootless - build rootless runtime Docker image"
|
||||||
@echo " docker-run-rootless - run rootless runtime Docker image"
|
@echo " docker-run-rootless - run rootless runtime Docker image"
|
||||||
|
@echo " test - run local integration tests"
|
||||||
|
@echo " docker-test - build and run integration tests in Docker"
|
||||||
Reference in New Issue
Block a user