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 #405 from jenkinsci/updatecli_195d1a9c46d180ae2d6b…
Browse files Browse the repository at this point in the history
…7748d12487c65c55751d62ad3fb6aa1a7dd9826ddc4e

Bump the parent image `jenkins/agent` version to 3148.v532a_7e715ee3-5
  • Loading branch information
dduportal authored Sep 12, 2023
2 parents 393829e + bafee3a commit b3fd05d
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

ARG version=3148.v532a_7e715ee3-4
ARG version=3148.v532a_7e715ee3-5
ARG JAVA_MAJOR_VERSION=17
FROM jenkins/agent:"${version}"-alpine-jdk"${JAVA_MAJOR_VERSION}"

Expand Down
2 changes: 1 addition & 1 deletion alpine/Dockerfile-jdk21
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

ARG version=3148.v532a_7e715ee3-1
ARG version=3148.v532a_7e715ee3-5
ARG JAVA_MAJOR_VERSION=21
FROM jenkins/agent:"${version}"-alpine-jdk"${JAVA_MAJOR_VERSION}"-preview

Expand Down
2 changes: 1 addition & 1 deletion build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Param(
[String] $Target = "build",
[String] $Build = '',
[String] $VersionTag = 'NEXT_TAG_VERSION',
[String] $ParentImageVersion = '3148.v532a_7e715ee3-4',
[String] $ParentImageVersion = '3148.v532a_7e715ee3-5',
[switch] $PushVersions = $false
)

Expand Down
2 changes: 1 addition & 1 deletion debian/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG version=3148.v532a_7e715ee3-4
ARG version=3148.v532a_7e715ee3-5
ARG JAVA_MAJOR_VERSION=17
FROM jenkins/agent:"${version}"-jdk"${JAVA_MAJOR_VERSION}"

Expand Down
2 changes: 1 addition & 1 deletion debian/Dockerfile-jdk21
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG version=3148.v532a_7e715ee3-1
ARG version=3148.v532a_7e715ee3-5
ARG JAVA_MAJOR_VERSION=21
FROM jenkins/agent:"${version}"-jdk"${JAVA_MAJOR_VERSION}-preview"

