Skip to content

Commit 52c8d56

Browse files
committed
Merge branch 'main' of https://github.com/stackabletech/docker-images into chore/update-druid-to-31.0.1
2 parents 1cb9a99 + acb678d commit 52c8d56

File tree

5 files changed

+19
-18
lines changed

5 files changed

+19
-18
lines changed

.scripts/upload_new_jmx_exporter_version.sh

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,29 +23,28 @@ fi
2323

2424
# deletes the temp directory
2525
function cleanup {
26-
rm -rf "$WORK_DIR"
26+
rm -rf "$WORK_DIR"
2727
}
2828

2929
# register the cleanup function to be called on the EXIT signal
3030
trap cleanup EXIT
3131

3232
cd "$WORK_DIR" || exit
3333

34-
src_file=jmx_prometheus-$VERSION-src.tar.gz
34+
JAR_FILE="jmx_prometheus_javaagent-$VERSION.jar"
35+
SUM_FILE="$JAR_FILE.sha256"
3536

36-
# JMX Exporter does not currently publish signatures or SBOMs (as of 2023-07-24, latest version at this point 0.19.0)
3737
echo "Downloading JMX Exporter"
38-
# JMX Exporter provides no offficial source tarballs, download from Git
39-
git clone https://github.com/prometheus/jmx_exporter "jmx_prometheus-${VERSION}" "--branch=${VERSION}" --depth=1
38+
curl --fail -LOs "https://github.com/prometheus/jmx_exporter/releases/download/$VERSION/$JAR_FILE"
39+
curl --fail -LOs "https://github.com/prometheus/jmx_exporter/releases/download/$VERSION/$SUM_FILE"
4040

41-
echo "Archiving JMX Exporter"
42-
git -C "jmx_prometheus-${VERSION}" archive "${VERSION}" --format=tar.gz --prefix="jmx_prometheus-${VERSION}-src/" > "${src_file}"
43-
sha256sum "${src_file}" | cut --delimiter=' ' --field=1 > "${src_file}.sha256"
41+
# Check that sha256 sum matches before uploading
42+
sha256sum --check --status "$SUM_FILE" && echo "SHA256 Sum matches"
4443

4544
echo "Uploading to Nexus"
46-
curl --fail -u "$NEXUS_USER:$NEXUS_PASSWORD" --upload-file "${src_file}" 'https://repo.stackable.tech/repository/packages/jmx-exporter/'
47-
curl --fail -u "$NEXUS_USER:$NEXUS_PASSWORD" --upload-file "${src_file}.sha256" 'https://repo.stackable.tech/repository/packages/jmx-exporter/'
45+
curl --fail -u "$NEXUS_USER:$NEXUS_PASSWORD" --upload-file "$JAR_FILE" 'https://repo.stackable.tech/repository/packages/jmx-exporter/'
46+
curl --fail -u "$NEXUS_USER:$NEXUS_PASSWORD" --upload-file "$SUM_FILE" 'https://repo.stackable.tech/repository/packages/jmx-exporter/'
4847

49-
echo "Successfully uploaded new version of JMX Exporter ($VERSION) to Nexus"
48+
echo "Successfully uploaded new version of the JMX Exporter ($VERSION) Jar to Nexus"
5049
echo "https://repo.stackable.tech/service/rest/repository/browse/packages/jmx-exporter/"
51-
echo "https://github.com/prometheus/jmx_exporter/releases/tag/parent-$VERSION"
50+
echo "https://github.com/prometheus/jmx_exporter/releases/tag/$VERSION"

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ All notable changes to this project will be documented in this file.
1313
util-linux-core contains a basic set of Linux utilities, including the
1414
command logger which allows to enter messages into the system log.
1515
- vector: Add version 0.43.1 ([#980]).
16-
- opa: Add version 1.0.0 ([#981])
16+
- opa: Add version 1.0.0 ([#981]).
17+
- statsd-exporter: Bump version to 0.28.0 ([#982]).
1718
- druid: Add version 31.0.1 ([#984])
1819

1920
### Removed
@@ -37,6 +38,7 @@ All notable changes to this project will be documented in this file.
3738
[#962]: https://github.com/stackabletech/docker-images/pull/962
3839
[#980]: https://github.com/stackabletech/docker-images/pull/980
3940
[#981]: https://github.com/stackabletech/docker-images/pull/981
41+
[#982]: https://github.com/stackabletech/docker-images/pull/982
4042
[#984]: https://github.com/stackabletech/docker-images/pull/984
4143

4244
## [24.11.1] - 2025-01-14

airflow/versions.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@
33
"product": "2.9.2",
44
"python": "3.9",
55
"git_sync": "v4.2.4",
6-
"statsd_exporter": "0.27.1",
6+
"statsd_exporter": "0.28.0",
77
"tini": "0.19.0",
88
"vector": "0.43.1",
99
},
1010
{
1111
"product": "2.9.3",
1212
"python": "3.9",
1313
"git_sync": "v4.2.4",
14-
"statsd_exporter": "0.27.1",
14+
"statsd_exporter": "0.28.0",
1515
"tini": "0.19.0",
1616
"vector": "0.43.1",
1717
},
1818
{
1919
"product": "2.10.2",
2020
"python": "3.12",
2121
"git_sync": "v4.2.4",
22-
"statsd_exporter": "0.27.1",
22+
"statsd_exporter": "0.28.0",
2323
"tini": "0.19.0",
2424
"vector": "0.43.1",
2525
},

statsd_exporter/versions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
versions = [
22
{
3-
"product": "0.27.1",
3+
"product": "0.28.0",
44
"stackable-base": "1.0.0",
55
}
66
]

superset/versions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"product": "4.0.2",
44
"python": "3.9",
55
"vector": "0.43.1",
6-
"statsd_exporter": "0.27.1",
6+
"statsd_exporter": "0.28.0",
77
"authlib": "1.2.1", # https://github.com/dpgaspar/Flask-AppBuilder/blob/release/4.4.1/requirements/extra.txt#L7
88
},
99
]

0 commit comments

Comments
 (0)