Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(infra): Upgrade to PostgreSQL v16 #1521

Merged
merged 3 commits into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading