Skip to content

Commit c67dc27

Browse files
authored
feat(infra): Upgrade to PostgreSQL v16 (#1521)
## Related Issue(s) - #1520
1 parent f47112e commit c67dc27

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.azure/modules/postgreSql/create.bicep

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ resource postgres 'Microsoft.DBforPostgreSQL/flexibleServers@2024-08-01' = {
103103
name: postgresServerName
104104
location: location
105105
properties: {
106-
version: '15'
106+
version: '16'
107107
administratorLogin: administratorLogin
108108
administratorLoginPassword: administratorLoginPassword
109109
storage: {

docker-compose-db-redis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '3.9'
22

33
services:
44
dialogporten-postgres:
5-
image: postgres:15.7
5+
image: postgres:16.4
66
restart: always
77
command: postgres -c wal_level=logical
88
environment:

tests/Digdir.Domain.Dialogporten.Application.Integration.Tests/Common/DialogApplication.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,15 @@
3232

3333
namespace Digdir.Domain.Dialogporten.Application.Integration.Tests.Common;
3434

35+
// ReSharper disable once ClassNeverInstantiated.Global
3536
public class DialogApplication : IAsyncLifetime
3637
{
3738
private IMapper? _mapper;
3839
private Respawner _respawner = null!;
3940
private ServiceProvider _rootProvider = null!;
4041
private ServiceProvider _fixtureRootProvider = null!;
4142
private readonly PostgreSqlContainer _dbContainer = new PostgreSqlBuilder()
42-
.WithImage("postgres:15.7")
43+
.WithImage("postgres:16.4")
4344
.Build();
4445

4546
public async Task InitializeAsync()

0 commit comments

Comments
 (0)