generated from jupyter-naas/data-product-framework
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathMakefile
193 lines (131 loc) · 6.72 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
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
.venv:
@ docker compose run abi poetry install
install:
@ docker compose run abi poetry install
@ docker compose run abi poetry update abi
abi-add: .venv
@ docker compose run abi bash -c 'cd lib && poetry add $(dep) && poetry lock --no-update'
add:
@ docker compose run abi bash -c 'poetry add $(dep) && poetry lock --no-update'
lock:
@ docker compose run abi poetry lock --no-update
path=tests/
test:
@ docker compose run abi poetry run pytest $(path)
sh: .venv
@ docker compose run -it abi bash
api: .venv
@ docker compose run -p 9879:9879 abi poetry run api
# Docker Build Commands
# -------------------
# These commands are used to build the Docker image for the ABI project
# Default build target that triggers the Linux x86_64 build
build: build.linux.x86_64
# Builds a Docker image for Linux x86_64 architecture
# Usage: make build.linux.x86_64
#
# Parameters:
# - Image name: abi
# - Dockerfile: Dockerfile.linux.x86_64
# - Platform: linux/amd64 (ensures consistent builds on x86_64/amd64 architecture)
build.linux.x86_64:
docker build . -t abi -f Dockerfile.linux.x86_64 --platform linux/amd64
# -------------------------------------------------------------------------------------------------
chat-supervisor-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-supervisor-agent'
chat-support-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-support-agent'
chat-content-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-content-agent'
chat-finance-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-finance-agent'
chat-growth-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-growth-agent'
chat-opendata-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-opendata-agent'
chat-operations-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-operations-agent'
chat-sales-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-sales-agent'
chat-airtable-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-airtable-agent'
chat-algolia-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-algolia-agent'
chat-aws-s3-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-aws-s3-agent'
chat-clockify-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-clockify-agent'
chat-discord-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-discord-agent'
chat-github-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-github-agent'
chat-gladia-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-gladia-agent'
chat-gmail-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-gmail-agent'
chat-google-analytics-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-google-analytics-agent'
chat-google-calendar-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-google-calendar-agent'
chat-google-drive-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-google-drive-agent'
chat-google-sheets-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-google-sheets-agent'
chat-harvest-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-harvest-agent'
chat-hubspot-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-hubspot-agent'
chat-linkedin-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-linkedin-agent'
chat-naas-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-naas-agent'
chat-news-api-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-news-api-agent'
chat-notion-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-notion-agent'
chat-onedrive-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-onedrive-agent'
chat-pennylane-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-pennylane-agent'
chat-pipedrive-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-pipedrive-agent'
chat-postgres-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-postgres-agent'
chat-qonto-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-qonto-agent'
chat-serper-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-serper-agent'
chat-slack-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-slack-agent'
chat-stripe-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-stripe-agent'
chat-supabase-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-supabase-agent'
chat-yahoo-finance-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-yahoo-finance-agent'
chat-youtube-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-youtube-agent'
chat-zerobounce-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-zerobounce-agent'
chat-sendgrid-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-sendgrid-agent'
chat-plotly-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-plotly-agent'
chat-matplotlib-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-matplotlib-agent'
chat-mercury-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-mercury-agent'
chat-agicap-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-agicap-agent'
chat-brevo-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-brevo-agent'
chat-mailchimp-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-mailchimp-agent'
chat-instagram-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-instagram-agent'
chat-whatsapp-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-whatsapp-agent'
chat-glassdoor-agent: .venv
@ docker compose run abi bash -c 'poetry install && poetry run chat-glassdoor-agent'
.DEFAULT_GOAL := chat-supervisor-agent
.PHONY: test chat-supervisor-agent chat-support-agent chat-content-agent chat-finance-agent chat-growth-agent chat-opendata-agent chat-operations-agent chat-sales-agent api sh lock add abi-add