From 2b57935aa0a62538a34bae2256181ca808289cf4 Mon Sep 17 00:00:00 2001 From: Tami Takamiya Date: Tue, 3 Dec 2024 15:29:26 -0500 Subject: [PATCH] Move RAG image to Ansible repository --- .tekton/ansible-chatbot-service-pull-request.yaml | 2 +- .tekton/ansible-chatbot-service-push.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.tekton/ansible-chatbot-service-pull-request.yaml b/.tekton/ansible-chatbot-service-pull-request.yaml index a3b7b7aa..681a27fb 100644 --- a/.tekton/ansible-chatbot-service-pull-request.yaml +++ b/.tekton/ansible-chatbot-service-pull-request.yaml @@ -258,7 +258,7 @@ spec: - name: COMMIT_SHA value: $(tasks.clone-repository.results.commit) - name: BUILD_ARGS - value: ["IMAGE_TAGS=pr-{{pull_request_number}} pr-{{pull_request_number}}.$(tasks.git-metadata.results.commit-timestamp)", "GIT_COMMIT=$(tasks.clone-repository.results.commit)", "RAG_CONTENTS_SUB_FOLDER=vector_db/aap_product_docs", "LIGHTSPEED_RAG_CONTENT_IMAGE=quay.io/ttakamiy/aap-rag-content:latest"] + value: ["IMAGE_TAGS=pr-{{pull_request_number}} pr-{{pull_request_number}}.$(tasks.git-metadata.results.commit-timestamp)", "GIT_COMMIT=$(tasks.clone-repository.results.commit)", "RAG_CONTENTS_SUB_FOLDER=vector_db/aap_product_docs", "LIGHTSPEED_RAG_CONTENT_IMAGE=quay.io/ansible/aap-rag-content:latest"] - name: BUILD_ARGS_FILE value: $(params.build-args-file) runAfter: diff --git a/.tekton/ansible-chatbot-service-push.yaml b/.tekton/ansible-chatbot-service-push.yaml index 675b71dd..830ff739 100644 --- a/.tekton/ansible-chatbot-service-push.yaml +++ b/.tekton/ansible-chatbot-service-push.yaml @@ -274,7 +274,7 @@ spec: - name: TARGET_STAGE value: production - name: BUILD_ARGS - value: [ "IMAGE_TAGS=latest 1.0.$(tasks.git-metadata.results.commit-timestamp)", "GIT_COMMIT=$(tasks.clone-repository.results.commit)", "RAG_CONTENTS_SUB_FOLDER=vector_db/aap_product_docs", "LIGHTSPEED_RAG_CONTENT_IMAGE=quay.io/ttakamiy/aap-rag-content:latest"] + value: [ "IMAGE_TAGS=latest 1.0.$(tasks.git-metadata.results.commit-timestamp)", "GIT_COMMIT=$(tasks.clone-repository.results.commit)", "RAG_CONTENTS_SUB_FOLDER=vector_db/aap_product_docs", "LIGHTSPEED_RAG_CONTENT_IMAGE=quay.io/ansible/aap-rag-content:latest"] runAfter: - prefetch-dependencies taskRef: