@@ -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, sftp, all]
128+ profiles : [worker, scheduler, s3, oracle, hdfs, hive, clickhouse, mysql, mssql, sftp, ftp, ftps, 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, sftp, all]
142+ profiles : [s3, oracle, clickhouse, mysql, mssql, hdfs, hive, sftp, ftp, ftps, 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, sftp, all]
228+ profiles : [hive, hdfs, s3, sftp, ftp, ftps, all]
229229
230230 keycloak :
231231 image : quay.io/keycloak/keycloak:latest
@@ -263,8 +263,8 @@ 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, sftp xml file fails without running hive metastore server
267- profiles : [hive, hdfs, s3, sftp, all]
266+ # writing spark dataframe to s3, sftp, ftp, ftps xml file fails without running hive metastore server
267+ profiles : [hive, hdfs, s3, sftp, ftp, ftps, all]
268268
269269 test-sftp :
270270 image : ${SFTP_IMAGE:-linuxserver/openssh-server}
@@ -280,6 +280,42 @@ services:
280280 USER_PASSWORD : test_only
281281 profiles : [sftp, all]
282282
283+ test-ftp :
284+ image : ${FTP_IMAGE:-chonjay21/ftps:latest}
285+ restart : unless-stopped
286+ environment :
287+ - USE_SSL=false
288+ - PASSV_MIN_PORT=30000
289+ - PASSV_MAX_PORT=30010
290+ - APP_USER_NAME=syncmaster
291+ - APP_USER_PASSWD=test_only
292+ - APP_UID=1000
293+ - APP_GID=1000
294+ ports :
295+ - 2121:21
296+ - 30000-30010:30000-30010
297+ volumes :
298+ - ./docker/ftp/on_post_init.sh:/sources/ftp/eventscripts/on_post_init.sh
299+ profiles : [ftp, all]
300+
301+ test-ftps :
302+ image : ${FTPS_IMAGE:-chonjay21/ftps:latest}
303+ restart : unless-stopped
304+ environment :
305+ - USE_SSL=true
306+ - PASSV_MIN_PORT=30020
307+ - PASSV_MAX_PORT=30030
308+ - APP_USER_NAME=syncmaster
309+ - APP_USER_PASSWD=test_only
310+ - APP_UID=1000
311+ - APP_GID=1000
312+ ports :
313+ - 2122:21
314+ - 30020-30030:30020-30030
315+ volumes :
316+ - ./docker/ftp/on_post_init.sh:/sources/ftps/eventscripts/on_post_init.sh
317+ profiles : [ftps, all]
318+
283319volumes :
284320 postgres_test_data :
285321 rabbitmq_test_data :
0 commit comments