resume normal builds

This commit is contained in:
Patrick Schratz 2024-09-04 16:45:10 +02:00
commit 78286276cc
Signed by: pat-s
GPG key ID: 3C6318841EF78925

View file

@ -3,16 +3,16 @@ when:
matrix: matrix:
include: include:
# - PLATFORM: rhel-9 - PLATFORM: rhel-9
# PLATFORM_ID: el9 PLATFORM_ID: el9
# - PLATFORM: centos-8 - PLATFORM: centos-8
# PLATFORM_ID: el8 PLATFORM_ID: el8
# - PLATFORM: ubuntu-2204 - PLATFORM: ubuntu-2204
# PLATFORM_ID: 2204 PLATFORM_ID: 2204
# - PLATFORM: ubuntu-2404 - PLATFORM: ubuntu-2404
# PLATFORM_ID: 2404 PLATFORM_ID: 2404
# - PLATFORM: opensuse-155 - PLATFORM: opensuse-155
# PLATFORM_ID: suse155 PLATFORM_ID: suse155
- PLATFORM: alpine-320 - PLATFORM: alpine-320
PLATFORM_ID: alpine320 PLATFORM_ID: alpine320
@ -52,11 +52,11 @@ steps:
- name: Check if files for R version already exist in s3 - name: Check if files for R version already exist in s3
environment: environment:
AWS_ACCESS_KEY_ID: AWS_ACCESS_KEY_ID:
from_secret: b2_application_key
AWS_SECRET_ACCESS_KEY:
from_secret: b2_application_key_id from_secret: b2_application_key_id
AWS_REGION: eu-central-2 AWS_SECRET_ACCESS_KEY:
AWS_ENDPOINT: s3.eu-central-003.backblazeb2.com from_secret: b2_application_key
# AWS_REGION: s3.eu-central-003
AWS_ENDPOINT_URL: https://s3.eu-central-003.backblazeb2.com
image: alpine:3.20 image: alpine:3.20
commands: commands:
- apk add -q --no-cache aws-cli - apk add -q --no-cache aws-cli
@ -68,35 +68,35 @@ steps:
topology.kubernetes.io/region: fsn1 topology.kubernetes.io/region: fsn1
# 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.20
# privileged: true privileged: true
# environment: environment:
# DOCKER_HOST: tcp://docker:2375 DOCKER_HOST: tcp://docker:2375
# commands: | commands: |
# # docker info # docker info
# if [ ! -s r_build_latest.txt ] || [ ! "$(cat r-release-version.txt)" = "$(cat r_build_latest.txt)" ]; then if [ ! -s r_build_latest.txt ] || [ ! "$(cat r-release-version.txt)" = "$(cat r_build_latest.txt)" ]; then
# apk add -q --no-cache py3-pip make just aws-cli docker-compose apk add -q --no-cache py3-pip make just aws-cli docker-compose
# pip3 install -q b2 --break-system-packages pip3 install -q b2 --break-system-packages
# just build-r-${PLATFORM} $(cat r-release-version.txt) just build-r-${PLATFORM} $(cat r-release-version.txt)
# fi fi
# backend_options: backend_options:
# kubernetes: kubernetes:
# resources: resources:
# requests: requests:
# memory: 200Mi memory: 200Mi
# cpu: 500m cpu: 500m
# limits: limits:
# memory: 1000Mi memory: 1000Mi
# cpu: 4000m cpu: 4000m
# nodeSelector: nodeSelector:
# kubernetes.io/arch: "arm64" kubernetes.io/arch: "arm64"
# topology.kubernetes.io/region: fsn1 topology.kubernetes.io/region: fsn1
# tolerations: tolerations:
# - key: "CI" - key: "CI"
# operator: "Equal" operator: "Equal"
# value: "true" value: "true"
# effect: "NoSchedule" effect: "NoSchedule"
- name: Upload - name: Upload
image: woodpeckerci/plugin-s3:1.3.0 image: woodpeckerci/plugin-s3:1.3.0