Skip to content

Commit 4a0adfe

Browse files
Merge pull request #606 from splunk/develop
Release 9.1.0.1
2 parents 8ceb2d1 + 9cda674 commit 4a0adfe

File tree

6 files changed

+21
-50
lines changed

6 files changed

+21
-50
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
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.5
11-
SPLUNK_BUILD := e9494146ae5c
10+
SPLUNK_VERSION := 9.1.0.1
11+
SPLUNK_BUILD := 77f73c9edb85
1212
ifeq ($(shell arch), s390x)
1313
SPLUNK_ARCH = s390x
1414
else

base/redhat-8/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ microdnf remove -y make gcc openssl-devel bzip2-devel findutils glib2-devel glib
7878
microdnf clean all
7979

8080
# Install busybox direct from the multiarch since EPEL isn't available yet for redhat8
81-
BUSYBOX_URL=${BUSYBOX_URL:=https://busybox.net/downloads/binaries/1.35.0-`arch`-linux-musl/}
81+
BUSYBOX_URL=${BUSYBOX_URL:=https://busybox.net/downloads/binaries/1.35.0-`arch`-linux-musl/busybox}
8282
wget -O /bin/busybox ${BUSYBOX_URL}
8383
chmod +x /bin/busybox
8484

docs/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
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.1.0.1](#9101)
1314
* [9.0.5](#905)
1415
* [9.0.4.1](#9041)
1516
* [9.0.4](#904)
@@ -86,6 +87,18 @@ Red Hat images will continue to be published.
8687
* [7.2.1](#721)
8788
* [7.2.0](#720)
8889

90+
## 9.1.0.1
91+
92+
#### What's New?
93+
* Releasing new images to support Splunk Enterprise release.
94+
95+
#### docker-splunk changes:
96+
* Bumping Splunk version. For details, see [Fixed issues for 9.1.0.1](https://docs.splunk.com/Documentation/Splunk/9.1.0.1/ReleaseNotes/Fixedissues#Splunk_Enterprise_9.1.0.1)
97+
98+
#### splunk-ansible changes:
99+
* Docs updated
100+
101+
---
89102
## 9.0.5
90103

91104
#### What's New?

tests/requirements.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
pytest
1+
pytest==4.4.0
2+
pyrsistent==0.16.1
23
requests
34
docker
45
PyYAML
56
docker-compose
67
pyasn1
78
junit-xml
89
pytest-xdist
9-
pytest-rerunfailures
10+
pytest-rerunfailures==8.0

tests/test_single_splunk_image.py

Lines changed: 1 addition & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -70,28 +70,6 @@ def test_splunk_entrypoint_help(self):
7070
assert "SPLUNK_HOME - home directory where Splunk gets installed (default: /opt/splunk)" in output
7171
assert "Examples:" in output
7272

73-
def test_splunk_scloud(self):
74-
cid = None
75-
try:
76-
# Run container
77-
cid = self.client.create_container(self.SPLUNK_IMAGE_NAME, tty=True, command="no-provision")
78-
cid = cid.get("Id")
79-
self.client.start(cid)
80-
# Wait a bit
81-
time.sleep(5)
82-
# If the container is still running, we should be able to exec inside
83-
# Check that the version returns successfully for multiple users
84-
for user in ["splunk", "ansible"]:
85-
exec_command = self.client.exec_create(cid, "scloud version", user=user)
86-
std_out = self.client.exec_start(exec_command)
87-
assert "scloud version " in std_out
88-
except Exception as e:
89-
self.logger.error(e)
90-
raise e
91-
finally:
92-
if cid:
93-
self.client.remove_container(cid, v=True, force=True)
94-
9573
def test_splunk_ulimit(self):
9674
cid = None
9775
try:
@@ -2662,28 +2640,6 @@ def test_adhoc_1uf_bind_mount_apps(self):
26622640
except OSError:
26632641
pass
26642642

2665-
def test_uf_scloud(self):
2666-
cid = None
2667-
try:
2668-
# Run container
2669-
cid = self.client.create_container(self.UF_IMAGE_NAME, tty=True, command="no-provision")
2670-
cid = cid.get("Id")
2671-
self.client.start(cid)
2672-
# Wait a bit
2673-
time.sleep(5)
2674-
# If the container is still running, we should be able to exec inside
2675-
# Check that the version returns successfully for multiple users
2676-
for user in ["splunk", "ansible"]:
2677-
exec_command = self.client.exec_create(cid, "scloud version", user=user)
2678-
std_out = self.client.exec_start(exec_command)
2679-
assert "scloud version " in std_out
2680-
except Exception as e:
2681-
self.logger.error(e)
2682-
raise e
2683-
finally:
2684-
if cid:
2685-
self.client.remove_container(cid, v=True, force=True)
2686-
26872643
def test_uf_ulimit(self):
26882644
cid = None
26892645
try:
@@ -2821,4 +2777,4 @@ def test_compose_1hf_splunk_add(self):
28212777
# Check Splunkd on all the containers
28222778
assert self.check_splunkd("admin", self.password)
28232779
# Check Splunkd using the new users
2824-
assert self.check_splunkd("jerry", "seinfeld")
2780+
assert self.check_splunkd("jerry", "seinfeld")

uf/common-files/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ USER root
9191

9292
# Setup users and groups
9393
RUN sed -i -e 's/%sudo\s\+ALL=(ALL\(:ALL\)\?)\s\+ALL/%sudo ALL=NOPASSWD:ALL\nansible ALL=(splunk)NOPASSWD:ALL/g' /etc/sudoers \
94+
&& microdnf install systemd \
9495
&& echo 'Create the ansible user/group' \
9596
&& groupadd -r ${ANSIBLE_GROUP} \
9697
&& useradd -r -m -g ${ANSIBLE_GROUP} -s /bin/bash ${ANSIBLE_USER} \

0 commit comments

Comments
 (0)