@@ -26,26 +26,22 @@ jobs:
2626 --health-retries 5
2727 ports :
2828 - 5432:5432
29- # cite:
30- # image: docker.io/ogccite/ets-ogcapi-features10
31- # ports:
32- # - 8080:8080
29+ cite :
30+ image : docker.io/ogccite/ets-ogcapi-features10
31+ ports :
32+ - 8080:8080
3333
3434 steps :
3535 - name : Checkout
3636 uses : actions/checkout@v4
3737
3838 - name : Load
39- run : cargo run -p data-loader -- --input data/ne_110m_admin_0_countries.geojson --collection countries
40- env :
41- DATABASE_URL : " postgresql://postgres:password@localhost:5432/ogcapi"
39+ run : cargo run -p data-loader -- --input data/ne_110m_populated_places.geojson --collection places
4240
4341 - name : Run
4442 run : RUNNER_TRACKING_ID="" && cargo run -p cite-service &
45- env :
46- APP_HOST : " 0.0.0.0"
47- APP_PORT : " 8484"
48- DATABASE_URL : " postgresql://postgres:password@localhost:5432/ogcapi"
43+ # env:
44+ # PUBLIC_URL: "http://host.docker.internal:8484"
4945
5046 - name : Check running service
5147 run : |
@@ -55,15 +51,29 @@ jobs:
5551 do
5652 sleep 5
5753 done
54+ curl -v http://localhost:8484/ | jq
55+
56+ # - name: Downgrade click
57+ # run: pip install ogc-cite-runner "click<8.2.0"
5858
59- - name : Downgrade click
60- run : pip install ogc-cite-runner "click<8.2.0"
59+ # - name: Cite container
60+ # run: docker run -d --network host docker.io/ogccite/ets-ogcapi-features10
6161
62+ # - name: Check running container
63+ # run: |
64+ # until [ \
65+ # "$(curl -s -w '%{http_code}' -o /dev/null "http://localhost:8080/teamengine")" \
66+ # -eq 200 ]
67+ # echo $http_code
68+ # do
69+ # sleep 5
70+ # done
71+
6272 - name : Validate
63- run : docker run -d --network host docker.io/ogccite/ets-ogcapi-features10 && sleep 20 && ogc-cite-runner execute-test-suite http://localhost:8080/teamengine ogcapi-features-1.0 --suite-input iut http://host.docker.internal:8484
64- 65- # with:
66- # test_suite_identifier: ogcapi-features-1.0
67- # test_session_arguments: >-
68- # iut=http://host.docker.internal:8484
73+ # run: ogc-cite-runner execute-test-suite http://localhost:8080/teamengine ogcapi-features-1.0 --suite-input iut http://host.docker.internal:8484
74+ 75+ with :
76+ test_suite_identifier : ogcapi-features-1.0
77+ test_session_arguments : >-
78+ iut=http://host.docker.internal:8484
6979
0 commit comments