Skip to content

Commit

Permalink
Add Arm64 and Arm arch support
Browse files Browse the repository at this point in the history
  • Loading branch information
khrm authored and tekton-robot committed Mar 8, 2023
1 parent be4230c commit 9f84a1f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 17 deletions.
2 changes: 1 addition & 1 deletion release/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ sed -i "s/devel$/${RELEASE_VERSION}/g" ${RELEASE_DIR}/kustomization.yaml
sed -i "s/devel$/${RELEASE_VERSION}/g" ${ROOT}/config/base/config-info.yaml

# Apply kustomiation + build images + generate yaml
kubectl kustomize ${RELEASE_DIR} | ko resolve --platform "linux/amd64,linux/ppc64le,linux/s390x" -P -f - -t ${RELEASE_VERSION} > ${RELEASE_DIR}/release.yaml
kubectl kustomize ${RELEASE_DIR} | ko resolve --platform "linux/amd64,linux/arm,linux/arm64,linux/ppc64le,linux/s390x" -P -f - -t ${RELEASE_VERSION} > ${RELEASE_DIR}/release.yaml
28 changes: 12 additions & 16 deletions tekton/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,65 +52,61 @@ spec:
workspaces:
- name: source
workspace: ws
- name: unit-tests-ppc64le
- name: build
runAfter: [checkout]
taskRef:
name: golang-test
name: golang-build
params:
- name: package
value: $(params.package)
- name: GOARCH
value: ppc64le
- name: flags
value: "-cover -v"
workspaces:
- name: source
workspace: ws
- name: unit-tests-s390x
- name: build-ppc64le
runAfter: [checkout]
taskRef:
name: golang-test
name: golang-build
params:
- name: package
value: $(params.package)
- name: GOARCH
value: s390x
- name: flags
value: "-cover -v"
value: ppc64le
workspaces:
- name: source
workspace: ws
- name: build
- name: build-s390x
runAfter: [checkout]
taskRef:
name: golang-build
params:
- name: package
value: $(params.package)
- name: GOARCH
value: s390x
workspaces:
- name: source
workspace: ws
- name: build-ppc64le
- name: build-arm64
runAfter: [checkout]
taskRef:
name: golang-build
params:
- name: package
value: $(params.package)
- name: GOARCH
value: ppc64le
value: arm64
workspaces:
- name: source
workspace: ws
- name: build-s390x
- name: build-arm
runAfter: [checkout]
taskRef:
name: golang-build
params:
- name: package
value: $(params.package)
- name: GOARCH
value: s390x
value: arm
workspaces:
- name: source
workspace: ws
Expand Down

0 comments on commit 9f84a1f

Please sign in to comment.