Skip to content

Commit

Permalink
updated jenkins, dependency check, helm, and sonar-scanner
Browse files Browse the repository at this point in the history
  • Loading branch information
CSpicer-BAH committed Feb 12, 2021
1 parent 14bce6b commit 98939cb
Show file tree
Hide file tree
Showing 30 changed files with 32 additions and 32 deletions.
10 changes: 5 additions & 5 deletions jenkins/kubernetes/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
ARG BASE_REGISTRY=registry.access.redhat.com
ARG BASE_IMAGE=ubi8/ubi
ARG BASE_TAG=8.2
ARG BASE_TAG=8.3
FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}

### Required Atomic/OpenShift Labels - https://github.com/projectatomic/ContainerApplicationGenericLabels
LABEL name="Solutions Delivery Platform: Jenkins Master" \
maintainer="[email protected]" \
vendor="Booz Allen Hamilton" \
version="2.263.1" \
release="2.263.1" \
version="2.263.4" \
release="2.263.4" \
summary="A Jenkins Master container" \
description="The Jenkins Master container image for the Solutions Delivery Platform"

Expand All @@ -35,12 +35,12 @@ ENV JENKINS_SLAVE_AGENT_PORT ${agent_port}
ENV REF $REF

# Use tini as subreaper in Docker container to adopt zombie processes
ARG SDP_BUILD_DEPENDENCY_VERSION=dcar-1.7
ARG SDP_BUILD_DEPENDENCY_VERSION=dcar-1.8
ARG TINI_VERSION=v0.19.0

# jenkins version being bundled in this docker image
ARG JENKINS_VERSION
ENV JENKINS_VERSION ${JENKINS_VERSION:-2.263.1}
ENV JENKINS_VERSION ${JENKINS_VERSION:-2.263.4}

# Jenkins is run with user `jenkins`, uid = 1000
# If you bind mount a volume from the host or a data container,
Expand Down
8 changes: 4 additions & 4 deletions jenkins/kubernetes/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
OWNER = boozallen
REPO = sdp-images
IMAGE = jenkins
VERSION = dcar-1.7
JENKINS_VERSION=2.263.1
VERSION = dcar-1.8
JENKINS_VERSION=2.263.4

REGISTRY = docker.pkg.github.com/$(OWNER)/$(REPO)
TAG = $(REGISTRY)/$(IMAGE):$(VERSION)
Expand All @@ -29,8 +29,8 @@ push: ## builds and publishes container image
build-dep: ## build container dependencies
$(eval dir := $(shell pwd))
docker run -it -v $(dir)/prebuild:/var/jenkins_home/tmp jenkins/jenkins:${JENKINS_VERSION}-lts /var/jenkins_home/tmp/pull-plugins.sh
docker run -it -v $(dir)/prebuild:/root/prebuild:z registry.access.redhat.com/ubi8/ubi:8.2 /root/prebuild/pull-from-centos.sh
docker run -it -v $(dir)/prebuild:/root/prebuild:z registry.access.redhat.com/ubi8/ubi:8.2 /root/prebuild/build-dep.sh
docker run -it -v $(dir)/prebuild:/root/prebuild:z registry.access.redhat.com/ubi8/ubi:8.3 /root/prebuild/pull-from-centos.sh
docker run -it -v $(dir)/prebuild:/root/prebuild:z registry.access.redhat.com/ubi8/ubi:8.3 /root/prebuild/build-dep.sh

info:
@echo "$(TAG) -> $$(dirname $$(git ls-files --full-name Makefile))"
Expand Down
2 changes: 1 addition & 1 deletion jenkins/kubernetes/prebuild/build-dep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -xe

SDP_BUILD_DEPENDENCY_VERSION=dcar-1.7
SDP_BUILD_DEPENDENCY_VERSION=dcar-1.8

cd /root/prebuild
tar czvf jenkins-dependencies-$SDP_BUILD_DEPENDENCY_VERSION.tar.gz dependencies
Expand Down

This file was deleted.

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20d97fb4bc9614321c4e5feb408919f7b768f50031eed7d649a5860971f20d46
Binary file not shown.
2 changes: 1 addition & 1 deletion jenkins/kubernetes/prebuild/pull-from-centos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -xe


TINI_VERSION=v0.19.0
JENKINS_VERSION=2.263.1
JENKINS_VERSION=2.263.4

mkdir /root/prebuild/dependencies/tini/
curl -kfsSL https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-static-amd64 -o /root/prebuild/dependencies/tini/tini-${TINI_VERSION}
Expand Down
2 changes: 1 addition & 1 deletion openshift_helm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ LABEL name="Solutions Delivery Platform: Helm" \
summary="A container used by the openshift and kubernetes libraries within the Solutions Delivery Platform" \
description="A container used by the openshift and kubernetes libraries within the Solutions Delivery Platform"

ARG SDP_BUILD_DEPENDENCY_VERSION=dcar-1.7
ARG SDP_BUILD_DEPENDENCY_VERSION=dcar-1.8
ARG user=sdp
ARG group=sdp
ARG uid=1000
Expand Down
6 changes: 3 additions & 3 deletions openshift_helm/prebuild/build-dep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

set -xe

SDP_BUILD_DEPENDENCY_VERSION=dcar-1.7
SDP_BUILD_DEPENDENCY_VERSION=dcar-1.8
OC_VERSION=v3.11.0
HELM_VERSION=v3.4.1
KUBECTL_VERSION=v1.19.0
HELM_VERSION=v3.5.2
KUBECTL_VERSION=v1.20.0

