diff --git a/.woodpecker.yml b/.woodpecker.yml index d98f4ba..6f4560b 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -33,9 +33,8 @@ pipeline: group: init image: albedo.lan:5000/upend-rust:latest pull: true - environment: - CARGO_HOME: ${CI_WORKSPACE}/.cargo commands: + - export CARGO_HOME=$CI_WORKSPACE/.cargo - test -d $CARGO_HOME || cp -vr /usr/local/cargo $CARGO_HOME cache:pushtest: @@ -63,9 +62,8 @@ pipeline: prepare:build:wasmlib: image: albedo.lan:5000/upend-rust:latest pull: true - environment: - CARGO_HOME: ${CI_WORKSPACE}/.cargo commands: + - export CARGO_HOME=$CI_WORKSPACE/.cargo - rustc --version && cargo --version - task build:wasmlib # volumes: @@ -75,9 +73,8 @@ pipeline: group: build image: albedo.lan:5000/upend-rust:latest pull: true - environment: - CARGO_HOME: ${CI_WORKSPACE}/.cargo commands: + - export CARGO_HOME=$CI_WORKSPACE/.cargo - rustc --version && cargo --version - task build:backend # volumes: @@ -95,9 +92,8 @@ pipeline: group: lint image: albedo.lan:5000/upend-rust:latest pull: true - environment: - CARGO_HOME: ${CI_WORKSPACE}/.cargo commands: + - export CARGO_HOME=$CI_WORKSPACE/.cargo - rustup component add clippy - task lint:backend - git status -vvv @@ -150,9 +146,8 @@ pipeline: group: test image: albedo.lan:5000/upend-rust:latest pull: true - environment: - CARGO_HOME: ${CI_WORKSPACE}/.cargo commands: + - export CARGO_HOME=$CI_WORKSPACE/.cargo - task test:backend # volumes: # - rust_registry:/usr/local/cargo