From 92385d593a9ed10d01c147d2a138583dfe0400f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vector=20Nguy=E1=BB=85n?= <80930272+vectornguyen76@users.noreply.github.com> Date: Sun, 1 Dec 2024 19:02:17 +0700 Subject: [PATCH] Clean CICD template --- .github/workflows/cd.yml | 2 +- .github/workflows/development_pipeline.yml | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 12fd812..e042db6 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -53,7 +53,7 @@ jobs: run: | # Get current active environment (blue or green) ACTIVE_ENV=$(aws ec2 describe-instances \ - --filters "Name=tag:ApplicationName,Values=Omni Assistant" "Name=instance-state-name,Values=running" \ + --filters "Name=tag:ApplicationName,Values=Search Engine" "Name=instance-state-name,Values=running" \ --query 'Reservations[].Instances[].Tags[?Key==`Environment`].Value' \ --output text || echo "none") diff --git a/.github/workflows/development_pipeline.yml b/.github/workflows/development_pipeline.yml index d7498e6..e1459fe 100644 --- a/.github/workflows/development_pipeline.yml +++ b/.github/workflows/development_pipeline.yml @@ -6,14 +6,3 @@ on: jobs: ci: uses: ./.github/workflows/ci.yml - secrets: - OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - AZURE_OPENAI_ENDPOINT: ${{ secrets.AZURE_OPENAI_ENDPOINT }} - AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_OPENAI_API_KEY }} - OPENAI_API_VERSION: ${{ secrets.OPENAI_API_VERSION }} - FAQ_EMBEDDING_DEPLOYMENT_NAME: ${{ secrets.FAQ_EMBEDDING_DEPLOYMENT_NAME }} - DOCUMENT_EMBEDDING_DEPLOYMENT_NAME: ${{ secrets.DOCUMENT_EMBEDDING_DEPLOYMENT_NAME }} - CHAT_DEPLOYMENT_NAME: ${{ secrets.CHAT_DEPLOYMENT_NAME }} - AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - SECRET_KEY: ${{ secrets.SECRET_KEY }}