also build for amd64
This commit is contained in:
parent
78286276cc
commit
4e1e9b628e
1 changed files with 13 additions and 5 deletions
|
|
@ -5,16 +5,25 @@ matrix:
|
||||||
include:
|
include:
|
||||||
- PLATFORM: rhel-9
|
- PLATFORM: rhel-9
|
||||||
PLATFORM_ID: el9
|
PLATFORM_ID: el9
|
||||||
|
ARCH: arm64
|
||||||
- PLATFORM: centos-8
|
- PLATFORM: centos-8
|
||||||
PLATFORM_ID: el8
|
PLATFORM_ID: el8
|
||||||
|
ARCH: arm64
|
||||||
- PLATFORM: ubuntu-2204
|
- PLATFORM: ubuntu-2204
|
||||||
PLATFORM_ID: 2204
|
PLATFORM_ID: 2204
|
||||||
|
ARCH: arm64
|
||||||
- PLATFORM: ubuntu-2404
|
- PLATFORM: ubuntu-2404
|
||||||
PLATFORM_ID: 2404
|
PLATFORM_ID: 2404
|
||||||
|
ARCH: arm64
|
||||||
- PLATFORM: opensuse-155
|
- PLATFORM: opensuse-155
|
||||||
PLATFORM_ID: suse155
|
PLATFORM_ID: suse155
|
||||||
|
ARCH: arm64
|
||||||
- PLATFORM: alpine-320
|
- PLATFORM: alpine-320
|
||||||
PLATFORM_ID: alpine320
|
PLATFORM_ID: alpine320
|
||||||
|
ARCH: arm64
|
||||||
|
- PLATFORM: alpine-320
|
||||||
|
PLATFORM_ID: alpine320
|
||||||
|
ARCH: amd64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# Ensures that we're always using the latest available upstream build chain
|
# Ensures that we're always using the latest available upstream build chain
|
||||||
|
|
@ -55,12 +64,11 @@ steps:
|
||||||
from_secret: b2_application_key_id
|
from_secret: b2_application_key_id
|
||||||
AWS_SECRET_ACCESS_KEY:
|
AWS_SECRET_ACCESS_KEY:
|
||||||
from_secret: b2_application_key
|
from_secret: b2_application_key
|
||||||
# AWS_REGION: s3.eu-central-003
|
|
||||||
AWS_ENDPOINT_URL: https://s3.eu-central-003.backblazeb2.com
|
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
|
||||||
- aws s3 ls s3://devxy-r-builds/${PLATFORM_ID}/ | tail -1 | awk '{print $NF}' | cut -c 3-7 > r_build_latest.txt
|
- aws s3 ls s3://devxy-r-builds/${PLATFORM_ID}/${ARCH}/ | tail -1 | awk '{print $NF}' | cut -c 3-7 > r_build_latest.txt
|
||||||
- cat r_build_latest.txt
|
- cat r_build_latest.txt
|
||||||
backend_options:
|
backend_options:
|
||||||
kubernetes:
|
kubernetes:
|
||||||
|
|
@ -90,7 +98,7 @@ steps:
|
||||||
memory: 1000Mi
|
memory: 1000Mi
|
||||||
cpu: 4000m
|
cpu: 4000m
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
kubernetes.io/arch: "arm64"
|
kubernetes.io/arch: "${ARCH}"
|
||||||
topology.kubernetes.io/region: fsn1
|
topology.kubernetes.io/region: fsn1
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: "CI"
|
- key: "CI"
|
||||||
|
|
@ -135,7 +143,7 @@ services:
|
||||||
DOCKER_TLS_CERTDIR: ""
|
DOCKER_TLS_CERTDIR: ""
|
||||||
image: docker:26-dind
|
image: docker:26-dind
|
||||||
commands:
|
commands:
|
||||||
- mkdir -p /tmp/${PLATFORM}
|
- mkdir -p /tmp/${PLATFORM}/${ARCH}
|
||||||
- dockerd --tls=false --host=tcp://0.0.0.0:2375
|
- dockerd --tls=false --host=tcp://0.0.0.0:2375
|
||||||
privileged: true
|
privileged: true
|
||||||
ports:
|
ports:
|
||||||
|
|
@ -145,5 +153,5 @@ services:
|
||||||
backend_options:
|
backend_options:
|
||||||
kubernetes:
|
kubernetes:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
kubernetes.io/arch: "arm64"
|
kubernetes.io/arch: "${ARCH}"
|
||||||
topology.kubernetes.io/region: fsn1
|
topology.kubernetes.io/region: fsn1
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue