ci: migrate from Hetzner to Backblaze
Some checks failed
ci/crow/cron/build/1 Pipeline failed
ci/crow/cron/build/2 Pipeline failed
ci/crow/cron/build/3 Pipeline failed
ci/crow/cron/build/7 Pipeline failed
ci/crow/cron/build/10 Pipeline failed
ci/crow/cron/build/12 Pipeline failed
ci/crow/cron/build/15 Pipeline was successful
ci/crow/cron/build/16 Pipeline was successful
ci/crow/cron/build/6 Pipeline was successful
ci/crow/cron/build/9 Pipeline was successful
ci/crow/cron/build/13 Pipeline was canceled
ci/crow/cron/build/8 Pipeline failed
ci/crow/cron/build/11 Pipeline was canceled
ci/crow/cron/build/5 Pipeline was successful
ci/crow/cron/build/4 Pipeline failed
ci/crow/cron/build/14 Pipeline was canceled
Some checks failed
ci/crow/cron/build/1 Pipeline failed
ci/crow/cron/build/2 Pipeline failed
ci/crow/cron/build/3 Pipeline failed
ci/crow/cron/build/7 Pipeline failed
ci/crow/cron/build/10 Pipeline failed
ci/crow/cron/build/12 Pipeline failed
ci/crow/cron/build/15 Pipeline was successful
ci/crow/cron/build/16 Pipeline was successful
ci/crow/cron/build/6 Pipeline was successful
ci/crow/cron/build/9 Pipeline was successful
ci/crow/cron/build/13 Pipeline was canceled
ci/crow/cron/build/8 Pipeline failed
ci/crow/cron/build/11 Pipeline was canceled
ci/crow/cron/build/5 Pipeline was successful
ci/crow/cron/build/4 Pipeline failed
ci/crow/cron/build/14 Pipeline was canceled
This commit is contained in:
parent
6f6e1defd3
commit
090bf0a1eb
1 changed files with 7 additions and 7 deletions
|
|
@ -113,7 +113,7 @@ steps:
|
||||||
- apk add -q --no-cache curl
|
- apk add -q --no-cache curl
|
||||||
- |
|
- |
|
||||||
VERSION=$(cat r-version-to-build.txt)
|
VERSION=$(cat r-version-to-build.txt)
|
||||||
curl -s "https://fsn1.your-objectstorage.com/devxy-r-builds?prefix=${PLATFORM_ID}/" | \
|
curl -s "https://s3.eu-central-003.backblazeb2.com/devxy-r-builds?prefix=${PLATFORM_ID}/" | \
|
||||||
grep -oP '<Key>[^<]+</Key>' | sed 's/<[^>]*>//g' | \
|
grep -oP '<Key>[^<]+</Key>' | sed 's/<[^>]*>//g' | \
|
||||||
awk -v arch="${ARCH_ID}" -v ver="${VERSION}" \
|
awk -v arch="${ARCH_ID}" -v ver="${VERSION}" \
|
||||||
'$0 ~ arch && $0 ~ ver {print substr($NF, 3, 5)}' > r-version-s3.txt
|
'$0 ~ arch && $0 ~ ver {print substr($NF, 3, 5)}' > r-version-s3.txt
|
||||||
|
|
@ -149,7 +149,7 @@ steps:
|
||||||
kubernetes.io/arch: "${ARCH}"
|
kubernetes.io/arch: "${ARCH}"
|
||||||
|
|
||||||
|
|
||||||
- name: Upload to Hetzner S3
|
- name: Upload to Backblaze S3
|
||||||
image: reg.devxy.io/docker.io/woodpeckerci/plugin-s3:1.5.2
|
image: reg.devxy.io/docker.io/woodpeckerci/plugin-s3:1.5.2
|
||||||
pull: true
|
pull: true
|
||||||
settings:
|
settings:
|
||||||
|
|
@ -157,13 +157,13 @@ steps:
|
||||||
strip_prefix: /tmp/${PLATFORM}/
|
strip_prefix: /tmp/${PLATFORM}/
|
||||||
source: /tmp/${PLATFORM}/*
|
source: /tmp/${PLATFORM}/*
|
||||||
target: ${PLATFORM_ID}/
|
target: ${PLATFORM_ID}/
|
||||||
region: fsn1
|
region: eu-central-003
|
||||||
acl: public-read
|
acl: public-read
|
||||||
endpoint: https://fsn1.your-objectstorage.com
|
endpoint: https://s3.eu-central-003.backblazeb2.com
|
||||||
access_key:
|
access_key:
|
||||||
from_secret: HETZNER_S3_ACCESS_KEY_K3S
|
from_secret: B2_S3_ACCESS_KEY_ID
|
||||||
secret_key:
|
secret_key:
|
||||||
from_secret: HETZNER_S3_SECRET_KEY_K3S
|
from_secret: B2_S3_SECRET_KEY
|
||||||
overwrite: false
|
overwrite: false
|
||||||
volumes:
|
volumes:
|
||||||
- ci-tmp-rwx:/tmp # agent on k8s
|
- ci-tmp-rwx:/tmp # agent on k8s
|
||||||
|
|
@ -185,7 +185,7 @@ services:
|
||||||
docker:
|
docker:
|
||||||
environment:
|
environment:
|
||||||
DOCKER_TLS_CERTDIR: ""
|
DOCKER_TLS_CERTDIR: ""
|
||||||
image: reg.devxy.io/docker.io/library/docker:28-dind
|
image: reg.devxy.io/docker.io/library/docker:29-dind
|
||||||
commands:
|
commands:
|
||||||
- mkdir -p /tmp/${PLATFORM}/${ARCH}
|
- mkdir -p /tmp/${PLATFORM}/${ARCH}
|
||||||
- dockerd --tls=false --mtu 1420 --host=tcp://0.0.0.0:2375
|
- dockerd --tls=false --mtu 1420 --host=tcp://0.0.0.0:2375
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue