@@ -125,7 +125,7 @@ services:
125125 condition : service_completed_successfully
126126 rabbitmq :
127127 condition : service_healthy
128- profiles : [worker, scheduler, s3, oracle, hdfs, hive, clickhouse, mysql, mssql, all]
128+ profiles : [worker, scheduler, s3, oracle, hdfs, hive, clickhouse, mysql, mssql, sftp, all]
129129
130130 test-postgres :
131131 image : postgres
@@ -139,7 +139,7 @@ services:
139139 interval : 30s
140140 timeout : 5s
141141 retries : 3
142- profiles : [s3, oracle, clickhouse, mysql, mssql, hdfs, hive, all]
142+ profiles : [s3, oracle, clickhouse, mysql, mssql, hdfs, hive, sftp, all]
143143
144144 test-s3 :
145145 image : bitnami/minio:latest
@@ -225,7 +225,7 @@ services:
225225 interval : 30s
226226 timeout : 5s
227227 retries : 3
228- profiles : [hive, hdfs, s3, all]
228+ profiles : [hive, hdfs, s3, sftp, all]
229229
230230 keycloak :
231231 image : quay.io/keycloak/keycloak:latest
@@ -263,8 +263,22 @@ services:
263263 HIVE_METASTORE_DB_DRIVER : org.postgresql.Driver
264264 HIVE_METASTORE_DB_USER : test_hive
265265 HIVE_METASTORE_DB_PASSWORD : test_hive
266- # writing spark dataframe to s3 xml file fails without running hive metastore server
267- profiles : [hive, hdfs, s3, all]
266+ # writing spark dataframe to s3, sftp xml file fails without running hive metastore server
267+ profiles : [hive, hdfs, s3, sftp, all]
268+
269+ test-sftp :
270+ image : ${SFTP_IMAGE:-linuxserver/openssh-server}
271+ restart : unless-stopped
272+ ports :
273+ - 2222:2222
274+ environment :
275+ PUID : 1000
276+ PGID : 1000
277+ USER_NAME : syncmaster
278+ PASSWORD_ACCESS : true
279+ SUDO_ACCESS : true
280+ USER_PASSWORD : test_only
281+ profiles : [sftp, all]
268282
269283volumes :
270284 postgres_test_data :
0 commit comments