Skip to content

setup.sh script running Python script inside container

Nicola Stoira requested to merge sphnc-482 into main
  • New container sphn-connector_connector_setup which is pushed during the CI/CD on main and tags only. This image is pulled by the new setup.sh script and ran: docker run --name sphn-connector_setup --env-file .env --rm -v ${DATA_TRANSFER_DIR}:/data-transfer ${REGISTRY}/sphn-connector_setup:${TAG_NAME} python /setup/setup.py > setup.log 2>&1
  • We mount the local /data-trasnfer folder for the certificates and we pass the .env file to the container
  • setup.py adapted to the needs of the new logic
Edited by Nicola Stoira

Merge request reports

Loading