forked from wmde/wikibase-release-pipeline
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
74 lines (57 loc) · 1.85 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#!make
include variables.env
include .env
-include local.env
export
.PHONY: test
test:
bash test/test_suite.sh ${SUITE}
.PHONY: test-upgrade
test-upgrade:
bash test/test_upgrade.sh ${VERSION}
.PHONY: test-stop
test-stop:
cd test && bash test_stop.sh
test-all:
# bundle tests
bash test/test_suite.sh repo
bash test/test_suite.sh fedprops
bash test/test_suite.sh repo_client
bash test/test_suite.sh quickstatements
bash test/test_suite.sh pingback
bash test/test_suite.sh confirm_edit
bash test/test_suite.sh elasticsearch
# base tests
bash test/test_suite.sh base__repo
bash test/test_suite.sh base__repo_client
bash test/test_suite.sh base__fedprops
bash test/test_suite.sh base__pingback
requirements:
python3 build/requirements/build_version_requirements.py
cat artifacts/built_versions.log
wikibase:
bash update_cache.sh base
eval ". ./build/build_wikibase.sh; bash build/build_wikibase_docker.sh ${WIKIBASE_IMAGE_NAME}"
wikibase_bundle:
bash update_cache.sh bundle
bash build/build_wikibase_bundle_docker.sh ${WIKIBASE_IMAGE_NAME} ${WIKIBASE_BUNDLE_IMAGE_NAME}
quickstatements:
bash update_cache.sh services
eval ". ./build/build_quickstatements.sh; bash build/build_quickstatements_docker.sh ${QUICKSTATEMENTS_IMAGE_NAME}"
wdqs:
eval ". ./build/build_wdqs.sh; bash build/build_wdqs_docker.sh ${WDQS_IMAGE_NAME}"
wdqs-proxy:
bash build/build_wdqs_proxy_docker.sh ${WDQS_PROXY_IMAGE_NAME}
wdqs-frontend:
bash update_cache.sh services
eval ". ./build/build_wdqs_frontend.sh; bash build/build_wdqs_frontend_docker.sh ${WDQS_FRONTEND_IMAGE_NAME}"
elasticsearch:
bash build/build_elasticsearch_docker.sh ${ELASTICSEARCH_IMAGE_NAME}
clean-cache:
rm -rf cache/*
rm -rf git_cache/*
clean:
rm -rf artifacts/*.tar.gz
rm -rf artifacts/*.log
rm -rf artifacts/*.env
all: wikibase wikibase_bundle elasticsearch wdqs wdqs-frontend wdqs-proxy quickstatements