Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
58aea18
Added main.biceppram file and removed hard coded var values in bicep
TravisHilbert May 5, 2025
d79a91e
updating azure.yaml
TravisHilbert May 5, 2025
f20dd49
Update azure-dev.yml
gpickett May 5, 2025
dff0019
Update azure-dev.yml
gpickett May 5, 2025
5d622ad
Update azure-dev.yml
gpickett May 5, 2025
5ea9588
Update azure-dev.yml
gpickett May 5, 2025
63996fd
Merge pull request #178 from microsoft/gpickett-patch-2
gpickett May 5, 2025
6c8a4e1
Refactor the bicep code to enhance resource naming conventions and pa…
Abdul-Microsoft May 6, 2025
48f6ad2
Merge branch 'main' into dev
Abdul-Microsoft May 6, 2025
c950dae
Remove main.bicepparam file and its parameters
Abdul-Microsoft May 6, 2025
155d295
Merge remote-tracking branch 'origin/main' into dev
Prashant-Microsoft May 6, 2025
10ef8d2
testing var named imageName
TravisHilbert May 6, 2025
e9b9319
Merge branch 'dev' of https://github.com/microsoft/Multi-Agent-Custom…
TravisHilbert May 6, 2025
bf882a9
reverting change
TravisHilbert May 6, 2025
bd62025
feat: add historical tagging to Docker image builds
Abdul-Microsoft May 7, 2025
84cadee
added changes for testing from feature branch
Abdul-Microsoft May 7, 2025
9b8944d
refactor: improve Docker build workflow by restructuring tag determin…
Abdul-Microsoft May 7, 2025
034fb65
refactor: streamline Docker image build and push steps using build-pu…
Abdul-Microsoft May 7, 2025
706b48a
remove feature branch from Docker build workflow triggers
Abdul-Microsoft May 7, 2025
243a6cf
Merge pull request #187 from microsoft/feature/psl-conregchanges
Roopan-Microsoft May 7, 2025
51c2d70
Testing ai key error fix
TravisHilbert May 7, 2025
43dddaa
fix: generic agent prompt issue
Prashant-Microsoft May 8, 2025
6b0b574
fix for disable local auth issues
Abdul-Microsoft May 9, 2025
198ddc8
Merge branch 'dev' of https://github.com/microsoft/Multi-Agent-Custom…
Prashant-Microsoft May 12, 2025
d278500
refactor: clean up imports and remove unused code across multiple files
Abdul-Microsoft May 12, 2025
9e05505
Change Version of packages in requirment.txt
NirajC-Microsoft May 12, 2025
b29ef60
remove feature branch from workflow triggers
Abdul-Microsoft May 12, 2025
dc88a5c
refactor: update AI project role assignment
Abdul-Microsoft May 13, 2025
20f1947
Merge pull request #200 from microsoft/psl-version-of-requirment
Roopan-Microsoft May 13, 2025
9684ba2
fix: update flake8 to exclude the unit testing folder
Abdul-Microsoft May 13, 2025
44f562e
Merge pull request #201 from microsoft/feature/pylintfix
Roopan-Microsoft May 13, 2025
dcc6182
Merge branch 'dev' into feature/dev-localauthchanges
Abdul-Microsoft May 13, 2025
9eee75a
fix: update main.json
Abdul-Microsoft May 13, 2025
dc23cba
Merge pull request #206 from microsoft/feature/dev-localauthchanges
Roopan-Microsoft May 13, 2025
bd244c7
Merge branch 'dev' into feature/bicepchanges
Abdul-Microsoft May 14, 2025
67225f2
fix: update Key Vault and AI Services configurations for public netwo…
Abdul-Microsoft May 14, 2025
2ec5359
Merge pull request #208 from microsoft/feature/bicepchanges
Roopan-Microsoft May 15, 2025
a137a38
fix: update App Service SKU from PremiumV2 to Basic (B2)
Abdul-Microsoft May 15, 2025
01debb0
Merge pull request #211 from microsoft/feature/bicepchanges
Roopan-Microsoft May 15, 2025
07d8b90
Merge pull request #193 from microsoft/psl-task-17705
Roopan-Microsoft May 15, 2025
df82199
fix: remove autogen reference and update azureOpenAILocation parameter
Abdul-Microsoft May 19, 2025
d31def5
Merge pull request #215 from microsoft/psl-remove-autogenref
Roopan-Microsoft May 19, 2025
529d6c5
Merge branch 'main' into dev
Abdul-Microsoft May 19, 2025
7d504f3
Update azure-dev.yml
Roopan-Microsoft May 21, 2025
56d9c9b
Update azure-dev.yml
Roopan-Microsoft May 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .azdo/pipelines/azure-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
# Set this to the mainline branch you are using
trigger:
- main
- master
- feature/azd-semantickernel

# Azure Pipelines workflow to deploy to Azure using azd
# To configure required secrets and service connection for connecting to Azure, simply run `azd pipeline config --provider azdo`
Expand Down
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[flake8]
max-line-length = 88
extend-ignore = E501
exclude = .venv, frontend
exclude = .venv, frontend, src/backend/tests
ignore = E203, W503, G004, G200, E402
70 changes: 9 additions & 61 deletions .github/workflows/azure-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ name: Azure Template Validation
on:
push:
branches:
- dev
- main
- feature/azd-semantickernel
workflow_dispatch:

permissions:
Expand All @@ -15,69 +13,19 @@ permissions:
jobs:
template_validation_job:
runs-on: ubuntu-latest
name: Template validation
name: template validation
steps:
# Step 1: Checkout the code from your repository
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/checkout@v4

# Step 2: Set up Python
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"

