Skip to content

Commit

Permalink
[DOP-22427] Use test_only! value as password for all servers
Browse files Browse the repository at this point in the history
  • Loading branch information
dolfinus committed Feb 5, 2025
1 parent 78bf9f6 commit 4d6ab7a
Show file tree
Hide file tree
Showing 21 changed files with 150 additions and 130 deletions.
62 changes: 0 additions & 62 deletions .env.dependencies

This file was deleted.

26 changes: 13 additions & 13 deletions .env.docker
Original file line number Diff line number Diff line change
Expand Up @@ -13,67 +13,67 @@ ONETL_CH_PORT=8123
ONETL_CH_PORT_CLIENT=9000
ONETL_CH_DATABASE=default
ONETL_CH_USER=default
ONETL_CH_PASSWORD=
ONETL_CH_PASSWORD=test_only

# Kafka
ONETL_KAFKA_HOST=kafka
ONETL_KAFKA_PLAINTEXT_ANONYMOUS_PORT=9092
ONETL_KAFKA_PLAINTEXT_SASL_PORT=9094
ONETL_KAFKA_USER=onetl
ONETL_KAFKA_PASSWORD=uufoFae9sahSoidoo0eagaidaoreif6z
ONETL_KAFKA_PASSWORD=test_only!

# Mongo
ONETL_MONGO_HOST=mongodb
ONETL_MONGO_PORT=27017
ONETL_MONGO_DB=admin
ONETL_MONGO_USER=onetl
ONETL_MONGO_PASSWORD=E4j7h!9A
ONETL_MONGO_PASSWORD=test_only!

# MSSQL
ONETL_MSSQL_HOST=mssql
ONETL_MSSQL_PORT=1433
ONETL_MSSQL_DATABASE=onetl
ONETL_MSSQL_USER=onetl
ONETL_MSSQL_PASSWORD=7ellowEl7akey
ONETL_MSSQL_PASSWORD=test_only!

# MySQL
ONETL_MYSQL_HOST=mysql
ONETL_MYSQL_PORT=3306
ONETL_MYSQL_DATABASE=onetl
ONETL_MYSQL_USER=onetl
ONETL_MYSQL_PASSWORD=ohbuz9Eochaj9saibooK3thooGa5aesh
ONETL_MYSQL_PASSWORD=test_only!

# Postgres
ONETL_PG_HOST=postgres
ONETL_PG_PORT=5432
ONETL_PG_DATABASE=onetl
ONETL_PG_USER=onetl
ONETL_PG_PASSWORD=ohtae0luxeshi1uraeluMoh9IShah7ai
ONETL_PG_PASSWORD=test_only!

# Oracle
ONETL_ORA_HOST=oracle
ONETL_ORA_PORT=1521
ONETL_ORA_SERVICE_NAME=FREEPDB1
ONETL_ORA_USER=onetl
ONETL_ORA_PASSWORD=Yoequ2Hoeceit4ch
ONETL_ORA_PASSWORD=test_only!

# FTP
ONETL_FTP_HOST=ftp
ONETL_FTP_PORT=21
ONETL_FTP_USER=onetl
ONETL_FTP_PASSWORD=awd123fd1
ONETL_FTP_PASSWORD=test_only!

# FTPS
ONETL_FTPS_HOST=ftps
ONETL_FTPS_PORT=21
ONETL_FTPS_USER=onetl
ONETL_FTPS_PASSWORD=awd123fd1
ONETL_FTPS_PASSWORD=test_only!

# S3
ONETL_S3_HOST=s3
ONETL_S3_PORT=9000
ONETL_S3_ACCESS_KEY=onetl
ONETL_S3_SECRET_KEY=woh3fogh3Biereu3quee1aidu9theiro
ONETL_S3_SECRET_KEY=test_only!
ONETL_S3_BUCKET=onetl

# HDFS
Expand All @@ -85,7 +85,7 @@ ONETL_HDFS_IPC_PORT=9820
ONETL_SFTP_HOST=sftp
ONETL_SFTP_PORT=2222
ONETL_SFTP_USER=onetl
ONETL_SFTP_PASSWORD=AesujeifohgoaCu0Boosiet5aimeitho
ONETL_SFTP_PASSWORD=test_only!

# Samba
ONETL_SAMBA_HOST=samba
Expand All @@ -95,10 +95,10 @@ ONETL_SAMBA_GID=1000
ONETL_SAMBA_PORT=445
ONETL_SAMBA_SHARE=SmbShare
ONETL_SAMBA_USER=onetl
ONETL_SAMBA_PASSWORD=awd123fd1
ONETL_SAMBA_PASSWORD=test_only!

