Remove logging and tmpfs changes, weren't that impactful.
This commit is contained in:
parent
64490c74ac
commit
cd17683284
|
@ -197,7 +197,6 @@ jobs:
|
||||||
|
|
||||||
- name: Test server
|
- name: Test server
|
||||||
env:
|
env:
|
||||||
DEBUG: testcontainers*
|
|
||||||
DATASOURCE: ${{ matrix.datasource }}
|
DATASOURCE: ${{ matrix.datasource }}
|
||||||
run: |
|
run: |
|
||||||
AFFECTED=$(yarn --silent nx show projects --affected -t test --base=${{ env.NX_BASE_BRANCH }} -p @budibase/server)
|
AFFECTED=$(yarn --silent nx show projects --affected -t test --base=${{ env.NX_BASE_BRANCH }} -p @budibase/server)
|
||||||
|
|
|
@ -30,7 +30,6 @@ export async function getDatasource(): Promise<Datasource> {
|
||||||
ports = startContainer(
|
ports = startContainer(
|
||||||
new GenericContainer(MARIADB_IMAGE)
|
new GenericContainer(MARIADB_IMAGE)
|
||||||
.withExposedPorts(3306)
|
.withExposedPorts(3306)
|
||||||
.withTmpFs({ "/var/lib/mysql": "rw" })
|
|
||||||
.withEnvironment({ MARIADB_ROOT_PASSWORD: "password" })
|
.withEnvironment({ MARIADB_ROOT_PASSWORD: "password" })
|
||||||
.withWaitStrategy(new MariaDBWaitStrategy().withStartupTimeout(20000))
|
.withWaitStrategy(new MariaDBWaitStrategy().withStartupTimeout(20000))
|
||||||
)
|
)
|
||||||
|
|
|
@ -21,7 +21,6 @@ export async function getDatasource(): Promise<Datasource> {
|
||||||
// version in production.
|
// version in production.
|
||||||
MSSQL_PID: "Developer",
|
MSSQL_PID: "Developer",
|
||||||
})
|
})
|
||||||
.withTmpFs({ "/var/opt/mssql": "rw" })
|
|
||||||
.withWaitStrategy(
|
.withWaitStrategy(
|
||||||
Wait.forSuccessfulCommand(
|
Wait.forSuccessfulCommand(
|
||||||
"/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P Password_123 -q 'SELECT 1'"
|
"/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P Password_123 -q 'SELECT 1'"
|
||||||
|
|
|
@ -34,7 +34,6 @@ export async function getDatasource(): Promise<Datasource> {
|
||||||
new GenericContainer(MYSQL_IMAGE)
|
new GenericContainer(MYSQL_IMAGE)
|
||||||
.withExposedPorts(3306)
|
.withExposedPorts(3306)
|
||||||
.withEnvironment({ MYSQL_ROOT_PASSWORD: "password" })
|
.withEnvironment({ MYSQL_ROOT_PASSWORD: "password" })
|
||||||
.withTmpFs({ "/var/lib/mysql": "rw" })
|
|
||||||
.withWaitStrategy(new MySQLWaitStrategy().withStartupTimeout(20000))
|
.withWaitStrategy(new MySQLWaitStrategy().withStartupTimeout(20000))
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,9 +23,6 @@ export async function getDatasource(): Promise<Datasource> {
|
||||||
.withEnvironment({
|
.withEnvironment({
|
||||||
ORACLE_PASSWORD: password,
|
ORACLE_PASSWORD: password,
|
||||||
})
|
})
|
||||||
.withTmpFs({
|
|
||||||
"/opt/oracle/oradata/FREEPDB1": "",
|
|
||||||
})
|
|
||||||
.withWaitStrategy(
|
.withWaitStrategy(
|
||||||
Wait.forLogMessage("DATABASE IS READY TO USE!").withStartupTimeout(
|
Wait.forLogMessage("DATABASE IS READY TO USE!").withStartupTimeout(
|
||||||
20000
|
20000
|
||||||
|
|
|
@ -13,7 +13,6 @@ export async function getDatasource(): Promise<Datasource> {
|
||||||
new GenericContainer(POSTGRES_IMAGE)
|
new GenericContainer(POSTGRES_IMAGE)
|
||||||
.withExposedPorts(5432)
|
.withExposedPorts(5432)
|
||||||
.withEnvironment({ POSTGRES_PASSWORD: "password" })
|
.withEnvironment({ POSTGRES_PASSWORD: "password" })
|
||||||
.withTmpFs({ "/var/lib/postgresql/data": "rw" })
|
|
||||||
.withWaitStrategy(
|
.withWaitStrategy(
|
||||||
Wait.forSuccessfulCommand(
|
Wait.forSuccessfulCommand(
|
||||||
"pg_isready -h localhost -p 5432"
|
"pg_isready -h localhost -p 5432"
|
||||||
|
|
Loading…
Reference in New Issue