Skip to content

Commit

Permalink
chore: update helloworld app traffic distribution
Browse files Browse the repository at this point in the history
Signed-off-by: Kristina Devochko <guidemetothemoon@gmail.com>
  • Loading branch information
guidemetothemoon committed Mar 31, 2024
1 parent a9bd6dd commit 5ebf76a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- 'main'
paths:
- 'aca-revision-and-traffic-management/**'
- '.github/workflows/deploy-aca-revision-and-traffic-management-apps.yml'
- '**/deploy-aca-revision-and-traffic-management-apps.yml'

workflow_dispatch:

Expand Down
2 changes: 1 addition & 1 deletion aca-revision-and-traffic-management/modules/aca.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ resource helloworld 'Microsoft.App/containerApps@2023-05-02-preview' = {
env: [
{
name: 'TITLE'
value: 'Hello World from Azure Container Apps (ACA)!'
value: 'Hello World from Azure Container Apps (ACA) - V2!'
}
]
probes: [
Expand Down
10 changes: 6 additions & 4 deletions aca-revision-and-traffic-management/parameters/dev.bicepparam
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ param tags = {
param trafficDistribution = [
{
latestRevision: true
weight: 100
weight: 50
}
/*{
revisionName: ''
{
revisionName: 'aca-helloworld--f8u0hny'
weight: 50
}*/
}
]

// Command to get revision name: az containerapp revision list --name aca-helloworld --resource-group rg-aca-helloworld-neu-dev --query [0].name -o tsv

0 comments on commit 5ebf76a

Please sign in to comment.