-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
106 lines (76 loc) · 3.41 KB
/
Makefile
File metadata and controls
106 lines (76 loc) · 3.41 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
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# $(MAKE) all of the things
# Automation Installs ----------------------------------------------------------
install-python-tools:
pip install --upgrade pip && pip install pipenv
install-serverless:
npm install -g serverless@1.51.0
# Supportal --------------------------------------------------------------------
test-supportal:
cd ./supportal && $(MAKE) test && cd -
test-supportal-on-ubuntu:
cd ./supportal && $(MAKE) -j $(nproc) install-dev-ubuntu && cd -
cd ./supportal && $(MAKE) test && cd -
deploy-supportal:
cd ./supportal && $(MAKE) -j $(nproc) deploy-with-preflight && cd -
# Pollaris ---------------------------------------------------------------------
test-pollaris:
cd ./pollaris && $(MAKE) test && cd -
deploy-pollaris:
cd ./pollaris && $(MAKE) -j $(nproc) deploy-with-preflight && cd -
build-pollaris:
./container-utils build-image pollaris
publish-pollaris: build-pollaris
./container-utils publish-image pollaris
# EW Common --------------------------------------------------------------------
test-ew-common:
cd ./ew_common && $(MAKE) test && cd -
# Toes -------------------------------------------------------------------------
test-toes:
cd ./toes && $(MAKE) test && cd -
# Mission Control --------------------------------------------------------------
deploy-mission-control:
(export STAGE=prod && cd ./mission_control && $(MAKE) -j $(nproc) deploy && cd -)
# Sheet Sync -------------------------------------------------------------------
deploy-sheet-sync:
(export STAGE=prod && cd ./sheet_sync && $(MAKE) -j $(nproc) deploy && cd -)
# Redhook ----------------------------------------------------------------------
test-redhook:
cd ./redhook && $(MAKE) test && cd -
deploy-redhook:
cd ./redhook && $(MAKE) -j $(nproc) deploy && cd -
# Blitz ------------------------------------------------------------------------
test-blitz:
cd ./blitz && $(MAKE) test && cd -
deploy-blitz:
cd ./blitz && $(MAKE) -j $(nproc) deploy && cd -
# Civistrack -------------------------------------------------------------------
test-civistrack:
cd ./civistrack && $(MAKE) test && cd -
deploy-civistrack:
cd ./civistrack && $(MAKE) -j $(nproc) deploy && cd -
# Civility ---------------------------------------------------------------------
build-civility:
./container-utils build-image civility
publish-civility: build-civility
./container-utils publish-image civility
# ThePike ----------------------------------------------------------------------
test-thepike:
cd ./thepike && $(MAKE) test && cd -
deploy-thepike:
cd ./thepike && $(MAKE) -j $(nproc) deploy && cd -
# Airflow ----------------------------------------------------------------------
build-airflow-image:
./container-utils build-image airflow ./airflow/images/airflow
publish-airflow-image: build-airflow-image
./container-utils publish-image airflow false
build-airflow-task-image:
./container-utils build-image airflow-task ./airflow/images/task
publish-airflow-task-image: build-airflow-task-image
./container-utils publish-image airflow-task
build-datascience-python-image:
./container-utils build-image datascience-python ./airflow/images/datascience-python
publish-datascience-python-image: build-datascience-python-image
./container-utils publish-image datascience-python
# Test All ---------------------------------------------------------------------
.PHONY: test-all
test-all: test-supportal test-ew-common test-toes test-redhook test-pollaris test-blitz