Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #339 from ksalerno99/master
Browse files Browse the repository at this point in the history
Adding ppc64le builds for docker-inbound-agent
  • Loading branch information
dduportal authored Apr 30, 2023
2 parents 482f614 + 30782fa commit 3e0c626
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export DOCKER_CLI_EXPERIMENTAL=enabled
export BUILDKIT_PROGRESS=plain

current_arch := $(shell uname -m)
export ARCH ?= $(shell case $(current_arch) in (x86_64) echo "amd64" ;; (i386) echo "386";; (aarch64|arm64) echo "arm64" ;; (armv6*) echo "arm/v6";; (armv7*) echo "arm/v7";; (s390*|riscv*) echo $(current_arch);; (*) echo "UNKNOWN-CPU";; esac)
export ARCH ?= $(shell case $(current_arch) in (x86_64) echo "amd64" ;; (i386) echo "386";; (aarch64|arm64) echo "arm64" ;; (armv6*) echo "arm/v6";; (armv7*) echo "arm/v7";; (s390*|riscv*|ppc64le) echo $(current_arch);; (*) echo "UNKNOWN-CPU";; esac)

# Set to the path of a specific test suite to restrict execution only to this
# default is "all test suites in the "tests/" directory
Expand Down
11 changes: 9 additions & 2 deletions docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ group "linux-s390x" {
targets = []
}

group "linux-ppc64le" {
targets = [
"debian_jdk11",
"debian_jdk17",
]
}

#### This is the current (e.g. jenkins/inbound-agent) version (including build number suffix). Overridden by release builds from GIT_TAG.
variable "IMAGE_TAG" {
default = "3071.v7e9b_0dc08466-1"
Expand Down Expand Up @@ -84,7 +91,7 @@ target "debian_jdk11" {
"${REGISTRY}/${JENKINS_REPO}:latest",
"${REGISTRY}/${JENKINS_REPO}:latest-jdk11",
]
platforms = ["linux/amd64", "linux/arm64", "linux/arm/v7", "linux/s390x"]
platforms = ["linux/amd64", "linux/arm64", "linux/arm/v7", "linux/s390x", "linux/ppc64le"]
}

target "debian_jdk17" {
Expand All @@ -98,5 +105,5 @@ target "debian_jdk17" {
"${REGISTRY}/${JENKINS_REPO}:jdk17",
"${REGISTRY}/${JENKINS_REPO}:latest-jdk17",
]
platforms = ["linux/amd64", "linux/arm64", "linux/arm/v7"]
platforms = ["linux/amd64", "linux/arm64", "linux/arm/v7", "linux/ppc64le"]
}
1 change: 1 addition & 0 deletions updatecli/updatecli.d/jenkins-agent-parent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ conditions:
- arm64
- arm/v7
- s390x
- ppc64le
image: jenkins/agent
tag: '{{source "lastVersion" }}-jdk11'
checkJdk17DebianDockerImages:
Expand Down

0 comments on commit 3e0c626

Please sign in to comment.