Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
oZakari committed Aug 30, 2024
1 parent 412c7e7 commit d1e5425
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 20 deletions.
30 changes: 16 additions & 14 deletions avm/res/app/container-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,12 +239,6 @@ module containerApp 'br/public:avm/res/app/container-app:<version>' = {
environmentResourceId: '<environmentResourceId>'
name: 'acamax001'
// Non-required parameters
additionalPortMappings: [
{
external: true
targetPort: 8080
}
]
location: '<location>'
lock: {
kind: 'CanNotDelete'
Expand Down Expand Up @@ -354,14 +348,6 @@ module containerApp 'br/public:avm/res/app/container-app:<version>' = {
"value": "acamax001"
},
// Non-required parameters
"additionalPortMappings": {
"value": [
{
"external": true,
"targetPort": 8080
}
]
},
"location": {
"value": "<location>"
},
Expand Down Expand Up @@ -454,6 +440,13 @@ module containerApp 'br/public:avm/res/app/container-app:<version>' = {
environmentResourceId: '<environmentResourceId>'
name: 'acavnet001'
// Non-required parameters
additionalPortMappings: [
{
exposedPort: 8080
external: false
targetPort: 8080
}
]
ingressAllowInsecure: false
ingressExternal: false
ingressTargetPort: 80
Expand Down Expand Up @@ -495,6 +488,15 @@ module containerApp 'br/public:avm/res/app/container-app:<version>' = {
"value": "acavnet001"
},
// Non-required parameters
"additionalPortMappings": {
"value": [
{
"exposedPort": 8080,
"external": false,
"targetPort": 8080
}
]
},
"ingressAllowInsecure": {
"value": false
},
Expand Down
6 changes: 0 additions & 6 deletions avm/res/app/container-app/tests/e2e/max/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,6 @@ module testDeployment '../../../main.bicep' = [
'hidden-title': 'This is visible in the resource name'
Env: 'test'
}
additionalPortMappings: [
{
external: true
targetPort: 8080
}
]
roleAssignments: [
{
name: 'e9bac1ee-aebe-4513-9337-49e87a7be05e'
Expand Down
8 changes: 8 additions & 0 deletions avm/res/app/container-app/tests/e2e/vnet/main.test.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ module testDeployment '../../../main.bicep' = [
ingressTransport: 'tcp'
ingressAllowInsecure: false
ingressTargetPort: 80
additionalPortMappings: [
{
external: false
targetPort: 8080
exposedPort: 8080
}
]

containers: [
{
name: 'simple-hello-world-container'
Expand Down

0 comments on commit d1e5425

Please sign in to comment.