wip: upload test
ci/woodpecker/push/woodpecker Pipeline failed Details

Tomáš Mládek 2023-08-12 21:07:21 +02:00
parent e5fe319ef7
commit 9f6e9992b2
1 changed files with 31 additions and 6 deletions

View File

@ -13,9 +13,10 @@ pipeline:
bucket: "upend-ci-cache"
cache_key: "{{ .Commit.Branch }}"
path-style: true
region: anabasis
mount:
- ".cargo"
- ".pnpm"
- .cargo
- .pnpm
secrets: [S3_ENDPOINT, S3_ACCESS_KEY, S3_SECRET_KEY]
when:
event: push
@ -25,7 +26,8 @@ pipeline:
image: albedo.lan:5000/upend-node:latest
pull: true
commands:
- pnpm config set store-dir $PWD/.pnpm
- pnpm config set store-dir $CI_WORKSPACE/.pnpm
- mkdir -p $CI_WORKSPACE/.pnpm
prepare:cache:backend:
group: init
@ -34,7 +36,29 @@ pipeline:
environment:
CARGO_HOME: ${CI_WORKSPACE}/.cargo
commands:
- test -d $CARGO_HOME || cp -r /usr/local/cargo $CARGO_HOME
- test -d $CARGO_HOME || cp -vr /usr/local/cargo $CARGO_HOME
cache:pushtest:
image: meltwater/drone-cache:v1
pull: true
settings:
rebuild: true
endpoint:
from_secret: S3_ENDPOINT
access-key:
from_secret: S3_ACCESS_KEY
secret-key:
from_secret: S3_SECRET_KEY
bucket: "upend-ci-cache"
cache_key: "{{ .Commit.Branch }}"
path-style: true
region: anabasis
mount:
- ".pnpm"
- ".cargo"
secrets: [S3_ENDPOINT, S3_ACCESS_KEY, S3_SECRET_KEY]
when:
event: push
prepare:build:wasmlib:
image: albedo.lan:5000/upend-rust:latest
@ -147,9 +171,10 @@ pipeline:
bucket: "upend-ci-cache"
cache_key: "{{ .Commit.Branch }}"
path-style: true
region: anabasis
mount:
- ".cargo"
- ".pnpm"
- .cargo
- .pnpm
secrets: [S3_ENDPOINT, S3_ACCESS_KEY, S3_SECRET_KEY]
when:
event: push