# Webdav
ONETL_WEBDAV_HOST=webdav
ONETL_WEBDAV_PORT=80
ONETL_WEBDAV_USER=onetl
ONETL_WEBDAV_PASSWORD=awd123fd1
ONETL_WEBDAV_PASSWORD=test_only!
26 changes: 13 additions & 13 deletions .env.local
Original file line number Diff line number Diff line change
Expand Up @@ -13,67 +13,67 @@ export ONETL_CH_PORT=8123
export ONETL_CH_PORT_CLIENT=9001
export ONETL_CH_DATABASE=default
export ONETL_CH_USER=default
export ONETL_CH_PASSWORD=
export ONETL_CH_PASSWORD=test_only

# Kafka
export ONETL_KAFKA_HOST=localhost
export ONETL_KAFKA_PLAINTEXT_ANONYMOUS_PORT=9093
export ONETL_KAFKA_PLAINTEXT_SASL_PORT=9095
export ONETL_KAFKA_USER=onetl
export ONETL_KAFKA_PASSWORD=uufoFae9sahSoidoo0eagaidaoreif6z
export ONETL_KAFKA_PASSWORD=test_only!

# Mongo
export ONETL_MONGO_HOST=localhost
export ONETL_MONGO_PORT=27017
export ONETL_MONGO_DB=admin
export ONETL_MONGO_USER=onetl
export ONETL_MONGO_PASSWORD=E4j7h!9A
export ONETL_MONGO_PASSWORD=test_only!

# MSSQL
export ONETL_MSSQL_HOST=localhost
export ONETL_MSSQL_PORT=1433
export ONETL_MSSQL_DATABASE=onetl
export ONETL_MSSQL_USER=onetl
export ONETL_MSSQL_PASSWORD=7ellowEl7akey
export ONETL_MSSQL_PASSWORD=test_only!

# MySQL
export ONETL_MYSQL_HOST=localhost
export ONETL_MYSQL_PORT=3306
export ONETL_MYSQL_DATABASE=onetl
export ONETL_MYSQL_USER=onetl
export ONETL_MYSQL_PASSWORD=ohbuz9Eochaj9saibooK3thooGa5aesh
export ONETL_MYSQL_PASSWORD=test_only!

# Postgres
export ONETL_PG_HOST=localhost
export ONETL_PG_PORT=5432
export ONETL_PG_DATABASE=onetl
export ONETL_PG_USER=onetl
export ONETL_PG_PASSWORD=ohtae0luxeshi1uraeluMoh9IShah7ai
export ONETL_PG_PASSWORD=test_only!

# Oracle
export ONETL_ORA_HOST=localhost
export ONETL_ORA_PORT=1522
export ONETL_ORA_SERVICE_NAME=FREEPDB1
export ONETL_ORA_USER=onetl
export ONETL_ORA_PASSWORD=Yoequ2Hoeceit4ch
export ONETL_ORA_PASSWORD=test_only!

# FTP
export ONETL_FTP_HOST=localhost
export ONETL_FTP_PORT=2121
export ONETL_FTP_USER=onetl
export ONETL_FTP_PASSWORD=awd123fd1
export ONETL_FTP_PASSWORD=test_only!

# FTPS
export ONETL_FTPS_HOST=localhost
export ONETL_FTPS_PORT=2122
export ONETL_FTPS_USER=onetl
export ONETL_FTPS_PASSWORD=awd123fd1
export ONETL_FTPS_PASSWORD=test_only!

# S3
export ONETL_S3_HOST=localhost
export ONETL_S3_PORT=9010
export ONETL_S3_ACCESS_KEY=onetl
export ONETL_S3_SECRET_KEY=woh3fogh3Biereu3quee1aidu9theiro
export ONETL_S3_SECRET_KEY=test_only!
export ONETL_S3_BUCKET=onetl

# HDFS
Expand All @@ -85,7 +85,7 @@ export ONETL_HDFS_IPC_PORT=9820
export ONETL_SFTP_HOST=localhost
export ONETL_SFTP_PORT=2222
export ONETL_SFTP_USER=onetl
export ONETL_SFTP_PASSWORD=AesujeifohgoaCu0Boosiet5aimeitho
export ONETL_SFTP_PASSWORD=test_only!

# Samba
export ONETL_SAMBA_HOST=localhost
Expand All @@ -95,10 +95,10 @@ export ONETL_SAMBA_GID=1000
export ONETL_SAMBA_PORT=445
export ONETL_SAMBA_SHARE=SmbShare
export ONETL_SAMBA_USER=onetl
export ONETL_SAMBA_PASSWORD=awd123fd1
export ONETL_SAMBA_PASSWORD=test_only!

