Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
- main
- dev
- demo
pull_request:
branches:
- dev
schedule:
- cron: '0 9,21 * * *' # Runs at 9:00 AM and 9:00 PM GMT
workflow_dispatch: # Allow manual triggering
Expand Down Expand Up @@ -113,7 +116,8 @@ jobs:
--parameters solutionName=${{env.SOLUTION_PREFIX}} \
--parameters location=${{ env.AZURE_LOCATION }} \
--parameters aiDeploymentLocation=${{ env.AZURE_LOCATION }} \
--parameters azureAiServiceLocation=${{ env.AZURE_LOCATION }}
--parameters azureAiServiceLocation=${{ env.AZURE_LOCATION }} \
--parameters createdBy="pipeline" \


- name: Extract AI Services and Key Vault Names
Expand Down
6 changes: 2 additions & 4 deletions infra/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,12 @@ param cosmosLocation string = 'eastus2'
param existingLogAnalyticsWorkspaceId string = ''

@description('Tag, Created by user name')
param createdBy string = contains(deployer(), 'userPrincipalName')
? split(deployer().userPrincipalName, '@')[0]
: deployer().objectId
param createdBy string = deployer().objectId

// Get the current deployer's information for local debugging permissions
var deployerInfo = deployer()
var deployingUserPrincipalId = deployerInfo.objectId
var deployingUserType = !empty(deployerInfo.userPrincipalName) ? 'User' : 'ServicePrincipal'
var deployingUserType = contains(deployerInfo, 'userPrincipalName') ? 'User' : 'ServicePrincipal'

@description('Optional. Resource ID of an existing Foundry project')
param existingFoundryProjectResourceId string = ''
Expand Down