Skip to content

Commit

Permalink
Clean CICD template
Browse files Browse the repository at this point in the history
  • Loading branch information
vectornguyen76 committed Dec 1, 2024
1 parent 1bb8d20 commit 92385d5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
11 changes: 0 additions & 11 deletions .github/workflows/development_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 92385d5

Please sign in to comment.