# Webdav
export ONETL_WEBDAV_HOST=localhost
export ONETL_WEBDAV_PORT=8000
export ONETL_WEBDAV_USER=onetl
export ONETL_WEBDAV_PASSWORD=awd123fd1
export ONETL_WEBDAV_PASSWORD=test_only!
8 changes: 4 additions & 4 deletions .github/workflows/data/db/tracked.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.github/workflows/data/db/**
onetl/db_connection/db_connection/*
onetl/db_connection/dialect_mixins/*
onetl/db_connection/jdbc_connection/*
onetl/db_connection/jdbc_mixin/*
onetl/connection/db_connection/db_connection/*
onetl/connection/db_connection/dialect_mixins/*
onetl/connection/db_connection/jdbc_connection/*
onetl/connection/db_connection/jdbc_mixin/*
onetl/db/**
2 changes: 1 addition & 1 deletion .github/workflows/data/file/tracked.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.github/workflows/data/file/**
onetl/file_connection/file_connection.py
onetl/connection/file_connection/file_connection.py
onetl/file/file_downloader/**
onetl/file/file_mover/**
onetl/file/file_uploader/**
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/data/ftp/tracked.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
**/*ftp*
**/*ftp*/**
docker-compose.yml
.env.dependencies
1 change: 0 additions & 1 deletion .github/workflows/data/ftps/tracked.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
**/*ftp*
**/*ftp*/**
docker-compose.yml
.env.dependencies
1 change: 0 additions & 1 deletion .github/workflows/data/hdfs/tracked.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
**/*hdfs*/**
onetl/connection/kerberos_helpers.py
docker-compose.yml
.env.dependencies
1 change: 0 additions & 1 deletion .github/workflows/data/webdav/tracked.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
**/*webdav*
**/*webdav*/**
docker-compose.yml
.env.dependencies
6 changes: 6 additions & 0 deletions .github/workflows/test-clickhouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,15 @@ jobs:
image: ${{ inputs.clickhouse-image }}:${{ inputs.clickhouse-version }}
env:
TZ: UTC
# yandex/clickhouse-server doesn't read these options at all, so we using default values
CLICKHOUSE_DB: default
CLICKHOUSE_USER: default
CLICKHOUSE_PASSWORD: test_only
CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT: 1
ports:
- 8123:8123
- 9001:9000
options: --sysctl net.ipv6.conf.all.disable_ipv6=1

steps:
- name: Checkout code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-kafka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
ALLOW_PLAINTEXT_LISTENER: 'yes'
KAFKA_ENABLE_KRAFT: 'no'
KAFKA_CLIENT_USERS: onetl
KAFKA_CLIENT_PASSWORDS: uufoFae9sahSoidoo0eagaidaoreif6z
KAFKA_CLIENT_PASSWORDS: test_only!
KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: 'true'
KAFKA_CFG_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_ZOOKEEPER_BOOTSTRAP_SCRAM_USERS: 'true'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-mongodb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
env:
TZ: UTC
MONGO_INITDB_ROOT_USERNAME: onetl
MONGO_INITDB_ROOT_PASSWORD: E4j7h!9A
MONGO_INITDB_ROOT_PASSWORD: test_only!
ports:
- 27017:27017

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ jobs:
image: mysql:${{ inputs.mysql-version }}
env:
TZ: UTC
MYSQL_ROOT_PASSWORD: ohbuz9Eochaj9saibooK3thooGa5aesh
MYSQL_ROOT_PASSWORD: test_only!
MYSQL_DATABASE: onetl
MYSQL_USER: onetl
MYSQL_PASSWORD: ohbuz9Eochaj9saibooK3thooGa5aesh
MYSQL_PASSWORD: test_only!
ports:
- 3306:3306

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-oracle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ jobs:
image: ${{ inputs.oracle-image }}:${{ inputs.oracle-version }}
env:
TZ: UTC
ORACLE_PASSWORD: maaxohmiGe9eep5x
ORACLE_PASSWORD: admin_only!
APP_USER: onetl
APP_USER_PASSWORD: Yoequ2Hoeceit4ch
APP_USER_PASSWORD: test_only!
ports:
- 1522:1521

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
TZ: UTC
POSTGRES_USER: onetl
POSTGRES_DB: onetl
POSTGRES_PASSWORD: ohtae0luxeshi1uraeluMoh9IShah7ai
POSTGRES_PASSWORD: test_only!
ports:
- 5432:5432

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
TZ: UTC
MINIO_ROOT_USER: onetl
MINIO_ACCESS_KEY: onetl
MINIO_ROOT_PASSWORD: woh3fogh3Biereu3quee1aidu9theiro
MINIO_SECRET_KEY: woh3fogh3Biereu3quee1aidu9theiro
MINIO_ROOT_PASSWORD: test_only!
MINIO_SECRET_KEY: root_only!
ports:
- 9010:9000

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-sftp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
TZ: UTC
USER_NAME: onetl
PASSWORD_ACCESS: 'true'
USER_PASSWORD: AesujeifohgoaCu0Boosiet5aimeitho
USER_PASSWORD: test_only!
ports:
- 2222:2222

Expand Down
Loading

0 comments on commit 4d6ab7a

Please sign in to comment.