Skip to content

Commit e6e377e

Browse files
2 parents 7753569 + 6bc84b6 commit e6e377e

163 files changed

Lines changed: 11376 additions & 7995 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.flake8

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
[flake8]
22
max-line-length = 88
33
extend-ignore = E501
4-
exclude = .venv, frontend, src/backend/tests
4+
exclude =
5+
.venv,
6+
frontend,
7+
src/frontend,
8+
src/backend/tests,
9+
*.tsx,
10+
*.ts,
11+
*.jsx,
12+
*.js
513
ignore = E203, W503, G004, G200, E402

.github/workflows/agnext-biab-02-containerimage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
# run: |
2222
# curl -fsSL ${{ vars.AUTOGEN_WHL_URL }} -o agnext-biab-02/autogen_core-0.3.dev0-py3-none-any.whl
2323
- name: Log in to the Container registry
24-
uses: docker/login-action@v3
24+
uses: docker/login-action@v4
2525
with:
2626
registry: ${{ env.REGISTRY }}
2727
username: ${{ github.actor }}

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161

6262
# Initializes the CodeQL tools for scanning.
6363
- name: Initialize CodeQL
64-
uses: github/codeql-action/init@v3
64+
uses: github/codeql-action/init@v4
6565
with:
6666
languages: ${{ matrix.language }}
6767
build-mode: ${{ matrix.build-mode }}
@@ -89,6 +89,6 @@ jobs:
8989
exit 1
9090
9191
- name: Perform CodeQL Analysis
92-
uses: github/codeql-action/analyze@v3
92+
uses: github/codeql-action/analyze@v4
9393
with:
9494
category: "/language:${{matrix.language}}"

.github/workflows/create-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
with:
1919
ref: ${{ github.event.workflow_run.head_sha }}
2020

21-
- uses: codfish/semantic-release-action@v3
21+
- uses: codfish/semantic-release-action@v4
2222
id: semantic
2323
with:
2424
tag-format: 'v${version}'

.github/workflows/deploy-orchestrator.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Deployment orchestrator v2
1+
name: Deployment orchestrator
22

33
on:
44
workflow_call:
@@ -74,7 +74,7 @@ jobs:
7474
secrets: inherit
7575

7676
deploy:
77-
if: always() && (inputs.trigger_type != 'workflow_dispatch' || inputs.existing_webapp_url == '' || inputs.existing_webapp_url == null)
77+
if: "!cancelled() && (inputs.trigger_type != 'workflow_dispatch' || inputs.existing_webapp_url == '' || inputs.existing_webapp_url == null)"
7878
needs: docker-build
7979
uses: ./.github/workflows/job-deploy.yml
8080
with:
@@ -94,7 +94,7 @@ jobs:
9494
secrets: inherit
9595

9696
e2e-test:
97-
if: always() && ((needs.deploy.result == 'success' && needs.deploy.outputs.WEBAPP_URL != '') || (inputs.existing_webapp_url != '' && inputs.existing_webapp_url != null)) && (inputs.trigger_type != 'workflow_dispatch' || (inputs.run_e2e_tests != 'None' && inputs.run_e2e_tests != '' && inputs.run_e2e_tests != null))
97+
if: "!cancelled() && ((needs.deploy.result == 'success' && needs.deploy.outputs.WEBAPP_URL != '') || (inputs.existing_webapp_url != '' && inputs.existing_webapp_url != null)) && (inputs.trigger_type != 'workflow_dispatch' || (inputs.run_e2e_tests != 'None' && inputs.run_e2e_tests != '' && inputs.run_e2e_tests != null))"
9898
needs: [docker-build, deploy]
9999
uses: ./.github/workflows/test-automation-v2.yml
100100
with:
@@ -105,7 +105,7 @@ jobs:
105105
secrets: inherit
106106

107107
send-notification:
108-
if: always()
108+
if: "!cancelled()"
109109
needs: [docker-build, deploy, e2e-test]
110110
uses: ./.github/workflows/job-send-notification.yml
111111
with:

.github/workflows/deploy-waf.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Validate WAF Deployment v3
1+
name: Validate WAF Deployment v4
22

33
on:
44
push:
@@ -16,7 +16,7 @@ jobs:
1616
GPT41_MINI_MIN_CAPACITY: 1
1717
steps:
1818
- name: Checkout Code
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020

2121
- name: Run Quota Check
2222
id: quota-check
@@ -130,7 +130,7 @@ jobs:
130130
enablePrivateNetworking=true \
131131
enableScalability=true \
132132
createdBy="Pipeline" \
133-
tags="{'SecurityControl':'Ignore','Purpose':'Deploying and Cleaning Up Resources for Validation','CreatedDate':'$current_date'}"
133+
tags="{'Purpose':'Deploying and Cleaning Up Resources for Validation','CreatedDate':'$current_date'}"
134134
135135
136136
- name: Send Notification on Failure

.github/workflows/deploy.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
name: Validate Deployment v3
1+
name: Validate Deployment v4
22