rm -rf /root/prebuild/dependencies
mkdir -p /root/prebuild/dependencies
Expand Down
1 change: 0 additions & 1 deletion openshift_helm/prebuild/helm-dependencies-dcar-1.7.sha256

This file was deleted.

Binary file removed openshift_helm/prebuild/helm-dependencies-dcar-1.7.sig
Binary file not shown.
1 change: 1 addition & 0 deletions openshift_helm/prebuild/helm-dependencies-dcar-1.8.sha256
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0740d1eded0d544bc3612117671cf8024aba066ee6fcf9d007491318541c9bed
Binary file not shown.
8 changes: 4 additions & 4 deletions owasp-dep-check/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
LABEL name="Solutions Delivery Platform: Jenkins Agent" \
maintainer="[email protected]" \
vendor="Booz Allen Hamilton" \
version="6.0.3" \
release="6.0.3" \
version="6.1.0" \
release="6.1.0" \
summary="OWASP Dependency Check container" \
description="The OWASP Dependency Check container image for the Solutions Delivery Platform"

Expand All @@ -20,8 +20,8 @@ RUN INSTALL_PKGS="java-1.8.0-openjdk-devel ruby " && \
yum -y update-minimal --setopt=tsflags=nodocs --security && \
yum -y install --setopt=tsflags=nodocs ${INSTALL_PKGS}

ENV SDP_DCAR_OWASP_DEP_CHK_VERSION dcar-1.7
ENV OWASP_DEP_CHK_VERSION 6.0.3
ENV SDP_DCAR_OWASP_DEP_CHK_VERSION dcar-1.8
ENV OWASP_DEP_CHK_VERSION 6.1.0
ENV HOME /root
ENV JAVA_HOME /usr/lib/jvm/java

Expand Down
2 changes: 1 addition & 1 deletion owasp-dep-check/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
OWNER = boozallen
REPO = sdp-images
IMAGE = owasp-dep-check
VERSION = 6.0.3
VERSION = 6.1.0

REGISTRY = docker.pkg.github.com/$(OWNER)/$(REPO)
TAG = $(REGISTRY)/$(IMAGE):$(VERSION)
Expand Down
2 changes: 1 addition & 1 deletion owasp-dep-check/prebuild/build-dep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -xe

SDP_DCAR_OWASP_DEP_CHK_VERSION=dcar-1.7
SDP_DCAR_OWASP_DEP_CHK_VERSION=dcar-1.8

cd /root/prebuild
tar czvf owasp-dep-check-dependencies-$SDP_DCAR_OWASP_DEP_CHK_VERSION.tar.gz dependencies
Expand Down

This file was deleted.

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
faf9679a50be32d2534cd931473730e064c3e4d7ce1cdc4635e1a9a7de806f04
Binary file not shown.
4 changes: 2 additions & 2 deletions owasp-dep-check/prebuild/pull-from-centos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

set -xe

OWASP_DEP_CHK_VERSION=6.0.3
SDP_DCAR_OWASP_DEP_CHK_VERSION=dcar-1.7
OWASP_DEP_CHK_VERSION=6.1.0
SDP_DCAR_OWASP_DEP_CHK_VERSION=dcar-1.8

rm -rf /root/prebuild/dependencies

Expand Down
4 changes: 2 additions & 2 deletions sonar-scanner/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ RUN INSTALL_PKGS="java-1.8.0-openjdk curl grep sed which" && \
yum --disableplugin=subscription-manager -y install --setopt=tsflags=nodocs ${INSTALL_PKGS}

### define necessary variables like PATH to application
ARG SDP_BUILD_DEPENDENCY_VERSION=dcar-1.7
ARG SONAR_SCANNER_VERSION=4.5.0.2216
ARG SDP_BUILD_DEPENDENCY_VERSION=dcar-1.8
ARG SONAR_SCANNER_VERSION=4.6.0.2311
ENV SONAR_SCANNER_FILE=sonar-scanner-${SONAR_SCANNER_VERSION}-linux
ENV TARBALL=sonar-scanner-dependencies-${SDP_BUILD_DEPENDENCY_VERSION}
ENV user=sonarscanner
Expand Down
2 changes: 1 addition & 1 deletion sonar-scanner/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
OWNER = boozallen
REPO = sdp-images
IMAGE = sonar-scanner
VERSION = 4.5.0.2216
VERSION = 4.6.0.2311

REGISTRY = docker.pkg.github.com/$(OWNER)/$(REPO)
TAG = $(REGISTRY)/$(IMAGE):$(VERSION)
Expand Down
2 changes: 1 addition & 1 deletion sonar-scanner/prebuild/build-dep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -xe

SDP_BUILD_DEPENDENCY_VERSION=dcar-1.7
SDP_BUILD_DEPENDENCY_VERSION=dcar-1.8

cd /root/prebuild
tar czvf sonar-scanner-dependencies-$SDP_BUILD_DEPENDENCY_VERSION.tar.gz dependencies
Expand Down
2 changes: 1 addition & 1 deletion sonar-scanner/prebuild/pull-from-ubi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -xe

SONAR_SCANNER_VERSION=4.5.0.2216
SONAR_SCANNER_VERSION=4.6.0.2311

rm -rf /root/prebuild/dependencies
mkdir -p /root/prebuild/dependencies/sonar-scanner
Expand Down

This file was deleted.

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
feb322a7243edcfb422df49c9cd71df46146d1a3c03986bbccf1ba0f6863d943
Binary file not shown.

0 comments on commit 98939cb

Please sign in to comment.