@@ -2,6 +2,7 @@ version: '3.8'
22
33services :
44 honua-server :
5+ image : honua-server:latest
56 build :
67 context : ..
78 dockerfile : Dockerfile
@@ -11,6 +12,7 @@ services:
1112 - ASPNETCORE_ENVIRONMENT=Production
1213 - ASPNETCORE_URLS=http://+:8080
1314 - ConnectionStrings__DefaultConnection=Server=postgres;Port=5432;Database=honua_cite;User Id=postgres;Password=cite_password;
15+ - ConnectionStrings__honua=Server=postgres;Port=5432;Database=honua_cite;User Id=postgres;Password=cite_password;
1416 depends_on :
1517 postgres :
1618 condition : service_healthy
@@ -41,11 +43,11 @@ services:
4143 retries : 5
4244
4345 cite-engine :
44- image : ogccite/ets-ogcapi-features10:latest
46+ image : ogccite/ets-ogcapi-features10:1.9-teamengine-6.0.0-RC2
4547 ports :
4648 - " 8081:8080"
4749 environment :
48- - JAVA_OPTS=-Xmx2g
50+ - JAVA_OPTS=-Xmx2g -DTE_BASE=/root/te_base
4951 - TEAMENGINE_BASE_URL=http://cite-engine:8080/teamengine
5052 volumes :
5153 - cite-logs:/root/te_base/users/cite/logs
@@ -63,22 +65,28 @@ services:
6365 start_period : 60s
6466
6567 cite-runner :
66- image : ogccite/ets-ogcapi-features10:latest
67- command : >
68- bash -c "
69- echo 'Waiting for services to be ready...' &&
70- sleep 30 &&
71- echo 'Starting CITE conformance tests...' &&
72- java -jar /opt/te-install/lib/teamengine-console-*.jar \
73- -source=/opt/te-install/scripts/ets-ogcapi-features10.ctl \
74- -form=/cite-config/test-params.xml \
75- -logdir=/cite-results \
76- -session=cite-session-$(date +%Y%m%d-%H%M%S) &&
77- echo 'CITE tests completed. Check results in /cite-results' &&
78- tail -f /dev/null
79- "
68+ image : ogccite/ets-ogcapi-features10:1.9-teamengine-6.0.0-RC2
69+ command :
70+ - bash
71+ - -lc
72+ - |
73+ set -euo pipefail
74+ echo 'Waiting for services to be ready...'
75+ sleep 30
76+ echo 'Preparing TeamEngine console...'
77+ curl -sSL -o /tmp/teamengine-console-6.0.0-RC2-bin.zip https://repo1.maven.org/maven2/org/opengis/cite/teamengine/teamengine-console/6.0.0-RC2/teamengine-console-6.0.0-RC2-bin.zip
78+ unzip -q /tmp/teamengine-console-6.0.0-RC2-bin.zip -d /tmp/te-console
79+ mkdir -p /root/te_base/resources/lib /root/te_base/scripts
80+ mkdir -p /root/te_base/users/cite/logs
81+ rm -rf /root/te_base/scripts/ogcapi-features-1.0
82+ unzip -qo -j /root/ets-ogcapi-features10-1.9-deps.zip -d /root/te_base/resources/lib
83+ unzip -qo /root/ets-ogcapi-features10-1.9-ctl.zip -d /root/te_base/scripts
84+ export TE_BASE=/root/te_base
85+ echo 'Starting CITE conformance tests...'
86+ /tmp/te-console/bin/unix/test.sh -source=/root/te_base/scripts/ogcapi-features-1.0/1.0/ctl/ogcapi-features-1.0-suite.ctl -form=/cite-config/test-params.xml -logdir=users/cite/logs -session=cite-session-$(date +%Y%m%d-%H%M%S)
87+ echo 'CITE tests completed. Check results in logdir.'
8088 volumes :
81- - cite-results:/cite-results
89+ - cite-results:/root/te_base/users/ cite/logs
8290 - ./cite-config:/cite-config:ro
8391 networks :
8492 - cite-network
@@ -96,4 +104,4 @@ volumes:
96104
97105networks :
98106 cite-network :
99- driver : bridge
107+ driver : bridge
0 commit comments