From 52719fbfb10d50f395faf10a7eb23632cff58e11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibaut=20Barr=C3=A8re?= Date: Mon, 26 Sep 2022 14:46:41 +0200 Subject: [PATCH] =?UTF-8?q?Mises=20=C3=A0=20jour=20des=20outils=20(#18)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Bump up gtfs-to-geojson * Bump up transport-validator * Bump up transit_model for netex conversion * Bump GTFS validator to latest (breaking - name change) * Reference latest GTFS-RT validator (#17) * Fix incorrect path * Fix path --- Dockerfile | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index 854e65b..ca55cf9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ FROM rust:latest as builder WORKDIR / # this repo has no tagged releases ; we pin the version based on latest verified commit instead RUN git clone https://github.com/rust-transit/gtfs-to-geojson.git -RUN git -C gtfs-to-geojson checkout 3f21e496e433704cf879ee453eaa4cb41cf06e7c +RUN git -C gtfs-to-geojson checkout 6ee7dd5908babb79877df5673b0768bb01e1559d WORKDIR /gtfs-to-geojson RUN cargo build --release RUN strip ./target/release/gtfs-geojson @@ -14,7 +14,7 @@ RUN strip ./target/release/gtfs-geojson WORKDIR / # this repo has no tagged releases ; we pin the version based on latest verified commit instead RUN git clone https://github.com/etalab/transport-validator.git -RUN git -C transport-validator checkout 302e62e787dc28b80f9e8e80ceadc80be71aafbc +RUN git -C transport-validator checkout 4f985748eea742bb077327f8463f9bbc5e13cb1c WORKDIR /transport-validator RUN cargo build --release RUN strip ./target/release/main @@ -35,7 +35,7 @@ RUN strip ./target/release/main FROM kisiodigital/rust-ci:latest-proj8.1.0 as builder_proj WORKDIR / # we pin the version to avoid unexpected changes due to rebuild on our side -RUN git clone --depth=1 --branch=v0.46.0 --single-branch https://github.com/CanalTP/transit_model +RUN git clone --depth=1 --branch=v0.51.2 --single-branch https://github.com/CanalTP/transit_model WORKDIR /transit_model # NOTE: when using the kisio rust-ci as a base image, CARGO_TARGET_DIR is set to something like `/tmp/cargo-release`. # To avoid breaking the build in case of variable change upstream, we instead force the build to be local, which @@ -53,13 +53,13 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get -y install libssl-dev default-jre cur # https://github.com/MobilityData/gtfs-validator (java app) # https://github.com/MobilityData/gtfs-validator/releases -RUN curl --location -O https://github.com/MobilityData/gtfs-validator/releases/download/v3.0.0/gtfs-validator-v3.0.0_cli.jar -RUN cp gtfs-validator-v3.0.0_cli.jar /usr/local/bin +RUN curl --location -O https://github.com/MobilityData/gtfs-validator/releases/download/v3.1.1/gtfs-validator-3.1.1-cli.jar +RUN cp gtfs-validator-3.1.1-cli.jar /usr/local/bin -# https://github.com/CUTR-at-USF/gtfs-realtime-validator/blob/master/gtfs-realtime-validator-lib/README.md#batch-processing (java app) -# freeze by commit + self-compile for now (https://github.com/CUTR-at-USF/gtfs-realtime-validator/issues/406) -RUN git clone https://github.com/CUTR-at-USF/gtfs-realtime-validator.git -RUN git -C gtfs-realtime-validator checkout fca9c73b3d3b377c606065648750b777d36ad553 +# https://github.com/MobilityData/gtfs-realtime-validator/blob/master/gtfs-realtime-validator-lib/README.md#batch-processing (java app) +# freeze by commit + self-compile for now (until https://github.com/MobilityData/gtfs-realtime-validator/issues/105 is handled) +RUN git clone https://github.com/MobilityData/gtfs-realtime-validator.git +RUN git -C gtfs-realtime-validator checkout f9472e33e3c4719311b354ef7bc747035d67b1a8 WORKDIR /gtfs-realtime-validator/gtfs-realtime-validator-lib RUN apt-get -y install maven RUN mvn package @@ -81,7 +81,7 @@ RUN /usr/local/bin/transport-validator --help RUN /usr/local/bin/gtfs2netexfr --help # the --help returns a non-zero exit code ; we grep on a well-known text as a quick test -RUN java -jar /usr/local/bin/gtfs-validator-v3.0.0_cli.jar --help | grep "Location of the input GTFS ZIP" +RUN java -jar /usr/local/bin/gtfs-validator-3.1.1-cli.jar --help | grep "Location of the input GTFS ZIP" # there is no --version or --help here currently RUN java -jar /usr/local/bin/gtfs-realtime-validator-lib-1.0.0-SNAPSHOT.jar 2>&1 | grep "For batch mode you must provide a path and file name to GTFS data" # freeze the JDK too (installed via default-jre, so no explicit version)