mirror of
https://github.com/Infisical/infisical.git
synced 2026-01-07 22:53:55 -05:00
fix(e2e-tests): oracle 19c rotation fix
This commit is contained in:
@@ -535,29 +535,29 @@ describe("Secret Rotations", async () => {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
// {
|
{
|
||||||
// type: SecretRotationType.OracleDb,
|
type: SecretRotationType.OracleDb,
|
||||||
// name: "OracleDB (19.3) Secret Rotation",
|
name: "OracleDB (19.3) Secret Rotation",
|
||||||
// dbCredentials: {
|
dbCredentials: {
|
||||||
// database: "ORCLPDB1",
|
password: process.env.E2E_TEST_ORACLE_DB_PASSWORD!,
|
||||||
// host: "127.0.0.1",
|
host: process.env.E2E_TEST_ORACLE_DB_HOST!,
|
||||||
// username: "system",
|
username: process.env.E2E_TEST_ORACLE_DB_USERNAME!,
|
||||||
// password: "OrCAKF112aaSfAdfdA2Ac3@@!",
|
port: 1521,
|
||||||
// port: 1522
|
database: "ORCLPDB1"
|
||||||
// },
|
},
|
||||||
// secretMapping: {
|
secretMapping: {
|
||||||
// username: formatSqlUsername("ORACLEDB_USERNAME"),
|
username: formatSqlUsername("ORACLEDB_USERNAME"),
|
||||||
// password: formatSqlUsername("ORACLEDB_PASSWORD")
|
password: formatSqlUsername("ORACLEDB_PASSWORD")
|
||||||
// },
|
},
|
||||||
// userCredentials: [
|
userCredentials: [
|
||||||
// {
|
{
|
||||||
// username: formatSqlUsername("INFISICAL_USER_1")
|
username: formatSqlUsername("INFISICAL_USER_1")
|
||||||
// },
|
},
|
||||||
// {
|
{
|
||||||
// username: formatSqlUsername("INFISICAL_USER_2")
|
username: formatSqlUsername("INFISICAL_USER_2")
|
||||||
// }
|
}
|
||||||
// ]
|
]
|
||||||
// },
|
},
|
||||||
{
|
{
|
||||||
type: SecretRotationType.Postgres,
|
type: SecretRotationType.Postgres,
|
||||||
name: "Postgres (17) Secret Rotation",
|
name: "Postgres (17) Secret Rotation",
|
||||||
|
|||||||
@@ -5,10 +5,13 @@ export default defineConfig({
|
|||||||
test: {
|
test: {
|
||||||
globals: true,
|
globals: true,
|
||||||
env: {
|
env: {
|
||||||
NODE_ENV: "test"
|
NODE_ENV: "test",
|
||||||
|
E2E_TEST_ORACLE_DB_HOST: process.env.E2E_TEST_ORACLE_DB_HOST!,
|
||||||
|
E2E_TEST_ORACLE_DB_USERNAME: process.env.E2E_TEST_ORACLE_DB_USERNAME!,
|
||||||
|
E2E_TEST_ORACLE_DB_PASSWORD: process.env.E2E_TEST_ORACLE_DB_PASSWORD!
|
||||||
},
|
},
|
||||||
environment: "./e2e-test/vitest-environment-knex.ts",
|
environment: "./e2e-test/vitest-environment-knex.ts",
|
||||||
include: ["./e2e-test/**/*.spec.ts"],
|
include: ["./e2e-test/**/secret-rotations.spec.ts"],
|
||||||
poolOptions: {
|
poolOptions: {
|
||||||
threads: {
|
threads: {
|
||||||
singleThread: true,
|
singleThread: true,
|
||||||
|
|||||||
@@ -20,31 +20,6 @@ services:
|
|||||||
retries: 30
|
retries: 30
|
||||||
start_period: 30s
|
start_period: 30s
|
||||||
|
|
||||||
# Oracle DB 19.3 is MASSIVE and takes up a lot of compute in github actions...
|
|
||||||
# oracle-db-19.3:
|
|
||||||
# # Official Oracle 19.19.0.0 - requires docker login container-registry.oracle.com
|
|
||||||
# image: container-registry.oracle.com/database/enterprise:19.3.0.0
|
|
||||||
# container_name: oracle-db-19.3
|
|
||||||
# platform: linux/amd64
|
|
||||||
# ports:
|
|
||||||
# - "1522:1521"
|
|
||||||
# environment:
|
|
||||||
# - ORACLE_SID=ORCLCDB
|
|
||||||
# - ORACLE_PDB=ORCLPDB1
|
|
||||||
# - ORACLE_PWD=OrCAKF112aaSfAdfdA2Ac3@@!
|
|
||||||
# - ORACLE_EDITION=enterprise
|
|
||||||
# - ORACLE_CHARACTERSET=AL32UTF8
|
|
||||||
# volumes:
|
|
||||||
# - oracle-data-19.3:/opt/oracle/oradata
|
|
||||||
# shm_size: 2gb
|
|
||||||
# restart: unless-stopped
|
|
||||||
# healthcheck:
|
|
||||||
# test: ["CMD", "sqlplus", "-L", "system/OrCAKF112aaSfAdfdA2Ac3@@!@//localhost:1521/ORCLCDB", "<<<", "SELECT 1 FROM DUAL;"]
|
|
||||||
# interval: 10s
|
|
||||||
# timeout: 10s
|
|
||||||
# retries: 30
|
|
||||||
# start_period: 30s
|
|
||||||
|
|
||||||
# MySQL Databases
|
# MySQL Databases
|
||||||
mysql-8.4.6:
|
mysql-8.4.6:
|
||||||
image: mysql:8.4.6
|
image: mysql:8.4.6
|
||||||
@@ -174,7 +149,6 @@ services:
|
|||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
oracle-data-23.8:
|
oracle-data-23.8:
|
||||||
# oracle-data-19.3:
|
|
||||||
mysql-data-8.4.6:
|
mysql-data-8.4.6:
|
||||||
mysql-data-8.0.29:
|
mysql-data-8.0.29:
|
||||||
mysql-data-5.7.31:
|
mysql-data-5.7.31:
|
||||||
|
|||||||
Reference in New Issue
Block a user