-
Notifications
You must be signed in to change notification settings - Fork 161
ci: fix client advisor deploy and test automation workflows #594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
2548c95
ac66805
a1c737f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -4,6 +4,8 @@ on: | |||||||||||||||
| push: | ||||||||||||||||
| branches: | ||||||||||||||||
| - main | ||||||||||||||||
| - dev | ||||||||||||||||
| - demo | ||||||||||||||||
| schedule: | ||||||||||||||||
| - cron: '0 6,18 * * *' # Runs at 6:00 AM and 6:00 PM GMT | ||||||||||||||||
|
|
||||||||||||||||
|
|
@@ -51,8 +53,8 @@ jobs: | |||||||||||||||
| export AZURE_TENANT_ID="${{ secrets.AZURE_TENANT_ID }}" | ||||||||||||||||
| export AZURE_CLIENT_SECRET="${{ secrets.AZURE_CLIENT_SECRET }}" | ||||||||||||||||
| export AZURE_SUBSCRIPTION_ID="${{ secrets.AZURE_SUBSCRIPTION_ID }}" | ||||||||||||||||
| export GPT_MIN_CAPACITY="150" | ||||||||||||||||
| export TEXT_EMBEDDING_MIN_CAPACITY="80" | ||||||||||||||||
| export GPT_MIN_CAPACITY="${{ env.GPT_MIN_CAPACITY }}" | ||||||||||||||||
| export TEXT_EMBEDDING_MIN_CAPACITY="${{ env.TEXT_EMBEDDING_MIN_CAPACITY }}" | ||||||||||||||||
|
||||||||||||||||
| export AZURE_REGIONS="${{ vars.AZURE_REGIONS_CA }}" | ||||||||||||||||
|
||||||||||||||||
| export AZURE_REGIONS="${{ vars.AZURE_REGIONS_CA }}" | |
| export AZURE_REGIONS="${{ vars.AZURE_REGIONS_CA }}" | |
| # Validate environment variables | |
| if [ -z "${GPT_MIN_CAPACITY}" ] || [ -z "${TEXT_EMBEDDING_MIN_CAPACITY}" ]; then | |
| echo "Error: GPT_MIN_CAPACITY or TEXT_EMBEDDING_MIN_CAPACITY is not set." >&2 | |
| exit 1 | |
| fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The 'fix-deploy' branch mentioned in the PR description is not included in the branch list. Consider adding it if deployments should trigger for that branch as well.