@@ -12,55 +12,68 @@ jobs:
1212 name : OGC Cite Validation (Features)
1313 runs-on : ubuntu-latest
1414
15- services :
16- db :
17- image : docker.io/postgis/postgis
18- env :
19- POSTGRES_USER : postgres
20- POSTGRES_PASSWORD : password
21- POSTGRES_DB : ogcapi
22- options : >-
23- --health-cmd pg_isready
24- --health-interval 10s
25- --health-timeout 5s
26- --health-retries 5
27- ports :
28- - 5432:5432
15+ # services:
16+ # db:
17+ # image: docker.io/postgis/postgis
18+ # env:
19+ # POSTGRES_USER: postgres
20+ # POSTGRES_PASSWORD: password
21+ # POSTGRES_DB: ogcapi
22+ # options: >-
23+ # --health-cmd pg_isready
24+ # --health-interval 10s
25+ # --health-timeout 5s
26+ # --health-retries 5
27+ # ports:
28+ # - 5432:5432
2929 # cite:
3030 # image: docker.io/ogccite/ets-ogcapi-features10
3131 # ports:
3232 # - 8080:8080
3333
3434 steps :
35- - name : Checkout
36- uses : actions/checkout@v4
35+ # - name: Checkout
36+ # uses: actions/checkout@v4
37+
38+ # - 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"
42+
43+ # - name: Run
44+ # 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"
3749
38- - 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"
50+ # - name: Check running service
51+ # run: |
52+ # until [ \
53+ # "$(curl -s -w '%{http_code}' -o /dev/null "http://localhost:8484/")" \
54+ # -eq 200 ]
55+ # do
56+ # sleep 5
57+ # done
58+
59+ - name : Downgrade click
60+ run : pip install ogc-cite-runner "click<8.2.0"
4261
43- - name : Run
44- 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"
62+ - name : Cite container
63+ run : docker run -d --network host docker.io/ogccite/ets-ogcapi-features10
4964
50- - name : Check running service
65+ - name : Check running container
5166 run : |
5267 until [ \
53- "$(curl -s -w '%{http_code}' -o /dev/null "http://localhost:8484/ ")" \
68+ "$(curl -s -w '%{http_code}' -o /dev/null "http://localhost:8080/teamengine ")" \
5469 -eq 200 ]
70+ echo $http_code
5571 do
5672 sleep 5
5773 done
58-
59- - name : Downgrade click
60- run : pip install ogc-cite-runner "click<8.2.0"
61-
74+
6275 - 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
76+ run : ogc-cite-runner execute-test-suite http://host.docker.internal :8080/teamengine ogcapi-features-1.0 --suite-input iut http://host.docker.internal:8484
64776578 # with:
6679 # test_suite_identifier: ogcapi-features-1.0
0 commit comments