Expand Down
42 changes: 21 additions & 21 deletions docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ variable "IMAGE_TAG" {

#### This is for the "parent" image version to use (jenkins/agent:<PARENT_IMAGE_VERSION>-<base-os>)
variable "PARENT_IMAGE_VERSION" {
default = "3148.v532a_7e715ee3-4"
default = "3148.v532a_7e715ee3-5"
}

variable "REGISTRY" {
Expand All @@ -53,14 +53,14 @@ variable "ON_TAG" {

target "alpine_jdk11" {
dockerfile = "alpine/Dockerfile"
context = "."
context = "."
args = {
JAVA_MAJOR_VERSION = "11"
version = "${PARENT_IMAGE_VERSION}"
version = "${PARENT_IMAGE_VERSION}"
}
tags = [
equal(ON_TAG, "true") ? "${REGISTRY}/${JENKINS_REPO}:${PARENT_IMAGE_VERSION}-alpine": "",
equal(ON_TAG, "true") ? "${REGISTRY}/${JENKINS_REPO}:${PARENT_IMAGE_VERSION}-alpine-jdk11": "",
equal(ON_TAG, "true") ? "${REGISTRY}/${JENKINS_REPO}:${PARENT_IMAGE_VERSION}-alpine" : "",
equal(ON_TAG, "true") ? "${REGISTRY}/${JENKINS_REPO}:${PARENT_IMAGE_VERSION}-alpine-jdk11" : "",
"${REGISTRY}/${JENKINS_REPO}:alpine",
"${REGISTRY}/${JENKINS_REPO}:alpine-jdk11",
"${REGISTRY}/${JENKINS_REPO}:latest-alpine",
Expand All @@ -71,13 +71,13 @@ target "alpine_jdk11" {

target "alpine_jdk17" {
dockerfile = "alpine/Dockerfile"
context = "."
context = "."
args = {
JAVA_MAJOR_VERSION = "17"
version = "${PARENT_IMAGE_VERSION}"
version = "${PARENT_IMAGE_VERSION}"
}
tags = [
equal(ON_TAG, "true") ? "${REGISTRY}/${JENKINS_REPO}:${PARENT_IMAGE_VERSION}-alpine-jdk17": "",
equal(ON_TAG, "true") ? "${REGISTRY}/${JENKINS_REPO}:${PARENT_IMAGE_VERSION}-alpine-jdk17" : "",
"${REGISTRY}/${JENKINS_REPO}:alpine-jdk17",
"${REGISTRY}/${JENKINS_REPO}:latest-alpine-jdk17",
]
Expand All @@ -86,13 +86,13 @@ target "alpine_jdk17" {

target "alpine_jdk21" {
dockerfile = "alpine/Dockerfile-jdk21"
context = "."
context = "."
args = {
JAVA_MAJOR_VERSION = "21"
version = "${PARENT_IMAGE_VERSION}"
version = "${PARENT_IMAGE_VERSION}"
}
tags = [
equal(ON_TAG, "true") ? "${REGISTRY}/${JENKINS_REPO}:${PARENT_IMAGE_VERSION}-alpine-jdk21-preview": "",
equal(ON_TAG, "true") ? "${REGISTRY}/${JENKINS_REPO}:${PARENT_IMAGE_VERSION}-alpine-jdk21-preview" : "",
"${REGISTRY}/${JENKINS_REPO}:alpine-jdk21-preview",
"${REGISTRY}/${JENKINS_REPO}:latest-alpine-jdk21-preview",
]
Expand All @@ -101,14 +101,14 @@ target "alpine_jdk21" {

target "debian_jdk11" {
dockerfile = "debian/Dockerfile"
context = "."
context = "."
args = {
JAVA_MAJOR_VERSION = "11"
version = "${PARENT_IMAGE_VERSION}"
version = "${PARENT_IMAGE_VERSION}"
}
tags = [
equal(ON_TAG, "true") ? "${REGISTRY}/${JENKINS_REPO}:${PARENT_IMAGE_VERSION}": "",
equal(ON_TAG, "true") ? "${REGISTRY}/${JENKINS_REPO}:${PARENT_IMAGE_VERSION}-jdk11": "",
equal(ON_TAG, "true") ? "${REGISTRY}/${JENKINS_REPO}:${PARENT_IMAGE_VERSION}" : "",
equal(ON_TAG, "true") ? "${REGISTRY}/${JENKINS_REPO}:${PARENT_IMAGE_VERSION}-jdk11" : "",
"${REGISTRY}/${JENKINS_REPO}:jdk11",
"${REGISTRY}/${JENKINS_REPO}:latest",
"${REGISTRY}/${JENKINS_REPO}:latest-jdk11",
Expand All @@ -118,13 +118,13 @@ target "debian_jdk11" {

target "debian_jdk17" {
dockerfile = "debian/Dockerfile"
context = "."
context = "."
args = {
JAVA_MAJOR_VERSION = "17"
version = "${PARENT_IMAGE_VERSION}"
version = "${PARENT_IMAGE_VERSION}"
}
tags = [
equal(ON_TAG, "true") ? "${REGISTRY}/${JENKINS_REPO}:${PARENT_IMAGE_VERSION}-jdk17": "",
equal(ON_TAG, "true") ? "${REGISTRY}/${JENKINS_REPO}:${PARENT_IMAGE_VERSION}-jdk17" : "",
"${REGISTRY}/${JENKINS_REPO}:jdk17",
"${REGISTRY}/${JENKINS_REPO}:latest-jdk17",
]
Expand All @@ -133,13 +133,13 @@ target "debian_jdk17" {

target "debian_jdk21" {
dockerfile = "debian/Dockerfile-jdk21"
context = "."
context = "."
args = {
JAVA_MAJOR_VERSION = "21"
version = "${PARENT_IMAGE_VERSION}"
version = "${PARENT_IMAGE_VERSION}"
}
tags = [
equal(ON_TAG, "true") ? "${REGISTRY}/${JENKINS_REPO}:${PARENT_IMAGE_VERSION}-jdk21-preview": "",
equal(ON_TAG, "true") ? "${REGISTRY}/${JENKINS_REPO}:${PARENT_IMAGE_VERSION}-jdk21-preview" : "",
"${REGISTRY}/${JENKINS_REPO}:jdk21-preview",
"${REGISTRY}/${JENKINS_REPO}:latest-jdk21-preview",
]
Expand Down
2 changes: 1 addition & 1 deletion windows/nanoserver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

ARG version=3148.v532a_7e715ee3-4
ARG version=3148.v532a_7e715ee3-5
ARG JAVA_MAJOR_VERSION=17
ARG WINDOWS_VERSION_TAG=1809
FROM jenkins/agent:"${version}"-jdk"${JAVA_MAJOR_VERSION}"-nanoserver-"${WINDOWS_VERSION_TAG}"
Expand Down
2 changes: 1 addition & 1 deletion windows/windowsservercore/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

ARG version=3148.v532a_7e715ee3-4
ARG version=3148.v532a_7e715ee3-5
ARG JAVA_MAJOR_VERSION=17
ARG WINDOWS_VERSION_TAG=ltsc2019
FROM jenkins/agent:"${version}"-jdk"${JAVA_MAJOR_VERSION}"-windowsservercore-"${WINDOWS_VERSION_TAG}"
Expand Down

0 comments on commit b3fd05d

Please sign in to comment.