33
on:
44
workflow_run:
5-
workflows: ["Build Docker and Optional Push v3"]
5+
workflows: ["Build Docker and Optional Push v4"]
66
types:
77
- completed
88
branches:
99
- main
10-
- dev-v3
10+
- dev-v4
1111
- hotfix
1212
schedule:
1313
- cron: "0 11,23 * * *" # Runs at 11:00 AM and 11:00 PM GMT
@@ -29,7 +29,7 @@ jobs:
2929
CONTAINER_APP: ${{steps.get_backend_url.outputs.CONTAINER_APP}}
3030
steps:
3131
- name: Checkout Code
32-
uses: actions/checkout@v3
32+
uses: actions/checkout@v4
3333

3434
- name: Run Quota Check
3535
id: quota-check
@@ -120,9 +120,9 @@ jobs:
120120
id: deploy
121121
run: |
122122
if [[ "${{ env.BRANCH_NAME }}" == "main" ]]; then
123-
IMAGE_TAG="latest_v3"
124-
elif [[ "${{ env.BRANCH_NAME }}" == "dev-v3" ]]; then
125-
IMAGE_TAG="dev_v3"
123+
IMAGE_TAG="latest_v4"
124+
elif [[ "${{ env.BRANCH_NAME }}" == "dev-v4" ]]; then
125+
IMAGE_TAG="dev_v4"
126126
elif [[ "${{ env.BRANCH_NAME }}" == "hotfix" ]]; then
127127
IMAGE_TAG="hotfix"
128128
else
@@ -146,7 +146,7 @@ jobs:
146146
azureAiServiceLocation='${{ env.AZURE_LOCATION }}' \
147147
gptModelCapacity=50 \
148148
createdBy="Pipeline" \
149-
tags="{'SecurityControl':'Ignore','Purpose':'Deploying and Cleaning Up Resources for Validation','CreatedDate':'$current_date'}" \
149+
tags="{'Purpose':'Deploying and Cleaning Up Resources for Validation','CreatedDate':'$current_date'}" \
150150
--output json
151151
152152
- name: Extract Web App and API App URLs

.github/workflows/docker-build-and-push.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
name: Build Docker and Optional Push v3
1+
name: Build Docker and Optional Push v4
22

33
on:
44
push:
55
branches:
66
- main
7-
- dev-v3
8-
- demo-v3
7+
- dev-v4
8+
- demo-v4
99
- hotfix
1010
pull_request:
1111
types:
@@ -15,8 +15,8 @@ on:
1515
- synchronize
1616
branches:
1717
- main
18-
- dev-v3
19-
- demo-v3
18+
- dev-v4
19+
- demo-v4
2020
- hotfix
2121
workflow_dispatch:
2222

@@ -32,7 +32,7 @@ jobs:
3232
uses: docker/setup-buildx-action@v1
3333

3434
- name: Log in to Azure Container Registry
35-
if: ${{ github.ref_name == 'main' || github.ref_name == 'dev-v3'|| github.ref_name == 'demo-v3' || github.ref_name == 'hotfix' }}
35+
if: ${{ github.ref_name == 'main' || github.ref_name == 'dev-v4'|| github.ref_name == 'demo-v4' || github.ref_name == 'hotfix' }}
3636
uses: azure/docker-login@v2
3737
with:
3838
login-server: ${{ secrets.ACR_LOGIN_SERVER || 'acrlogin.azurecr.io' }}
@@ -52,11 +52,11 @@ jobs:
5252
id: determine_tag
5353
run: |
5454
if [[ "${{ github.ref }}" == "refs/heads/main" ]]; then
55-
echo "TAG=latest_v3" >> $GITHUB_ENV
56-
elif [[ "${{ github.ref }}" == "refs/heads/dev-v3" ]]; then
57-
echo "TAG=dev_v3" >> $GITHUB_ENV
58-
elif [[ "${{ github.ref }}" == "refs/heads/demo-v3" ]]; then
59-
echo "TAG=demo_v3" >> $GITHUB_ENV
55+
echo "TAG=latest_v4" >> $GITHUB_ENV
56+
elif [[ "${{ github.ref }}" == "refs/heads/dev-v4" ]]; then
57+
echo "TAG=dev_v4" >> $GITHUB_ENV
58+
elif [[ "${{ github.ref }}" == "refs/heads/demo-v4" ]]; then
59+
echo "TAG=demo_v4" >> $GITHUB_ENV
6060
elif [[ "${{ github.ref }}" == "refs/heads/hotfix" ]]; then
6161
echo "TAG=hotfix" >> $GITHUB_ENV
6262
else

.github/workflows/job-cleanup-deployment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Cleanup Deployment Job v2
1+
name: Cleanup Deployment Job
22

33
on:
44
workflow_call:

.github/workflows/job-deploy-linux.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Deploy Steps - Linux v2
1+
name: Deploy Steps - Linux
22

33
on:
44
workflow_call:
@@ -136,11 +136,7 @@ jobs:
136136
else
137137
echo "EXP DISABLED - Skipping EXP parameters"
138138
fi
139-
140-
# Set tags for deployment
141-
echo "Setting deployment tags..."
142-
azd env set AZURE_TAG_SECURITY_CONTROL="Ignore"
143-
139+
144140
azd up --no-prompt
145141
146142
echo "✅ Deployment succeeded."

0 commit comments

Comments
 (0)