banf fetcher in test

Signed-off-by: Basil Bruhn <basil.bruhn@psi.ch>
This commit is contained in:
2026-07-17 13:54:15 +02:00
parent b5ded615fa
commit d6bcfda530
+17 -17
View File
@@ -485,23 +485,23 @@ services:
WEBAPP_SECURITY_AUTH_BASIC_PASSWORD: "$$2y$$10$$LA.TjBKRIDM/c6AJ86BZ/elpa9InzVbzqzLsyfc1Wt7h3S3N8MUPm"
networks:
- backend
# banf-fetcher-test:
# container_name: banf-fetcher-test
# image: python:3.12
# restart: always
# volumes:
# - /opt/webcontent/tiadocrouter-test/banf-data:/data
# - /opt/webcontent/tiadocrouter-test/input:/data/banf-dr
# environment:
# - SCP_HOST=filetransfer.test.openordering.de
# - SCP_PORT=22
# - SCP_USER=PSITest
# - SCP_PASSWORD=${BANF_FETCHER_TEST_PASSWORD}
# - SCP_REMOTE_DIR=Anlagen
# - SCP_HOSTKEY_FINGERPRINT="ssh-rsa 1024 fingerprint"
# command: >
# sh -c "pip install paramiko scp lxml &&
# while true; do python /data/script/banf_ftpload_convert.py; sleep 120; done"
banf-fetcher-test:
container_name: banf-fetcher-test
image: python:3.12
restart: always
volumes:
- /opt/webcontent/tiadocrouter-test/banf-data:/data
- /opt/webcontent/tiadocrouter-test/input:/data/banf-dr
environment:
- SCP_HOST=filetransfer.test.openordering.de
- SCP_PORT=22
- SCP_USER=PSITest
- SCP_PASSWORD=${BANF_FETCHER_TEST_PASSWORD}
- SCP_REMOTE_DIR=Anlagen
- SCP_HOSTKEY_FINGERPRINT="ssh-rsa 1024 fingerprint"
command: >
sh -c "pip install paramiko scp lxml &&
while true; do python /data/script/banf_ftpload_convert.py; sleep 120; done"
# Lange Clemens <clemens.lange@psi.ch>
# summer-project-selection.psi.ch