Skip to content

Commit

Permalink
feat(infra): Upgrade to PostgreSQL v16 (#1521)
Browse files Browse the repository at this point in the history
## Related Issue(s)
- #1520
  • Loading branch information
oskogstad authored Nov 26, 2024
1 parent f47112e commit c67dc27
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .azure/modules/postgreSql/create.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ resource postgres 'Microsoft.DBforPostgreSQL/flexibleServers@2024-08-01' = {
name: postgresServerName
location: location
properties: {
version: '15'
version: '16'
administratorLogin: administratorLogin
administratorLoginPassword: administratorLoginPassword
storage: {
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-db-redis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.9'

services:
dialogporten-postgres:
image: postgres:15.7
image: postgres:16.4
restart: always
command: postgres -c wal_level=logical
environment:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,15 @@

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

// ReSharper disable once ClassNeverInstantiated.Global
public class DialogApplication : IAsyncLifetime
{
private IMapper? _mapper;
private Respawner _respawner = null!;
private ServiceProvider _rootProvider = null!;
private ServiceProvider _fixtureRootProvider = null!;
private readonly PostgreSqlContainer _dbContainer = new PostgreSqlBuilder()
.WithImage("postgres:15.7")
.WithImage("postgres:16.4")
.Build();

public async Task InitializeAsync()
Expand Down

0 comments on commit c67dc27

Please sign in to comment.