Skip to content

Commit 9b2f00d

Browse files
committed
jnlp to 4.5 swarm to 3.22
1 parent f0882cc commit 9b2f00d

9 files changed

+13
-12
lines changed

jenkins-agent/Dockerfile

+4-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
66
# this container must run as privileged
77
USER root
88

9-
ENV JENKINS_AGENT_VERSION dcar-1.2
9+
ENV JENKINS_AGENT_VERSION dcar-1.3
1010

1111
### Required Atomic/OpenShift Labels - https://github.com/projectatomic/ContainerApplicationGenericLabels
1212
LABEL name="Solutions Delivery Platform: Jenkins Agent" \
@@ -27,15 +27,16 @@ RUN INSTALL_PKGS="tar hostname device-mapper-persistent-data lvm2 java-1.8.0-ope
2727
yum --disableplugin=subscription-manager -y install --setopt=tsflags=nodocs ${INSTALL_PKGS}
2828

2929
### Install your application here -- add all other necessary items to build your image
30-
ENV JENKINS_SWARM_VERSION 3.21
31-
ENV JNLP_SLAVE_VERSION 4.3
30+
ENV JENKINS_SWARM_VERSION 3.22
31+
ENV JNLP_SLAVE_VERSION 4.5
3232
ENV HOME /root
3333
ENV JAVA_HOME /usr/lib/jvm/java
3434

3535
# install docker
3636
RUN mkdir /root/tmp
3737
RUN curl -sSLo /root/tmp/jenkins-agent-dependencies-$JENKINS_AGENT_VERSION.tar.gz https://github.com/boozallen/sdp-images/releases/download/${JENKINS_AGENT_VERSION}/jenkins-agent-dependencies-${JENKINS_AGENT_VERSION}.tar.gz
3838
#COPY jenkins-agent-dependencies-$JENKINS_AGENT_VERSION.tar.gz /root/tmp/jenkins-agent-dependencies-$JENKINS_AGENT_VERSION.tar.gz
39+
3940
COPY prebuild/BAH-public.key /root/tmp/.
4041
COPY prebuild/jenkins-agent-dependencies-$JENKINS_AGENT_VERSION.sig /root/tmp/.
4142
COPY prebuild/jenkins-agent-dependencies-$JENKINS_AGENT_VERSION.sha256 /root/tmp/.

jenkins-agent/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
OWNER = boozallen
22
REPO = sdp-images
33
IMAGE = jenkins-agent
4-
VERSION = dcar-1.1
4+
VERSION = dcar-1.3
55

66
REGISTRY = docker.pkg.github.com/$(OWNER)/$(REPO)
77
TAG = $(REGISTRY)/$(IMAGE):$(VERSION)

jenkins-agent/prebuild/build-dep.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -xe
44

5-
JENKINS_AGENT_VERSION=dcar-1.2
5+
JENKINS_AGENT_VERSION=dcar-1.3
66

77
cd /root/prebuild
88
tar czvf jenkins-agent-dependencies-$JENKINS_AGENT_VERSION.tar.gz dependencies

jenkins-agent/prebuild/jenkins-agent-dependencies-dcar-1.2.sha256

-1
This file was deleted.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
b76d638f93189408340dbc72307d03316cc2f8cbf1cce0df01af429a105d0534
Binary file not shown.

jenkins-agent/prebuild/pull-from-centos.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
set -xe
44

5-
JENKINS_AGENT_VERSION=dcar-1.2
6-
JENKINS_SWARM_VERSION=3.21
7-
JNLP_SLAVE_VERSION=4.3
5+
JENKINS_AGENT_VERSION=dcar-1.3
6+
JENKINS_SWARM_VERSION=3.22
7+
JNLP_SLAVE_VERSION=4.5
88

99
rm -rf /root/prebuild/dependencies
1010
mkdir -p /root/prebuild/dependencies/swarm-client /root/prebuild/dependencies/agent /root/prebuild/dependencies/docker-ce /root/prebuild/dependencies/docker-compose /root/prebuild/dependencies/supervisor /root/prebuild/dependencies/hostname

jenkins-agent/prebuild/pull-from-ubi.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
set -xe
44

5-
JENKINS_AGENT_VERSION=dcar-1.2
6-
JENKINS_SWARM_VERSION=3.21
7-
JNLP_SLAVE_VERSION=4.3
5+
JENKINS_AGENT_VERSION=dcar-1.3
6+
JENKINS_SWARM_VERSION=3.22
7+
JNLP_SLAVE_VERSION=4.5
88

99
curl --create-dirs -sSLo /root/prebuild/dependencies/swarm-client/swarm-client-${JENKINS_SWARM_VERSION}.jar http://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/swarm-client/${JENKINS_SWARM_VERSION}/swarm-client-${JENKINS_SWARM_VERSION}.jar
1010
curl --create-dirs -sSLo /root/prebuild/dependencies/agent/remoting-${JNLP_SLAVE_VERSION}.jar http://repo.jenkins-ci.org/public/org/jenkins-ci/main/remoting/${JNLP_SLAVE_VERSION}/remoting-${JNLP_SLAVE_VERSION}.jar

0 commit comments

Comments
 (0)