From 52202874f24ce9e15d9cb90854b54309f34c247a Mon Sep 17 00:00:00 2001 From: Olivier 'reivilibre Date: Sat, 19 Nov 2022 16:47:25 +0000 Subject: [PATCH] Update images to remove deprecated ones --- .woodpecker/build.yml | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/.woodpecker/build.yml b/.woodpecker/build.yml index 02df615..8f4c6d4 100644 --- a/.woodpecker/build.yml +++ b/.woodpecker/build.yml @@ -5,28 +5,19 @@ platform: linux/amd64 pipeline: unitTests: - image: "docker.bics.ga/rei_ci/rust-sccache:latest-amd64" + image: "rust:1.65.0" pull: true commands: - DEBIAN_FRONTEND=noninteractive apt-get -qq update > /dev/null - DEBIAN_FRONTEND=noninteractive apt-get -yqq install pkg-config libssl-dev build-essential libsqlite3-dev > /dev/null - cargo build --all - cargo test --all - - sccache --show-stats - environment: - RUSTC_WRAPPER: /usr/local/bin/sccache - SCCACHE_S3_USE_SSL: "true" - SCCACHE_ENDPOINT: "richie.m4.tanukitsu.net:443" - secrets: - - sccache_bucket - - aws_access_key_id - - aws_secret_access_key when: event: [push, pull_request] testSuite: - image: "docker.bics.ga/rei_ci/rust-sccache:latest-amd64" + image: "rust:1.65.0" commands: - DEBIAN_FRONTEND=noninteractive apt-get -qq update > /dev/null - DEBIAN_FRONTEND=noninteractive apt-get -yqq -o=Dpkg::Use-Pty=0 install pkg-config libssl-dev build-essential libsqlite3-dev python3.9 python3.9-venv postgresql postgresql-client mariadb-server mariadb-client zstd lz4 > /dev/null @@ -41,20 +32,11 @@ pipeline: - python3.9 -m venv testsuite/.venv - ./testsuite/.venv/bin/pip install ./testsuite ./datman-helper-postgres ./datman-helper-mysql - cd testsuite && . .venv/bin/activate && TEST_POSTGRES=$(hostname),testsuitedb,root TEST_MYSQL=$(hostname),testsuitemydb,root green - - sccache --show-stats - environment: - RUSTC_WRAPPER: /usr/local/bin/sccache - SCCACHE_S3_USE_SSL: "true" - SCCACHE_ENDPOINT: "richie.m4.tanukitsu.net:443" - secrets: - - sccache_bucket - - aws_access_key_id - - aws_secret_access_key when: event: [push, pull_request] deployManual: - image: "docker.bics.ga/rei_ci/mdbook:latest-amd64" + image: "docker.emunest.net/rei_ci/mdbook:latest-amd64" pull: true when: branch: