Skip to content

Commit 359cd49

Browse files
Merge pull request #595 from splunk/develop
Release 9.0.5
2 parents c98ebab + 0fe0b7e commit 359cd49

File tree

4 files changed

+44
-20
lines changed

4 files changed

+44
-20
lines changed

Makefile

+19-9
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ SPLUNK_ANSIBLE_BRANCH ?= develop
77
SPLUNK_COMPOSE ?= cluster_absolute_unit.yaml
88
# Set Splunk version/build parameters here to define downstream URLs and file names
99
SPLUNK_PRODUCT := splunk
10-
SPLUNK_VERSION := 9.0.4
11-
SPLUNK_BUILD := de405f4a7979
10+
SPLUNK_VERSION := 9.0.5
11+
SPLUNK_BUILD := e9494146ae5c
1212
ifeq ($(shell arch), s390x)
1313
SPLUNK_ARCH = s390x
1414
else
@@ -25,8 +25,7 @@ SPLUNK_WIN_FILENAME ?= splunk-${SPLUNK_VERSION}-${SPLUNK_BUILD}-x64-release.msi
2525
SPLUNK_WIN_BUILD_URL ?= https://download.splunk.com/products/${SPLUNK_PRODUCT}/releases/${SPLUNK_VERSION}/windows/${SPLUNK_WIN_FILENAME}
2626
UF_WIN_FILENAME ?= splunkforwarder-${SPLUNK_VERSION}-${SPLUNK_BUILD}-x64-release.msi
2727
UF_WIN_BUILD_URL ?= https://download.splunk.com/products/universalforwarder/releases/${SPLUNK_VERSION}/windows/${UF_WIN_FILENAME}
28-
# Splunk Cloud SDK binary
29-
SCLOUD_URL ?= https://github.com/splunk/splunk-cloud-sdk-go/releases/download/v1.11.1/scloud_v7.1.0_linux_amd64.tar.gz
28+
3029

3130
# Security Scanner Variables
3231
SCANNER_DATE := `date +%Y-%m-%d`
@@ -61,19 +60,22 @@ ansible:
6160
base: base-debian-9 base-debian-10 base-centos-7 base-centos-8 base-redhat-8 base-windows-2016
6261

6362
base-debian-10:
64-
docker build ${DOCKER_BUILD_FLAGS} --build-arg SCLOUD_URL=${SCLOUD_URL} -t base-debian-10:${IMAGE_VERSION} ./base/debian-10
63+
docker build ${DOCKER_BUILD_FLAGS} -t base-debian-10:${IMAGE_VERSION} ./base/debian-10
6564

6665
base-debian-9:
67-
docker build ${DOCKER_BUILD_FLAGS} --build-arg SCLOUD_URL=${SCLOUD_URL} -t base-debian-9:${IMAGE_VERSION} ./base/debian-9
66+
docker build ${DOCKER_BUILD_FLAGS} -t base-debian-9:${IMAGE_VERSION} ./base/debian-9
6867

6968
base-centos-7:
70-
docker build ${DOCKER_BUILD_FLAGS} --build-arg SCLOUD_URL=${SCLOUD_URL} -t base-centos-7:${IMAGE_VERSION} ./base/centos-7
69+
docker build ${DOCKER_BUILD_FLAGS} -t base-centos-7:${IMAGE_VERSION} ./base/centos-7
7170

7271
base-centos-8:
73-
docker build ${DOCKER_BUILD_FLAGS} --build-arg SCLOUD_URL=${SCLOUD_URL} -t base-centos-8:${IMAGE_VERSION} ./base/centos-8
72+
docker build ${DOCKER_BUILD_FLAGS} -t base-centos-8:${IMAGE_VERSION} ./base/centos-8
7473

7574
base-redhat-8:
76-
docker build ${DOCKER_BUILD_FLAGS} --build-arg SCLOUD_URL=${SCLOUD_URL} --label version=${SPLUNK_VERSION} -t base-redhat-8:${IMAGE_VERSION} ./base/redhat-8
75+
docker build ${DOCKER_BUILD_FLAGS} --label version=${SPLUNK_VERSION} -t base-redhat-8:${IMAGE_VERSION} ./base/redhat-8
76+
77+
base-redhat-8-armv8:
78+
docker buildx build ${DOCKER_BUILD_FLAGS} --build-arg BUSYBOX_URL=${BUSYBOX_URL} --label version=${SPLUNK_VERSION} -t base-redhat-8-armv8:${IMAGE_VERSION} ./base/redhat-8
7779

7880
base-windows-2016:
7981
docker build ${DOCKER_BUILD_FLAGS} -t base-windows-2016:${IMAGE_VERSION} ./base/windows-2016
@@ -251,6 +253,14 @@ uf-redhat-8: base-redhat-8 ansible
251253
--build-arg SPLUNK_BUILD_URL=${UF_LINUX_BUILD_URL} \
252254
-t uf-redhat-8:${IMAGE_VERSION} .
253255

