Skip to content

Commit fa572e2

Browse files
committed
fix: automated build and tear down
1 parent fb568fa commit fa572e2

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

.env.example

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
OPENAI_API_KEY=ADD-YOUR-OPENAI_API_KEY-HERE
2+
REPO_NAME=agentic-ai-workflow
3+
DOCKERHUB_USERNAME=lpm0073
4+
5+
# These settings are probably fine to leave as-is.
26
ENVIRONMENT=local
3-
DOCKERHUB_USERNAME=ADD-YOUR-DOCKERHUB_USERNAME-HERE
47
DOCKERHUB_ACCESS_TOKEN=ADD-YOUR-DOCKERHUB_ACCESS_TOKEN-HERE
58
LLM_TOOL_CHOICE=required
69
LOGGING_LEVEL=20

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
.mypy_cache/
3+
14
# my own homegrown file to store coverage report output from Docker.
25
coverage.out
36

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ docker-coverage:
129129
/bin/bash -c "python -m coverage run --source=app --omit='app/tests/*' -m unittest discover -s app/tests && python -m coverage report -m --omit='app/tests/*' && python -m coverage xml --omit='app/tests/*'"
130130

131131
docker-prune:
132-
@if [ "`docker ps -aq`" ]; then \
133-
docker stop $(docker ps -aq); \
132+
@if [ -n "$$(docker ps -aq)" ]; then \
133+
docker stop $$(docker ps -aq); \
134134
fi
135135
@docker container prune -f
136136
@docker image prune -af

0 commit comments

Comments
 (0)