ci, wip: fix cargo cache, env expansion
ci/woodpecker/push/woodpecker Pipeline failed
Details
ci/woodpecker/push/woodpecker Pipeline failed
Details
parent
9f6e9992b2
commit
968fa47916
|
@ -33,9 +33,8 @@ pipeline:
|
||||||
group: init
|
group: init
|
||||||
image: albedo.lan:5000/upend-rust:latest
|
image: albedo.lan:5000/upend-rust:latest
|
||||||
pull: true
|
pull: true
|
||||||
environment:
|
|
||||||
CARGO_HOME: ${CI_WORKSPACE}/.cargo
|
|
||||||
commands:
|
commands:
|
||||||
|
- export CARGO_HOME=$CI_WORKSPACE/.cargo
|
||||||
- test -d $CARGO_HOME || cp -vr /usr/local/cargo $CARGO_HOME
|
- test -d $CARGO_HOME || cp -vr /usr/local/cargo $CARGO_HOME
|
||||||
|
|
||||||
cache:pushtest:
|
cache:pushtest:
|
||||||
|
@ -63,9 +62,8 @@ pipeline:
|
||||||
prepare:build:wasmlib:
|
prepare:build:wasmlib:
|
||||||
image: albedo.lan:5000/upend-rust:latest
|
image: albedo.lan:5000/upend-rust:latest
|
||||||
pull: true
|
pull: true
|
||||||
environment:
|
|
||||||
CARGO_HOME: ${CI_WORKSPACE}/.cargo
|
|
||||||
commands:
|
commands:
|
||||||
|
- export CARGO_HOME=$CI_WORKSPACE/.cargo
|
||||||
- rustc --version && cargo --version
|
- rustc --version && cargo --version
|
||||||
- task build:wasmlib
|
- task build:wasmlib
|
||||||
# volumes:
|
# volumes:
|
||||||
|
@ -75,9 +73,8 @@ pipeline:
|
||||||
group: build
|
group: build
|
||||||
image: albedo.lan:5000/upend-rust:latest
|
image: albedo.lan:5000/upend-rust:latest
|
||||||
pull: true
|
pull: true
|
||||||
environment:
|
|
||||||
CARGO_HOME: ${CI_WORKSPACE}/.cargo
|
|
||||||
commands:
|
commands:
|
||||||
|
- export CARGO_HOME=$CI_WORKSPACE/.cargo
|
||||||
- rustc --version && cargo --version
|
- rustc --version && cargo --version
|
||||||
- task build:backend
|
- task build:backend
|
||||||
# volumes:
|
# volumes:
|
||||||
|
@ -95,9 +92,8 @@ pipeline:
|
||||||
group: lint
|
group: lint
|
||||||
image: albedo.lan:5000/upend-rust:latest
|
image: albedo.lan:5000/upend-rust:latest
|
||||||
pull: true
|
pull: true
|
||||||
environment:
|
|
||||||
CARGO_HOME: ${CI_WORKSPACE}/.cargo
|
|
||||||
commands:
|
commands:
|
||||||
|
- export CARGO_HOME=$CI_WORKSPACE/.cargo
|
||||||
- rustup component add clippy
|
- rustup component add clippy
|
||||||
- task lint:backend
|
- task lint:backend
|
||||||
- git status -vvv
|
- git status -vvv
|
||||||
|
@ -150,9 +146,8 @@ pipeline:
|
||||||
group: test
|
group: test
|
||||||
image: albedo.lan:5000/upend-rust:latest
|
image: albedo.lan:5000/upend-rust:latest
|
||||||
pull: true
|
pull: true
|
||||||
environment:
|
|
||||||
CARGO_HOME: ${CI_WORKSPACE}/.cargo
|
|
||||||
commands:
|
commands:
|
||||||
|
- export CARGO_HOME=$CI_WORKSPACE/.cargo
|
||||||
- task test:backend
|
- task test:backend
|
||||||
# volumes:
|
# volumes:
|
||||||
# - rust_registry:/usr/local/cargo
|
# - rust_registry:/usr/local/cargo
|
||||||
|
|
Loading…
Reference in New Issue