2025-08-20 10:45:49 +02:00
|
|
|
/*
|
|
|
|
|
Copyright 2025 New Vector Ltd.
|
|
|
|
|
|
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial
|
|
|
|
|
Please see LICENSE files in the repository root for full details.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
import {
|
|
|
|
|
MatrixAuthenticationServiceContainer as BaseMatrixAuthenticationServiceContainer,
|
|
|
|
|
type StartedPostgreSqlContainer,
|
2026-02-09 08:39:11 +00:00
|
|
|
} from "@element-hq/element-web-playwright-common/lib/testcontainers/index.js";
|
2025-08-20 10:45:49 +02:00
|
|
|
|
2026-02-17 11:45:13 +00:00
|
|
|
const DOCKER_IMAGE =
|
2026-08-05 10:18:58 +00:00
|
|
|
"ghcr.io/element-hq/matrix-authentication-service:main@sha256:e65d05606a78dbc995b2415d66ea68092661f6ff3b096c9972ae11e5b41f7cdc";
|
2025-08-20 10:45:49 +02:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* MatrixAuthenticationServiceContainer which freezes the docker digest to
|
|
|
|
|
* stabilise tests, updated periodically by the `playwright-image-updates.yaml`
|
|
|
|
|
* workflow.
|
|
|
|
|
*/
|
|
|
|
|
export class MatrixAuthenticationServiceContainer extends BaseMatrixAuthenticationServiceContainer {
|
|
|
|
|
public constructor(db: StartedPostgreSqlContainer) {
|
2026-02-17 11:45:13 +00:00
|
|
|
super(db, DOCKER_IMAGE);
|
2025-08-20 10:45:49 +02:00
|
|
|
}
|
|
|
|
|
}
|