chore: only upload to backblaze
This commit is contained in:
parent
47d289dbc3
commit
681b4c9790
1 changed files with 32 additions and 32 deletions
|
|
@ -82,7 +82,7 @@ steps:
|
|||
#.
|
||||
|
||||
- name: Get latest R version
|
||||
image: alpine:3.20
|
||||
image: alpine:3.21
|
||||
commands:
|
||||
- apk add -q --no-cache curl
|
||||
- curl -s https://raw.githubusercontent.com/Homebrew/homebrew-core/master/Formula/r/r.rb | grep -o 'R-[0-9]*\.[0-9]*\.[0-9]*' | tr -d 'R-' | tr -d '"' > r-release-version.txt
|
||||
|
|
@ -121,7 +121,7 @@ steps:
|
|||
|
||||
# ref: https://github.com/woodpecker-ci/woodpecker/discussions/2721
|
||||
- name: Build
|
||||
image: alpine:3.20
|
||||
image: alpine:3.21
|
||||
privileged: true
|
||||
environment:
|
||||
DOCKER_HOST: tcp://docker:2375
|
||||
|
|
@ -150,36 +150,36 @@ steps:
|
|||
value: "true"
|
||||
effect: "NoSchedule"
|
||||
|
||||
- name: Upload to AWS 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: eu-central-2
|
||||
# acl: public-read
|
||||
access_key:
|
||||
from_secret: aws_access_key_id
|
||||
secret_key:
|
||||
from_secret: aws_secret_access_key
|
||||
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}"
|
||||
# - name: Upload to AWS 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: eu-central-2
|
||||
# # acl: public-read
|
||||
# access_key:
|
||||
# from_secret: aws_access_key_id
|
||||
# secret_key:
|
||||
# from_secret: aws_secret_access_key
|
||||
# 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}"
|
||||
|
||||
- name: Upload to Backblaze S3
|
||||
image: woodpeckerci/plugin-s3:1.3.0
|
||||
|
|
|
|||
Loading…
Reference in a new issue