Skip to content

Commit 0216634

Browse files
chore(vector): update versions for 24.11
1 parent 4d0d9ca commit 0216634

File tree

8 files changed

+53
-23
lines changed

8 files changed

+53
-23
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ All notable changes to this project will be documented in this file.
88

99
- ci: Add mirror workflow, add new helper scripts ([#819]).
1010
- opa: Add version `0.67.1` ([#797]).
11-
- vector: Add version `0.40.1` ([#802], [#815]).
11+
- vector: Add version `0.41.1` ([#802], [#815], [#867]).
1212
- airflow: Add version `2.9.3` ([#809]).
1313
- kafka: Add version `3.8.0` ([#813]).
1414
- hive: Add version `4.0.0` ([#818]).
@@ -54,6 +54,7 @@ All notable changes to this project will be documented in this file.
5454
[#848]: https://github.com/stackabletech/docker-images/pull/848
5555
[#851]: https://github.com/stackabletech/docker-images/pull/851
5656
[#852]: https://github.com/stackabletech/docker-images/pull/852
57+
[#867]: https://github.com/stackabletech/docker-images/pull/867
5758

5859
## [24.7.0] - 2024-07-24
5960

airflow/versions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
"git_sync": "v4.2.4",
66
"statsd_exporter": "0.26.1",
77
"tini": "0.19.0",
8-
"vector": "0.40.1",
8+
"vector": "0.41.1",
99
},
1010
{
1111
"product": "2.9.3",
1212
"python": "3.9",
1313
"git_sync": "v4.2.4",
1414
"statsd_exporter": "0.26.1",
1515
"tini": "0.19.0",
16-
"vector": "0.40.1",
16+
"vector": "0.41.1",
1717
},
1818
]

java-base/versions.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
versions = [
22
{
33
"product": "1.8.0",
4-
"vector": "0.40.1",
4+
"vector": "0.41.1",
55
},
66
{
77
"product": "11",
8-
"vector": "0.40.1",
8+
"vector": "0.41.1",
99
},
1010
{
1111
"product": "17",
12-
"vector": "0.40.1",
12+
"vector": "0.41.1",
1313
},
1414
{
1515
"product": "21",
16-
"vector": "0.40.1",
16+
"vector": "0.41.1",
1717
},
1818
{
1919
"product": "22",
20-
"vector": "0.40.1",
20+
"vector": "0.41.1",
2121
},
2222
]

opa/versions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
versions = [
22
{
33
"product": "0.66.0",
4-
"vector": "0.40.1",
4+
"vector": "0.41.1",
55
"bundle_builder_version": "1.1.2",
66
"stackable-base": "1.0.0",
77
},
88
{
99
"product": "0.67.1",
10-
"vector": "0.40.1",
10+
"vector": "0.41.1",
1111
"bundle_builder_version": "1.1.2",
1212
"stackable-base": "1.0.0",
1313
},

spark-k8s/versions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"jackson_dataformat_xml": "2.15.2", # https://mvnrepository.com/artifact/org.apache.spark/spark-core_2.13/3.5.1
1212
"stax2_api": "4.2.1", # https://mvnrepository.com/artifact/com.fasterxml.jackson.dataformat/jackson-dataformat-xml/2.15.2
1313
"woodstox_core": "6.5.1", # https://mvnrepository.com/artifact/com.fasterxml.jackson.dataformat/jackson-dataformat-xml/2.15.2
14-
"vector": "0.40.1",
14+
"vector": "0.41.1",
1515
"jmx_exporter": "1.0.1",
1616
"tini": "0.19.0",
1717
},
@@ -27,7 +27,7 @@
2727
"jackson_dataformat_xml": "2.15.2", # https://mvnrepository.com/artifact/org.apache.spark/spark-core_2.13/3.5.1
2828
"stax2_api": "4.2.1", # https://mvnrepository.com/artifact/com.fasterxml.jackson.dataformat/jackson-dataformat-xml/2.15.2
2929
"woodstox_core": "6.5.1", # https://mvnrepository.com/artifact/com.fasterxml.jackson.dataformat/jackson-dataformat-xml/2.15.2
30-
"vector": "0.40.1",
30+
"vector": "0.41.1",
3131
"jmx_exporter": "1.0.1",
3232
"tini": "0.19.0",
3333
},

superset/versions.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,28 @@
22
{
33
"product": "2.1.3",
44
"python": "3.9",
5-
"vector": "0.40.1",
5+
"vector": "0.41.1",
66
"statsd_exporter": "0.26.1",
77
"authlib": "0.15.4", # https://github.com/dpgaspar/Flask-AppBuilder/blob/v4.3.0/requirements-extra.txt#L10
88
},
99
{
1010
"product": "3.1.0",
1111
"python": "3.9",
12-
"vector": "0.40.1",
12+
"vector": "0.41.1",
1313
"statsd_exporter": "0.26.1",
1414
"authlib": "1.2.1", # https://github.com/dpgaspar/Flask-AppBuilder/blob/v4.3.10/requirements-extra.txt#L7
1515
},
1616
{
1717
"product": "3.1.3",
1818
"python": "3.9",
19-
"vector": "0.40.1",
19+
"vector": "0.41.1",
2020
"statsd_exporter": "0.26.1",
2121
"authlib": "1.2.1", # https://github.com/dpgaspar/Flask-AppBuilder/blob/release/4.4.1/requirements/extra.txt#L7
2222
},
2323
{
2424
"product": "4.0.2",
2525
"python": "3.9",
26-
"vector": "0.40.1",
26+
"vector": "0.41.1",
2727
"statsd_exporter": "0.26.1",
2828
"authlib": "1.2.1", # https://github.com/dpgaspar/Flask-AppBuilder/blob/release/4.4.1/requirements/extra.txt#L7
2929
},

vector/upload_new_vector_version.sh

Lines changed: 35 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,57 @@
11
#!/usr/bin/env bash
2+
#
3+
# Example usage:
4+
# upload_new_vector_version.sh 0.41.1 1 nexus-username /var/lib/rpm
25

36
set -euo pipefail
47

58
VERSION=${1:?"Missing version number argument (arg 1)"}
69
RELEASE=${2:?"Missing release number argument (arg 2)"}
710
NEXUS_USER=${3:?"Missing Nexus username argument (arg 3)"}
11+
RPM_PACKAGE_DB_PATH=${4:-"/var/lib/rpm"}
812

913
ARCHITECTURES=(
1014
x86_64
1115
aarch64
1216
)
1317

18+
major_version="${VERSION%%.*}"
19+
1420
read -r -s -p "Nexus Password: " NEXUS_PASSWORD
1521
echo ""
1622

17-
# Vector does not currently publish signatures or SBOMs (as of
18-
# 2023-10-11, latest version at this point 0.33.0)
19-
# But there are SHA256 sums in Github Releases. Maybe we should download from there?
20-
2123
for arch in "${ARCHITECTURES[@]}"; do
2224
file="vector-$VERSION-$RELEASE.$arch.rpm"
2325

24-
echo "Downloading $file from timber.io"
25-
curl -LOs "https://packages.timber.io/vector/$VERSION/$file"
26+
echo "Downloading $file from yum.vector.dev"
27+
curl \
28+
--fail \
29+
--location \
30+
--remote-name \
31+
--silent \
32+
"https://yum.vector.dev/stable/vector-$major_version/$arch/$file"
33+
34+
echo "Validating signature"
35+
echo "--> NOTE: Make sure you have downloaded and added Datadog's \
36+
public key (https://keys.datadoghq.com/DATADOG_RPM_KEY_B01082D3.public) \
37+
to the RPM package database:
38+
rpmkeys --import --dbpath $RPM_PACKAGE_DB_PATH DATADOG_APT_KEY_CURRENT.public"
39+
40+
EXIT_STATUS=0
41+
# `rpmkeys --checksig` also succeeds if the digests of an unsigned
42+
# package are okay. Therefore, test explicitly if the output
43+
# contains "digests signatures OK" to ensure that the package is
44+
# signed.
45+
rpmkeys \
46+
--checksig \
47+
--dbpath "$RPM_PACKAGE_DB_PATH" \
48+
"$file" | \
49+
grep "^$file: digests signatures OK\$" || \
50+
EXIT_STATUS=$?
51+
if [ $EXIT_STATUS -ne 0 ]; then
52+
echo "ERROR: The signature could not be verified."
53+
exit 1
54+
fi
2655

2756
echo "Uploading $file to Nexus"
2857
curl --fail -u "$NEXUS_USER:$NEXUS_PASSWORD" \

vector/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.40.1",
3+
"product": "0.41.1",
44
"rpm_release": "1",
55
"stackable-base": "1.0.0",
66
"inotify_tools": "3.22.1.0-1.el9",

0 commit comments

Comments
 (0)