# Step 3: Create and populate the virtual environment
- name: Create virtual environment and install dependencies
run: |
python -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
pip install azure-mgmt-resource azure-identity azure-core azure-mgmt-subscription azure-cli-core
# Install any other dependencies that might be needed
pip freeze > requirements-installed.txt
echo "Virtual environment created with these packages:"
cat requirements-installed.txt

# Step 4: Create azd directory if it doesn't exist
- name: Create azd directory
run: |
mkdir -p ./.azd || true
touch ./.azd/.env || true

# Step 5: Validate the Azure template
- name: Validate Azure Template
uses: microsoft/[email protected]
- uses: microsoft/template-validation-action@Latest
id: validation
env:
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
AZURE_ENV_NAME: ${{ secrets.AZURE_ENV_NAME }}
AZURE_LOCATION: ${{ secrets.AZURE_LOCATION }}
AZURE_CLIENT_ID: ${{ vars.AZURE_CLIENT_ID }}
AZURE_TENANT_ID: ${{ vars.AZURE_TENANT_ID }}
AZURE_SUBSCRIPTION_ID: ${{ vars.AZURE_SUBSCRIPTION_ID }}
AZURE_ENV_NAME: ${{ vars.AZURE_ENV_NAME }}
AZURE_LOCATION: ${{ vars.AZURE_LOCATION }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Step 6: Debug output in case of failure
- name: Debug on failure
if: failure()
run: |
echo "Validation failed. Checking environment:"
ls -la
if [ -d ".venv" ]; then
echo ".venv directory exists"
ls -la .venv/bin/
else
echo ".venv directory does not exist"
fi
if [ -d "tva_*" ]; then
echo "TVA directory exists:"
find . -name "tva_*" -type d
ls -la $(find . -name "tva_*" -type d)
else
echo "No TVA directory found"
fi

# Step 7: Print the result of the validation
- name: Print result
if: success()
- name: print result
run: cat ${{ steps.validation.outputs.resultFile }}
55 changes: 33 additions & 22 deletions .github/workflows/docker-build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
- dev
- demo
- hotfix
workflow_dispatch:
workflow_dispatch:

jobs:
build-and-push:
Expand All @@ -32,14 +32,19 @@ jobs:
uses: docker/setup-buildx-action@v1

- name: Log in to Azure Container Registry
if: ${{ (github.ref_name == 'main' || github.ref_name == 'dev' || github.ref_name == 'demo' || github.ref_name == 'hotfix') }}
if: ${{ github.ref_name == 'main' || github.ref_name == 'dev' || github.ref_name == 'demo' || github.ref_name == 'hotfix' }}
uses: azure/docker-login@v2
with:
login-server: ${{ secrets.ACR_LOGIN_SERVER }}
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}

- name: Set Docker image tag
- name: Get current date
id: date
run: echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT

- name: Determine Tag Name Based on Branch
id: determine_tag
run: |
if [[ "${{ github.ref }}" == "refs/heads/main" ]]; then
echo "TAG=latest" >> $GITHUB_ENV
Expand All @@ -52,24 +57,30 @@ jobs:
else
echo "TAG=pullrequest-ignore" >> $GITHUB_ENV
fi
- name: Build and push Docker images optionally

- name: Set Historical Tag
run: |
cd src/backend
docker build -t ${{ secrets.ACR_LOGIN_SERVER }}/macaebackend:${{ env.TAG }} -f Dockerfile . && \
if [[ "${{ env.TAG }}" == "latest" || "${{ env.TAG }}" == "dev" || "${{ env.TAG }}" == "demo" || "${{ env.TAG }}" == "hotfix" ]]; then
docker push ${{ secrets.ACR_LOGIN_SERVER }}/macaebackend:${{ env.TAG }} && \
echo "Backend image built and pushed successfully."
else
echo "Skipping Docker push for backend with tag: ${{ env.TAG }}"
fi
cd ../frontend
docker build -t ${{ secrets.ACR_LOGIN_SERVER }}/macaefrontend:${{ env.TAG }} -f Dockerfile . && \
if [[ "${{ env.TAG }}" == "latest" || "${{ env.TAG }}" == "dev" || "${{ env.TAG }}" == "demo" || "${{ env.TAG }}" == "hotfix" ]]; then
docker push ${{ secrets.ACR_LOGIN_SERVER }}/macaefrontend:${{ env.TAG }} && \
echo "Frontend image built and pushed successfully."
else
echo "Skipping Docker push for frontend with tag: ${{ env.TAG }}"
fi
DATE_TAG=$(date +'%Y-%m-%d')
RUN_ID=${{ github.run_number }}
# Create historical tag using TAG, DATE_TAG, and RUN_ID
echo "HISTORICAL_TAG=${{ env.TAG }}_${DATE_TAG}_${RUN_ID}" >> $GITHUB_ENV


- name: Build and optionally push Backend Docker image
uses: docker/build-push-action@v6
with:
context: ./src/backend
file: ./src/backend/Dockerfile
push: ${{ env.TAG != 'pullrequest-ignore' }}
tags: |
${{ secrets.ACR_LOGIN_SERVER }}/macaebackend:${{ env.TAG }}
${{ secrets.ACR_LOGIN_SERVER }}/macaebackend:${{ env.HISTORICAL_TAG }}

- name: Build and optionally push Frontend Docker image
uses: docker/build-push-action@v6
with:
context: ./src/frontend
file: ./src/frontend/Dockerfile
push: ${{ env.TAG != 'pullrequest-ignore' }}
tags: |
${{ secrets.ACR_LOGIN_SERVER }}/macaefrontend:${{ env.TAG }}
${{ secrets.ACR_LOGIN_SERVER }}/macaefrontend:${{ env.HISTORICAL_TAG }}
Loading
Loading