upload to both aws and backblaze

This commit is contained in:
Patrick Schratz 2024-10-18 12:04:36 +02:00
commit daf5a5becd
Signed by: pat-s
GPG key ID: 3C6318841EF78925

View file

@ -140,7 +140,7 @@ steps:
value: "true"
effect: "NoSchedule"
- name: Upload
- name: Upload to AWS S3
image: woodpeckerci/plugin-s3:1.3.0
pull: true
settings:
@ -171,6 +171,38 @@ steps:
kubernetes.io/arch: "${ARCH}"
node.kubernetes.io/instance-type: "${INSTANCE_TYPE}"
- name: Upload to Backblaze S3
image: woodpeckerci/plugin-s3:1.3.0
pull: true
settings:
bucket: devxy-r-builds
strip_prefix: /tmp/${PLATFORM}/
source: /tmp/${PLATFORM}/*
target: ${PLATFORM_ID}/
region: s3.eu-central-003
acl: public-read
endpoint: s3.eu-central-003.backblazeb2.com
access_key:
from_secret: access_key_id_backblaze
secret_key:
from_secret: secret_access_key_backblaze
overwrite: false
volumes:
- ci-tmp-rwx:/tmp # agent on k8s
# - /tmp:/tmp # agent on VM
backend_options:
kubernetes:
resources:
requests:
memory: 100Mi
cpu: 200m
limits:
memory: 1000Mi
cpu: 1000m
nodeSelector:
kubernetes.io/arch: "${ARCH}"
node.kubernetes.io/instance-type: "${INSTANCE_TYPE}"
services:
docker:
environment: