Skip to content

Commit faf3e66

Browse files
Merge branch 'main' into add-sysinfo-metrics
2 parents 6f96079 + 55f22ba commit faf3e66

33 files changed

+952
-656
lines changed

Diff for: .github/workflows/coverage.yaml

+56
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,62 @@ jobs:
3333
pkg-config \
3434
build-essential
3535
if: runner.os == 'Linux'
36+
37+
- name: Find and fix librdkafka CMakeLists.txt
38+
run: |
39+
# Download the package first so it's in the registry
40+
cargo fetch
41+
42+
# Find the rdkafka-sys package directory
43+
RDKAFKA_SYS_DIR=$(find ~/.cargo/registry/src -name "rdkafka-sys-*" -type d | head -n 1)
44+
echo "Found rdkafka-sys at: $RDKAFKA_SYS_DIR"
45+
46+
# Find the librdkafka CMakeLists.txt file
47+
CMAKE_FILE="$RDKAFKA_SYS_DIR/librdkafka/CMakeLists.txt"
48+
49+
if [ -f "$CMAKE_FILE" ]; then
50+
echo "Found CMakeLists.txt at: $CMAKE_FILE"
51+
52+
# Make a backup of the original file
53+
cp "$CMAKE_FILE" "$CMAKE_FILE.bak"
54+
55+
# Replace the minimum required version
56+
sed -i 's/cmake_minimum_required(VERSION 3.2)/cmake_minimum_required(VERSION 3.5)/' "$CMAKE_FILE"
57+
58+
echo "Modified CMakeLists.txt - before and after comparison:"
59+
diff "$CMAKE_FILE.bak" "$CMAKE_FILE" || true
60+
else
61+
echo "Could not find librdkafka CMakeLists.txt file!"
62+
exit 1
63+
fi
64+
65+
- name: Find and fix librdkafka CMakeLists.txt
66+
run: |
67+
# Download the package first so it's in the registry
68+
cargo fetch
69+
70+
# Find the rdkafka-sys package directory
71+
RDKAFKA_SYS_DIR=$(find ~/.cargo/registry/src -name "rdkafka-sys-*" -type d | head -n 1)
72+
echo "Found rdkafka-sys at: $RDKAFKA_SYS_DIR"
73+
74+
# Find the librdkafka CMakeLists.txt file
75+
CMAKE_FILE="$RDKAFKA_SYS_DIR/librdkafka/CMakeLists.txt"
76+
77+
if [ -f "$CMAKE_FILE" ]; then
78+
echo "Found CMakeLists.txt at: $CMAKE_FILE"
79+
80+
# Make a backup of the original file
81+
cp "$CMAKE_FILE" "$CMAKE_FILE.bak"
82+
83+
# Replace the minimum required version
84+
sed -i 's/cmake_minimum_required(VERSION 3.2)/cmake_minimum_required(VERSION 3.5)/' "$CMAKE_FILE"
85+
86+
echo "Modified CMakeLists.txt - before and after comparison:"
87+
diff "$CMAKE_FILE.bak" "$CMAKE_FILE" || true
88+
else
89+
echo "Could not find librdkafka CMakeLists.txt file!"
90+
exit 1
91+
fi
3692
3793
- name: Check with clippy
3894
run: cargo hack clippy --verbose --each-feature --no-dev-deps -- -D warnings

Diff for: Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ arrow = "54.0.0"
138138
temp-dir = "0.1.14"
139139

140140
[package.metadata.parseable_ui]
141-
assets-url = "https://parseable-prism-build.s3.us-east-2.amazonaws.com/v2.0.0/build.zip"
142-
assets-sha1 = "4fafefb6f4cc37be2a108a98aa1bb2ddf1b9085e"
141+
assets-url = "https://parseable-prism-build.s3.us-east-2.amazonaws.com/v2.1.0/build.zip"
142+
assets-sha1 = "12c7314fcdaa034e5ad94c6a826a0cf402b62461"
143143

144144
[features]
145145
debug = []

Diff for: helm-releases/parseable-2.0.0.tgz

50.3 KB
Binary file not shown.

Diff for: helm/Chart.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
apiVersion: v2
22
name: parseable
3-
description: Helm chart for Parseable Server
3+
description: Helm chart for Parseable - Fast Observability on S3
44
type: application
5-
version: 1.7.5
6-
appVersion: "v1.7.5"
5+
version: 2.0.0
6+
appVersion: "v2.0.0"
77
icon: "https://raw.githubusercontent.com/parseablehq/.github/main/images/logo.svg"
88
maintainers:
99
- name: Parseable Team

Diff for: helm/templates/ingestor-statefulset.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,13 @@ spec:
139139
{{- end }}
140140
- name: P_MODE
141141
value: "ingest"
142+
{{- if .Values.parseable.kafkaConnector.enabled }}
143+
{{- range $key, $value := .Values.parseable.kafkaConnector.env }}
144+
- name: {{ $key }}
145+
value: {{ tpl $value $ | quote }}
146+
{{- end }}
147+
{{- end }}
148+
142149
ports:
143150
- containerPort: {{ .Values.parseable.highAvailability.ingestor.port }}
144151
{{- with .Values.readinessProbe }}

Diff for: helm/templates/standalone-deployment.yaml

+10-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ spec:
3636
imagePullPolicy: {{ .Values.parseable.image.pullPolicy }}
3737
# Uncomment to debug
3838
# command: [ "/bin/sh", "-c", "sleep 1000000" ]
39-
args: ["/usr/bin/parseable", {{ if eq .Values.parseable.store "gcs-store" }}"s3-store"{{ else }}{{ .Values.parseable.store | quote }}{{ end }}]
39+
args: [ "/usr/bin/parseable", {{ if eq .Values.parseable.store "gcs-store" }}"s3-store"{{ else }}{{ .Values.parseable.store | quote }}{{ end }}]
4040
env:
4141
- name: HOSTNAME
4242
valueFrom:
@@ -70,6 +70,13 @@ spec:
7070
value: {{ .Values.parseable.auditLogging.p_password | quote }}
7171
{{- end }}
7272

73+
{{- if .Values.parseable.kafkaConnector.enabled }}
74+
{{- range $key, $value := .Values.parseable.kafkaConnector.env }}
75+
- name: {{ $key }}
76+
value: {{ tpl $value $ | quote }}
77+
{{- end }}
78+
{{- end }}
79+
7380
{{- if and .Values.parseable.s3ModeSecret .Values.parseable.s3ModeSecret.enabled }}
7481
{{- range $secret := .Values.parseable.s3ModeSecret.secrets }}
7582
{{- range $key := $secret.keys }}
@@ -111,6 +118,8 @@ spec:
111118
{{- end }}
112119
{{- end }}
113120
{{- end }}
121+
122+
114123
ports:
115124
- containerPort: 8000
116125
{{- with .Values.readinessProbe }}

0 commit comments

Comments
 (0)