From 777b104ba611ace7f1c7c0bff6f5e79424d20ae7 Mon Sep 17 00:00:00 2001 From: Andreas Klos Date: Thu, 22 May 2025 14:13:35 +0200 Subject: [PATCH 1/3] chore: add build and push action to makefile --- Makefile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3546f137..6f9adb9c 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ lint: cd rag-core-library;make lint cd admin-backend;make lint cd rag-backend;make lint - cd document-extractor;make lint + cd document-extractor;make lint update-lock: cd rag-core-library;make update-lock @@ -16,4 +16,14 @@ black: cd rag-core-library;make black cd admin-backend;black . cd rag-backend;black . - cd document-extractor;black . \ No newline at end of file + cd document-extractor;black . + +IMAGE_TAG?=v1.0.0 +REGISTRY?= + +build_and_push: + docker buildx build --platform linux/amd64 -t $(REGISTRY)/rag-backend:$(IMAGE_TAG) -f rag-backend/Dockerfile --push . + docker buildx build --platform linux/amd64 -t $(REGISTRY)/admin-backend:$(IMAGE_TAG) -f admin-backend/Dockerfile --push . + docker buildx build --platform linux/amd64 -t $(REGISTRY)/document-extractor:$(IMAGE_TAG) -f document-extractor/Dockerfile --push . + docker buildx build --platform linux/amd64 -t $(REGISTRY)/frontend:$(IMAGE_TAG) -f frontend/apps/chat-app/Dockerfile --push . + docker buildx build --platform linux/amd64 -t $(REGISTRY)/admin-frontend:$(IMAGE_TAG) -f frontend/apps/admin-app/Dockerfile --push . From b0bb3ca275947d22103ddbab05735d9c504f24a6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 23 May 2025 04:49:19 +0000 Subject: [PATCH 2/3] chore: update submodules to latest main --- rag-infrastructure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rag-infrastructure b/rag-infrastructure index 24e755ec..ec1bbbd6 160000 --- a/rag-infrastructure +++ b/rag-infrastructure @@ -1 +1 @@ -Subproject commit 24e755ec4961752a01de4a868df2c7f390194b5d +Subproject commit ec1bbbd635446bbadf018904907ff48c0676dab4 From ba8963163954e1e5db48ab5a0f5485a6088fb6a2 Mon Sep 17 00:00:00 2001 From: Andreas Klos Date: Fri, 23 May 2025 10:09:49 +0200 Subject: [PATCH 3/3] chore: set minio enabnled in tiltfile --- .gitignore | 4 +++- Tiltfile | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 5b32331a..1f9622a0 100644 --- a/.gitignore +++ b/.gitignore @@ -6,11 +6,13 @@ helm-chart/charts/rag-0.0.1.tgz pyrightconfig.json notes*.md notes.md - +auth +*-values.yaml # Node Modules node_modules/ + # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] diff --git a/Tiltfile b/Tiltfile index 93b57ae3..bf61b99c 100644 --- a/Tiltfile +++ b/Tiltfile @@ -310,6 +310,7 @@ value_override = [ # variables "shared.debug.backend.enabled=%s" % backend_debug, "features.frontend.enabled=true", + "features.minio.enabled=true", "shared.config.tls.enabled=false", "shared.ssl=false", # ingress host names