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
|
- name: Get latest R version
|
||||||
image: alpine:3.20
|
image: alpine:3.21
|
||||||
commands:
|
commands:
|
||||||
- apk add -q --no-cache curl
|
- 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
|
- 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
|
# ref: https://github.com/woodpecker-ci/woodpecker/discussions/2721
|
||||||
- name: Build
|
- name: Build
|
||||||
image: alpine:3.20
|
image: alpine:3.21
|
||||||
privileged: true
|
privileged: true
|
||||||
environment:
|
environment:
|
||||||
DOCKER_HOST: tcp://docker:2375
|
DOCKER_HOST: tcp://docker:2375
|
||||||
|
|
@ -150,36 +150,36 @@ steps:
|
||||||
value: "true"
|
value: "true"
|
||||||
effect: "NoSchedule"
|
effect: "NoSchedule"
|
||||||
|
|
||||||
- name: Upload to AWS S3
|
# - 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:
|
||||||
bucket: devxy-r-builds
|
# bucket: devxy-r-builds
|
||||||
strip_prefix: /tmp/${PLATFORM}/
|
# strip_prefix: /tmp/${PLATFORM}/
|
||||||
source: /tmp/${PLATFORM}/*
|
# source: /tmp/${PLATFORM}/*
|
||||||
target: ${PLATFORM_ID}/
|
# target: ${PLATFORM_ID}/
|
||||||
region: eu-central-2
|
# region: eu-central-2
|
||||||
# acl: public-read
|
# # acl: public-read
|
||||||
access_key:
|
# access_key:
|
||||||
from_secret: aws_access_key_id
|
# from_secret: aws_access_key_id
|
||||||
secret_key:
|
# secret_key:
|
||||||
from_secret: aws_secret_access_key
|
# from_secret: aws_secret_access_key
|
||||||
overwrite: false
|
# overwrite: false
|
||||||
volumes:
|
# volumes:
|
||||||
- ci-tmp-rwx:/tmp # agent on k8s
|
# - ci-tmp-rwx:/tmp # agent on k8s
|
||||||
# - /tmp:/tmp # agent on VM
|
# # - /tmp:/tmp # agent on VM
|
||||||
backend_options:
|
# backend_options:
|
||||||
kubernetes:
|
# kubernetes:
|
||||||
resources:
|
# resources:
|
||||||
requests:
|
# requests:
|
||||||
memory: 100Mi
|
# memory: 100Mi
|
||||||
cpu: 200m
|
# cpu: 200m
|
||||||
limits:
|
# limits:
|
||||||
memory: 1000Mi
|
# memory: 1000Mi
|
||||||
cpu: 1000m
|
# cpu: 1000m
|
||||||
nodeSelector:
|
# nodeSelector:
|
||||||
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
|
- name: Upload to Backblaze S3
|
||||||
image: woodpeckerci/plugin-s3:1.3.0
|
image: woodpeckerci/plugin-s3:1.3.0
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue