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/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 . 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 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