256+
uf-redhat-8-armv8: base-redhat-8-armv8 ansible
257+
docker buildx build ${DOCKER_BUILD_FLAGS} \
258+
-f uf/common-files/Dockerfile \
259+
--build-arg SPLUNK_BASE_IMAGE=base-redhat-8-armv8 \
260+
--build-arg SPLUNK_BUILD_URL=${UF_LINUX_BUILD_URL} \
261+
-t uf-redhat-8-armv8:${IMAGE_VERSION} .
262+
263+
254264
uf-windows-2016: base-windows-2016 ansible
255265
docker build ${DOCKER_BUILD_FLAGS} \
256266
-f uf/windows-2016/Dockerfile \

base/redhat-8/Dockerfile

+5-4
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# the container catalog moved from registry.access.redhat.com to registry.redhat.io
1717
# So at some point before they deprecate the old registry we have to make sure that
1818
# we have access to the new registry and change where we pull the ubi image from.
19-
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.7-1049.1675784874
19+
FROM registry.access.redhat.com/ubi8/ubi-minimal
2020

2121
LABEL name="splunk" \
2222
maintainer="[email protected]" \
@@ -25,9 +25,10 @@ LABEL name="splunk" \
2525
summary="UBI 8 Docker image of Splunk Enterprise" \
2626
description="Splunk Enterprise is a platform for operational intelligence. Our software lets you collect, analyze, and act upon the untapped value of big data that your technology infrastructure, security systems, and business applications generate. It gives you insights to drive operational performance and business results."
2727

28-
ARG SCLOUD_URL
29-
ENV SCLOUD_URL=${SCLOUD_URL} \
30-
PYTHON_VERSION=3.7.10 \
28+
ARG BUSYBOX_URL
29+
30+
ENV BUSYBOX_URL=${BUSYBOX_URL} \
31+
PYTHON_VERSION=3.7.16 \
3132
PYTHON_GPG_KEY_ID=0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D
3233

3334
COPY install.sh /install.sh

base/redhat-8/install.sh

+4-7
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ ln -sf /usr/bin/pip${PY_SHORT} /usr/bin/pip
6161

6262
# Install splunk-ansible dependencies
6363
cd /
64-
pip -q --no-cache-dir install six wheel requests cryptography==3.3.2 ansible==3.4.0 urllib3==1.26.5 jmespath --upgrade
64+
/usr/bin/python3.7 -m pip install --upgrade pip
65+
pip -q --no-cache-dir install --upgrade six wheel requests Mako urllib3 certifi jmespath future avro cryptography lxml protobuf setuptools ansible
6566

6667
# Remove tests packaged in python libs
6768
find /usr/lib/ -depth \( -type d -a -not -wholename '*/ansible/plugins/test' -a \( -name test -o -name tests -o -name idle_test \) \) -exec rm -rf '{}' \;
@@ -76,13 +77,9 @@ microdnf remove -y make gcc openssl-devel bzip2-devel findutils glib2-devel glib
7677
ncurses-devel pcre2-devel zlib-devel
7778
microdnf clean all
7879

79-
# Install scloud
80-
wget -O /usr/bin/scloud.tar.gz ${SCLOUD_URL}
81-
tar -xf /usr/bin/scloud.tar.gz -C /usr/bin/
82-
rm /usr/bin/scloud.tar.gz
83-
8480
# Install busybox direct from the multiarch since EPEL isn't available yet for redhat8
85-
wget -O /bin/busybox https://busybox.net/downloads/binaries/1.28.1-defconfig-multiarch/busybox-`arch`
81+
BUSYBOX_URL=${BUSYBOX_URL:=https://busybox.net/downloads/binaries/1.35.0-`arch`-linux-musl/}
82+
wget -O /bin/busybox ${BUSYBOX_URL}
8683
chmod +x /bin/busybox
8784

8885
# Enable busybox symlinks

docs/CHANGELOG.md

+16
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Red Hat images will continue to be published.
1010

1111
## Navigation
1212

13+
* [9.0.5](#905)
1314
* [9.0.4.1](#9041)
1415
* [9.0.4](#904)
1516
* [9.0.2](#902)
@@ -82,6 +83,21 @@ Red Hat images will continue to be published.
8283
* [7.2.1](#721)
8384
* [7.2.0](#720)
8485

86+
## 9.0.5
87+
88+
#### What's New?
89+
* Releasing new images to support Splunk Enterprise release.
90+
91+
#### docker-splunk changes:
92+
* Bumping Splunk version. For details, see [Fixed issues for 9.0.5](https://docs.splunk.com/Documentation/Splunk/9.0.5/ReleaseNotes/Fixedissues#Splunk_Enterprise_9.0.5)
93+
* DISCONTINUE SCLOUD support. SCLOUD can be fetched and installed using provisions. [SCLOUD can be found here.](https://github.com/splunk/splunk-cloud-sdk-go)
94+
95+
#### splunk-ansible changes:
96+
* Bugfixes
97+
* Increase timeout for Splunk process to be up and running
98+
99+
---
100+
85101
## 9.0.4.1
86102

87103
#### What's New?

0 commit comments

Comments
 (0)