-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
61 lines (41 loc) · 1.57 KB
/
Makefile
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# release: build-deployment
# @docker run --rm -it -v ${HOME}/.ssh:/root/.ssh:ro -v $(CURDIR)/scripts:/opt/scripts das-deployment:latest /opt/scripts/deployment/release.sh
# deploy: build-deployment
# @docker run --rm -it -v ${HOME}/.ssh:/root/.ssh:ro -v $(CURDIR)/scripts:/opt/scripts das-deployment:latest /opt/scripts/deployment/fn_deploy.sh
release:
@bash $(CURDIR)/scripts/deployment/release.sh
deploy:
@bash $(CURDIR)/scripts/deployment/fn_deploy.sh
integration-tests:
@bash $(CURDIR)/scripts/deployment/tests.sh
build-deployment:
@docker build -f .docker/deployment/Dockerfile -t das-deployment:latest .
build-semver:
@docker image build -t trueagi/das:semantic-versioning ./scripts/semver
publish-semver:
@docker image push trueagi/das:semantic-versioning
github-runner:
@bash $(CURDIR)/scripts/github-runner/main.sh
build-image:
@bash -x src/scripts/docker_image_build.sh
build-all: build-image
@bash -x src/scripts/build.sh
run-query-agent:
@bash -x src/scripts/run.sh query_broker 31700
run-attention-broker:
@bash -x src/scripts/run.sh attention_broker_service 37007
run-link-creation-agent:
@bash -x src/scripts/run.sh link_creation_server $(OPTIONS)
run-link-creation-client:
@bash -x src/scripts/run.sh link_creation_agent_client $(OPTIONS)
setup-nunet-dms:
@bash -x src/scripts/setup-nunet-dms.sh
reset-nunet-dms:
@bash -x src/scripts/reset-nunet-dms.sh
bazel:
@bash ./src/scripts/bazel.sh $(filter-out $@, $(MAKECMDGOALS))
test-all: build-image
$(MAKE) bazel test //...
# Catch-all pattern to prevent make from complaining about unknown targets
%:
@: