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,
|
|
|
|
|
} from "@element-hq/element-web-playwright-common/lib/testcontainers";
|
|
|
|
|
|
2026-01-28 06:23:02 +00:00
|
|
|
const TAG = "main@sha256:a3d8276ff5878ce109f184fd2f0e27fc50e1cb4ec409ad5217022074b19a7fd9";
|
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) {
|
|
|
|
|
super(db, `ghcr.io/element-hq/matrix-authentication-service:${TAG}`);
|
|
|
|
|
}
|
|
|
|
|
}
|