Commit 84c2e13b authored by Emmanuel Raviart's avatar Emmanuel Raviart

Use `jq` Debian package.

parent cef0b222
Pipeline #96651 failed with stage
in 1 minute and 53 seconds
image: buildpack-deps:stretch
stages:
stages:
- build
build:
stage: build
script: cargo build -p tricoteuses_api_assemblee
before_script:
- RUSTUP_HOME=/usr/local/rustup
- CARGO_HOME=/usr/local/cargo
- PATH=$HOME/.cargo/bin:$PATH
- JQ_VERSION='1.5'
- set -eux; url="https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init"; wget "$url";
- chmod +x rustup-init; ./rustup-init -y --no-modify-path --default-toolchain nightly;
- rustup --version
- cargo --version
- rustc --version
- apt-get update && apt-get install -y unzip graphicsmagick
- wget --no-check-certificate https://raw.githubusercontent.com/stedolan/jq/master/sig/jq-release.key -O /tmp/jq-release.key;
- wget --no-check-certificate https://raw.githubusercontent.com/stedolan/jq/master/sig/v${JQ_VERSION}/jq-linux64.asc -O /tmp/jq-linux64.asc;
- wget --no-check-certificate https://github.com/stedolan/jq/releases/download/jq-${JQ_VERSION}/jq-linux64 -O /tmp/jq-linux64;
- apt-get update && apt-get install -y graphicsmagick jq unzip
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment