Commit 265bad0 1 parent 393f151 commit 265bad0 Copy full SHA for 265bad0
File tree 10 files changed +16
-0
lines changed
sync-resource-policy-information-job
sync-subject-resource-mappings-job
10 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,9 @@ param jobSchedule string
31
31
@secure ()
32
32
param appInsightConnectionString string
33
33
34
+ @description ('The replica timeout for the job in seconds' )
35
+ param replicaTimeOutInSeconds int
36
+
34
37
var namePrefix = 'dp-be-${environment }'
35
38
var baseImageUrl = 'ghcr.io/altinn/dialogporten-'
36
39
var tags = {
@@ -105,6 +108,7 @@ module migrationJob '../../modules/containerAppJob/main.bicep' = {
105
108
cronExpression : jobSchedule
106
109
args : 'sync-resource-policy-information'
107
110
userAssignedIdentityId : managedIdentity .id
111
+ replicaTimeOutInSeconds : replicaTimeOutInSeconds
108
112
}
109
113
}
110
114
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ param environment = 'prod'
4
4
param location = 'norwayeast'
5
5
param imageTag = readEnvironmentVariable ('IMAGE_TAG' )
6
6
param jobSchedule = '10 3 * * *' // 3:10AM every night
7
+ param replicaTimeOutInSeconds = 600
7
8
8
9
//secrets
9
10
param containerAppEnvironmentName = readEnvironmentVariable ('AZURE_CONTAINER_APP_ENVIRONMENT_NAME' )
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ param environment = 'staging'
4
4
param location = 'norwayeast'
5
5
param imageTag = readEnvironmentVariable ('IMAGE_TAG' )
6
6
param jobSchedule = '15 3 * * *' // 3:15AM every night
7
+ param replicaTimeOutInSeconds = 600
7
8
8
9
//secrets
9
10
param containerAppEnvironmentName = readEnvironmentVariable ('AZURE_CONTAINER_APP_ENVIRONMENT_NAME' )
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ param environment = 'test'
4
4
param location = 'norwayeast'
5
5
param imageTag = readEnvironmentVariable ('IMAGE_TAG' )
6
6
param jobSchedule = '20 3 * * *' // 3:20AM every night
7
+ param replicaTimeOutInSeconds = 600
7
8
8
9
//secrets
9
10
param containerAppEnvironmentName = readEnvironmentVariable ('AZURE_CONTAINER_APP_ENVIRONMENT_NAME' )
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ param environment = 'yt01'
4
4
param location = 'norwayeast'
5
5
param imageTag = readEnvironmentVariable ('IMAGE_TAG' )
6
6
param jobSchedule = '25 3 * * *' // 3:25AM every night
7
+ param replicaTimeOutInSeconds = 600
7
8
8
9
//secrets
9
10
param containerAppEnvironmentName = readEnvironmentVariable ('AZURE_CONTAINER_APP_ENVIRONMENT_NAME' )
Original file line number Diff line number Diff line change @@ -31,6 +31,9 @@ param jobSchedule string
31
31
@secure ()
32
32
param appInsightConnectionString string
33
33
34
+ @description ('The replica timeout for the job in seconds' )
35
+ param replicaTimeOutInSeconds int
36
+
34
37
var namePrefix = 'dp-be-${environment }'
35
38
var baseImageUrl = 'ghcr.io/altinn/dialogporten-'
36
39
var tags = {
@@ -105,6 +108,7 @@ module migrationJob '../../modules/containerAppJob/main.bicep' = {
105
108
cronExpression : jobSchedule
106
109
args : 'sync-subject-resource-mappings'
107
110
userAssignedIdentityId : managedIdentity .id
111
+ replicaTimeOutInSeconds : replicaTimeOutInSeconds
108
112
}
109
113
}
110
114
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ param environment = 'prod'
4
4
param location = 'norwayeast'
5
5
param imageTag = readEnvironmentVariable ('IMAGE_TAG' )
6
6
param jobSchedule = '*/5 * * * *' // Runs every 5 minutes
7
+ param replicaTimeOutInSeconds = 600
7
8
8
9
//secrets
9
10
param containerAppEnvironmentName = readEnvironmentVariable ('AZURE_CONTAINER_APP_ENVIRONMENT_NAME' )
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ param environment = 'staging'
4
4
param location = 'norwayeast'
5
5
param imageTag = readEnvironmentVariable ('IMAGE_TAG' )
6
6
param jobSchedule = '*/5 * * * *' // Runs every 5 minutes
7
+ param replicaTimeOutInSeconds = 600
7
8
8
9
//secrets
9
10
param containerAppEnvironmentName = readEnvironmentVariable ('AZURE_CONTAINER_APP_ENVIRONMENT_NAME' )
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ param environment = 'test'
4
4
param location = 'norwayeast'
5
5
param imageTag = readEnvironmentVariable ('IMAGE_TAG' )
6
6
param jobSchedule = '*/5 * * * *' // Runs every 5 minutes
7
+ param replicaTimeOutInSeconds = 600
7
8
8
9
//secrets
9
10
param containerAppEnvironmentName = readEnvironmentVariable ('AZURE_CONTAINER_APP_ENVIRONMENT_NAME' )
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ param environment = 'yt01'
4
4
param location = 'norwayeast'
5
5
param imageTag = readEnvironmentVariable ('IMAGE_TAG' )
6
6
param jobSchedule = '*/5 * * * *' // Runs every 5 minutes
7
+ param replicaTimeOutInSeconds = 600
7
8
8
9
//secrets
9
10
param containerAppEnvironmentName = readEnvironmentVariable ('AZURE_CONTAINER_APP_ENVIRONMENT_NAME' )
You can’t perform that action at this time.
0 commit comments