Skip to content

Commit

Permalink
chore(service): use correct docker image (#1308)
Browse files Browse the repository at this point in the history
<!--- Provide a general summary of your changes in the Title above -->

## Description

<!--- Describe your changes in detail -->

Using the healthz endpoint before the proper service is deployed

## Related Issue(s)

- #1301 

## Verification

- [ ] **Your** code builds clean without any errors or warnings
- [ ] Manual testing done (required)
- [ ] Relevant automated test added (if you find this hard, leave it and
we'll help out)

## Documentation

- [ ] Documentation is updated (either in `docs`-directory, Altinnpedia
or a separate linked PR in
[altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if
applicable)
  • Loading branch information
arealmaas authored Oct 16, 2024
1 parent f620f06 commit 462f908
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .azure/applications/service/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ var probes = [
initialDelaySeconds: 2
type: 'Liveness'
httpGet: {
path: '/health/liveness'
path: '/healthz'
port: port
}
}
Expand All @@ -109,7 +109,7 @@ var probes = [
initialDelaySeconds: 2
type: 'Readiness'
httpGet: {
path: '/health/readiness'
path: '/healthz'
port: port
}
}
Expand All @@ -118,7 +118,7 @@ var probes = [
initialDelaySeconds: 2
type: 'Startup'
httpGet: {
path: '/health/startup'
path: '/healthz'
port: port
}
}
Expand Down Expand Up @@ -152,9 +152,7 @@ module containerApp '../../modules/containerApp/main.bicep' = {
name: containerAppName
params: {
name: containerAppName
// todo: make this dynamic based on service name. Using webapi for now.
// image: '${baseImageUrl}${serviceName}:${imageTag}'
image: '${baseImageUrl}webapi:${imageTag}'
image: '${baseImageUrl}${serviceName}:${imageTag}'
location: location
envVariables: containerAppEnvVars
containerAppEnvId: containerAppEnvironment.id
Expand Down

0 comments on commit 462f908

Please sign in to comment.