Skip to content

Commit 573cf7d

Browse files
authored
chore(testing-tools): Update image for 25.11.0 (#1289)
* chore(testing-tools): Update image for 25.11.0 * add changelog entry
1 parent 9a8d785 commit 573cf7d

File tree

5 files changed

+51
-3
lines changed

5 files changed

+51
-3
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
#!/usr/bin/env bash
2+
3+
set -euo pipefail
4+
5+
VERSION=${1:?"Missing version number argument (arg 1)"}
6+
NEXUS_USER=${2:?"Missing Nexus username argument (arg 2)"}
7+
8+
read -r -s -p "Nexus Password: " NEXUS_PASSWORD
9+
echo ""
10+
11+
# https://stackoverflow.com/questions/4632028/how-to-create-a-temporary-directory
12+
# Find the directory name of the script
13+
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
14+
15+
# the temp directory used, within $DIR
16+
WORK_DIR=$(mktemp -d -p "$DIR")
17+
18+
# check if tmp dir was created
19+
if [[ ! "$WORK_DIR" || ! -d "$WORK_DIR" ]]; then
20+
echo "Could not create temp dir"
21+
exit 1
22+
fi
23+
24+
# deletes the temp directory
25+
function cleanup {
26+
rm -rf "$WORK_DIR"
27+
}
28+
29+
# register the cleanup function to be called on the EXIT signal
30+
trap cleanup EXIT
31+
32+
cd "$WORK_DIR" || exit
33+
34+
file=keycloak-$VERSION.tar.gz
35+
36+
echo "Downloading $file from github.com"
37+
curl --fail -LO --progress-bar "https://github.com/keycloak/keycloak/releases/download/$VERSION/$file"
38+
39+
echo "Uploading $file to Nexus"
40+
curl --fail -o /dev/null --progress-bar -u "$NEXUS_USER:$NEXUS_PASSWORD" \
41+
--upload-file "$file" \
42+
'https://repo.stackable.tech/repository/packages/keycloak/'
43+
44+
echo "Successfully uploaded new version $VERSION to Nexus"
45+
echo "https://repo.stackable.tech/service/rest/repository/browse/packages/keycloak/"

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ All notable changes to this project will be documented in this file.
2424
- spark: Add `4.0.1` ([#1286]).
2525
- spark-connect-client: Add `4.0.1` ([#1286]).
2626
- trino/trino-storage-connector: Add `477` ([#1285]).
27+
- testing-tools: Add `upload_new_keycloak_version.sh` script ([#1289]).
2728

2829
### Changed
2930

@@ -38,6 +39,7 @@ All notable changes to this project will be documented in this file.
3839
- opa: Deprecate `1.4.2` ([#1279]).
3940
- trino-cli: Bump to 477 ([#1285]).
4041
- tools: Bump dependency versions - kubectl to `1.34.1`, yq to `4.47.2`, and jq to `1.8.1` ([#1290]).
42+
- testing-tools: Update keycloak dependency to `26.3.5` and `python:3.12-slim-bullseye` base image ([#1289]).
4143

4244
### Removed
4345

@@ -76,6 +78,7 @@ All notable changes to this project will be documented in this file.
7678
[#1284]: https://github.com/stackabletech/docker-images/pull/1284
7779
[#1285]: https://github.com/stackabletech/docker-images/pull/1285
7880
[#1286]: https://github.com/stackabletech/docker-images/pull/1286
81+
[#1289]: https://github.com/stackabletech/docker-images/pull/1289
7982
[#1290]: https://github.com/stackabletech/docker-images/pull/1290
8083

8184
## [25.7.0] - 2025-07-23

testing-tools/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# https://hub.docker.com/_/python/tags
66
# In Docker Hub, open up the tag and look for Index Digest. Otherwise do:
77
# docker pull python:3.12-slim-bullseye and see the digest that appears in the output.
8-
FROM python:3.12-slim-bullseye@sha256:f6d639b794b394cbeb7a9327d5af9976f0e8d61353bcf41916984775c9bbed1a
8+
FROM python:3.12-slim-bullseye@sha256:411fa4dcfdce7e7a3057c45662beba9dcd4fa36b2e50a2bfcd6c9333e59bf0db
99

1010
ARG PRODUCT_VERSION
1111
ARG RELEASE_VERSION

testing-tools/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Stackable testing tools image
22

3-
* Based on debian/python 3.11 unlike `tools` which is based on UBI9 with python 3.9.
3+
* Based on debian/python 3.12 unlike `tools` which is based on UBI9 with python 3.9.
44
* Comes with Python packages needed by the kuttl tests.

testing-tools/boil-config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[versions."0.2.0".build-arguments]
2-
keycloak-version = "23.0.0"
2+
keycloak-version = "26.3.5"

0 commit comments

Comments
 (0)