upload to both aws and backblaze
This commit is contained in:
parent
942316bfa7
commit
daf5a5becd
1 changed files with 33 additions and 1 deletions
|
|
@ -140,7 +140,7 @@ steps:
|
||||||
value: "true"
|
value: "true"
|
||||||
effect: "NoSchedule"
|
effect: "NoSchedule"
|
||||||
|
|
||||||
- name: Upload
|
- name: Upload to AWS S3
|
||||||
image: woodpeckerci/plugin-s3:1.3.0
|
image: woodpeckerci/plugin-s3:1.3.0
|
||||||
pull: true
|
pull: true
|
||||||
settings:
|
settings:
|
||||||
|
|
@ -171,6 +171,38 @@ steps:
|
||||||
kubernetes.io/arch: "${ARCH}"
|
kubernetes.io/arch: "${ARCH}"
|
||||||
node.kubernetes.io/instance-type: "${INSTANCE_TYPE}"
|
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:
|
services:
|
||||||
docker:
|
docker:
|
||||||
environment:
|
environment:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue