You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
docker-tor-hidden-service/Makefile

40 lines
899 B
Makefile

.EXPORT_ALL_VARIABLES:
TOR_VERSION = $(shell bash last_tor_version.sh)
CUR_COMMIT = $(shell git rev-parse --short HEAD)
CUR_TAG = v$(TOR_VERSION)-$(CUR_COMMIT)
test:
tox
tag:
git tag $(CUR_TAG)
release: test tag
git push origin --tags
check:
pre-commit run --all-files
build:
- echo build with tor version $(TOR_VERSION)
docker-compose -f docker-compose.build.yml build
rebuild:
- echo rebuild with tor version $(TOR_VERSION)
docker-compose -f docker-compose.build.yml build --no-cache
run: build
docker-compose -f docker-compose-v1.yml up --force-recreate
run-v2: build
docker-compose -f docker-compose.v2.yml up --force-recreate
run-v2-socket: build
docker-compose -f docker-compose.v2.socket.yml up --force-recreate
run-v3: build
docker-compose -f docker-compose.v3.yml up --force-recreate
run-v3-latest:
docker-compose -f docker-compose.v3.latest.yml up --force-recreate