Skip to content

Commit

Permalink
Merge pull request #6 from PDOK/bump-oaf-validator
Browse files Browse the repository at this point in the history
Upgrade OGC API Features validator from 1.7 to 1.9 + also fail on errored testcases
  • Loading branch information
rkettelerij authored Feb 3, 2025
2 parents 3e3f033 + e944a80 commit 958e3a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM docker.io/maven:3-eclipse-temurin-8
FROM docker.io/maven:3-eclipse-temurin-21

ARG REPO=https://github.com/opengeospatial/ets-ogcapi-features10.git
ARG REPO_REF="tags/1.7"
ARG REPO_REF="tags/1.9"

WORKDIR /src
RUN git clone ${REPO} . && git checkout ${REPO_REF}
Expand All @@ -16,10 +16,11 @@ RUN apt update && apt install -y python3 \
WORKDIR /src
COPY scripts /src

RUN python3 -m pip config set global.break-system-packages true
RUN python3 -m pip install -r requirements.txt
LABEL AUTHOR="[email protected]"
# set correct timezone
ENV TZ Europe/Amsterdam
ENV TZ=Europe/Amsterdam

COPY --from=0 /src/target/ets-ogcapi-features10-aio.jar /opt/ets-ogcapi-features10-aio.jar
ENTRYPOINT ["bash", "/src/startup.sh"]
2 changes: 1 addition & 1 deletion scripts/parse-results.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def main(result_dir, service_url, pretty_print, exit_on_fail):
console.print("# SKIPPED TEST CASES\n", style="yellow")
console.print("\n".join(skipped_cases), style="yellow")

if failed_cases and exit_on_fail:
if (failed_cases or errored_cases) and exit_on_fail:
exit(1)


Expand Down

0 comments on commit 958e3a5

Please sign in to comment.