-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (28 loc) · 1.2 KB
/
Makefile
File metadata and controls
39 lines (28 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
APPWRITE_CLI_TAG=latest
APPWRITE_PLAYWRIGHT_TAG=latest
build_appwrite_cli:
docker build -t appwrite-cli:$(APPWRITE_CLI_TAG) -f docker/Dockerfile.appwrite_cli ./docker
build_appwrite_playwright:
docker build -t appwrite-playwright:$(APPWRITE_PLAYWRIGHT_TAG) -f docker/Dockerfile.appwrite_playwright ./docker
# push_appwrite_cli:
# docker tag appwrite-cli:latest appwrite-cli:$(APPWRITE_CLI_TAG)
# docker push appwrite-cli:$(APPWRITE_CLI_TAG)
patch_templates:
@VENV=$$(mktemp -d) && \
uv venv $$VENV > /dev/null 2>&1 && \
. $$VENV/bin/activate > /dev/null 2>&1 && \
uv pip install ruamel.yaml > /dev/null 2>&1 && \
python scripts/selinuxify_template_patch.py && \
rm -rf $$VENV
tests:
@set -e; \
uv run pytest -rs -v -s -m e2e || exit 0; \
$(MAKE) clean-tests
clean-tests:
@. .venv/bin/activate && \
appwrite-lab stop test-lab
build_twilio_shim:
cd twilio-shim && docker buildx build -t docker.io/syntaxsdev/twilio-shim:latest -f Dockerfile . --load
push_twilio_shim:
cd twilio-shim && docker buildx build -t docker.io/syntaxsdev/twilio-shim:latest -f Dockerfile . --load --push
.PHONY: patch_templates tests clean-tests build_appwrite_cli build_appwrite_playwright build_twilio_shim push_twilio_shim