Move SDNC and PNFSim into docker-compose for CSITs 02/140402/3
authordanielhanrahan <daniel.hanrahan@est.tech>
Tue, 11 Feb 2025 18:34:57 +0000 (18:34 +0000)
committerdanielhanrahan <daniel.hanrahan@est.tech>
Fri, 28 Mar 2025 11:38:10 +0000 (11:38 +0000)
commit88e2a82e5bb6181efbc054a210c4f3ed655b4528
tree3cd52b27e58fe418c777b0d20efce961cd98167d
parenta0993069311561c2b48e79df9273d421eb252723
Move SDNC and PNFSim into docker-compose for CSITs

To improve reliability of healthchecks in CSITs, they are implemented
in docker-compose. This commit moves SDNC and dependencies into main
docker-compose and adds healthchecks to them. This improves the CSIT
in that tests will quickly fail if SDNC or PNFsim containers fail to
start (currently tests run anyway even if containers are not ready).

- Move SDNC, MariaDB and PNFSim containers to main docker-compose
- Add healthchecks and timeouts for those containers
- Move node mounting script as a sidecar container so it is protected
  by healthchecks

Issue-ID: CPS-2632
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ib53522c2f756d3ce2c6d6b7472cb4c65359fe355
16 files changed:
csit/plans/cps/pnfsim/docker-compose.yml [deleted file]
csit/plans/cps/sdnc/check_sdnc_mount_node.sh [deleted file]
csit/plans/cps/sdnc/docker-compose.yml [deleted file]
csit/plans/cps/sdnc/sdnc_setup.sh [deleted file]
csit/plans/cps/setup.sh
csit/plans/cps/test.properties
docker-compose/config/pnfsim/netconf-config/LICENSE [moved from csit/plans/cps/pnfsim/netconf-config/LICENSE with 100% similarity]
docker-compose/config/pnfsim/netconf-config/stores.yang [moved from csit/plans/cps/pnfsim/netconf-config/stores.yang with 100% similarity]
docker-compose/config/pnfsim/netconf-config/subscriber.py [moved from csit/plans/cps/pnfsim/netconf-config/subscriber.py with 100% similarity]
docker-compose/config/pnfsim/tls/ca.pem [moved from csit/plans/cps/pnfsim/tls/ca.pem with 100% similarity]
docker-compose/config/pnfsim/tls/server_cert.pem [moved from csit/plans/cps/pnfsim/tls/server_cert.pem with 100% similarity]
docker-compose/config/pnfsim/tls/server_key.pem [moved from csit/plans/cps/pnfsim/tls/server_key.pem with 100% similarity]
docker-compose/config/sdnc/certs/certs.properties [moved from csit/plans/cps/sdnc/certs/certs.properties with 100% similarity]
docker-compose/config/sdnc/certs/keys0.zip [moved from csit/plans/cps/sdnc/certs/keys0.zip with 100% similarity]
docker-compose/config/sdnc/check_sdnc_mount_node.sh [new file with mode: 0644]
docker-compose/docker-compose.yml