-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
48 lines (32 loc) · 1.32 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
# 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:
cd src && bash -x scripts/docker_image_build.sh
build: build-image
cd src && bash -x scripts/build.sh
tests: build-image
cd src && bash -x scripts/unit_tests.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)