Skip to content

Commit c05f969

Browse files
committed
Merge tag 'v0.32.2' into feature/LOG-18882
v0.32.2
2 parents 8f6e1de + beb74c1 commit c05f969

File tree

515 files changed

+14048
-7054
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

515 files changed

+14048
-7054
lines changed

.github/ISSUE_TEMPLATE/minor-release.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ On the day of release:
4141
- [ ] Merge release preparation branch into the release branch
4242
- `git co v0.<new version number> && git merge --ff-only prepare-v0.<new version number>`
4343
- [ ] Tag new release
44-
- [ ] `git tag v0.<minor>.0 -a -m v0.<minor>.0``
45-
- [ ] `git push origin v0.<minor>.0
44+
- [ ] `git tag v0.<minor>.0 -a -m v0.<minor>.0`
45+
- [ ] `git push origin v0.<minor>.0`
4646
- [ ] Wait for release workflow to complete
4747
- Discoverable via [https://github.com/timberio/vector/actions/workflows/release.yml](https://github.com/timberio/vector/actions/workflows/release.yml)
4848
- [ ] Release updated Helm chart. See [releasing Helm chart](https://github.com/vectordotdev/helm-charts#releasing).

.github/actions/spelling/allow.txt

+10
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Celkon
3636
Ceph
3737
Chromecast
3838
Citrix
39+
Cloudflare
3940
Cloudfone
4041
Cmx
4142
Coby
@@ -52,6 +53,7 @@ Enot
5253
Evercoss
5354
Explay
5455
FAQs
56+
FDO
5557
FQDNs
5658
Fabro
5759
Figma
@@ -165,6 +167,7 @@ Samsung
165167
Sega
166168
Segoe
167169
Shopify
170+
SIGINTs
168171
Simvalley
169172
Skype
170173
Skytex
@@ -244,6 +247,7 @@ compiletime
244247
coredns
245248
corejs
246249
coreutils
250+
curta
247251
daemonset
248252
databend
249253
datacenter
@@ -295,6 +299,9 @@ gpg
295299
gql
296300
grafana
297301
graphiql
302+
greptime
303+
greptimecloud
304+
greptimedb
298305
gvisor
299306
gws
300307
hadoop
@@ -313,6 +320,7 @@ https
313320
humungus
314321
icecream
315322
ifeq
323+
ifneq
316324
imobile
317325
influxd
318326
ionik
@@ -418,6 +426,8 @@ userguide
418426
webhdfs
419427
winapi
420428
workarounds
429+
XCHACHA
430+
XSALSA
421431
yandex
422432
zeek
423433
zookeeper

.github/actions/spelling/excludes.txt

+4-1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
\.otf$
4949
\.p12$
5050
\.pattern$
51+
\.pb$
5152
\.pdf$
5253
\.pem$
5354
\.png$
@@ -68,11 +69,13 @@
6869
\.zst$
6970
^\.github/actions/spelling/
7071
^\Q.cargo/config.toml\E$
71-
^\Q.github/workflows/spelling.yml\E$
7272
^\Q.github/workflows/gardener_issue_comment.yml\E$
73+
^\Q.github/workflows/spelling.yml\E$
7374
^\Qbenches/codecs/moby_dick.txt\E$
7475
^\Qbenches/dnstap/mod.rs\E$
7576
^\Qbenches/transform/route.rs\E$
77+
^\Qlib/codecs/tests/data/decoding/protobuf/test_protobuf.desc\E$
78+
^\Qlib/codecs/tests/data/decoding/protobuf/test_protobuf3.desc\E$
7679
^\Qlib/dnsmsg-parser/benches/benches.rs\E$
7780
^\Qlib/dnsmsg-parser/src/dns_message_parser.rs\E$
7881
^\Qlib/lookup/tests/fixtures/lookup/quoted\E$

.github/actions/spelling/expect.txt

+7-11
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
abcd
22
abcdefghijklm
33
abcdefghijklmnopqrstuvwxyzand
4-
abced
54
abortable
6-
acb
75
ack'ing
86
acking
97
Acq
@@ -37,10 +35,8 @@ ARNOTAREALIDD
3735
arshiyasolei
3836
asdf
3937
asdfasdf
40-
ASMS
4138
assertverify
4239
Asterix
43-
asynk
4440
atag
4541
atx
4642
aty
@@ -140,7 +136,6 @@ casttype
140136
castvalue
141137
cbe
142138
CBOR
143-
cbs
144139
cddl
145140
cdeab
146141
cdylib
@@ -224,6 +219,7 @@ cwl
224219
Dailywarehousing
225220
daschl
226221
dashmap
222+
datadir
227223
dataflows
228224
datafuselabs
229225
datasources
@@ -234,6 +230,7 @@ datname
234230
dbkind
235231
dbreader
236232
DBserver
233+
DCMAKE
237234
ddagent
238235
ddev
239236
ddmetric
@@ -304,7 +301,6 @@ ebfcee
304301
edenhill
305302
edns
306303
eeyun
307-
efg
308304
efgh
309305
Elhage
310306
emca
@@ -325,7 +321,6 @@ ENVARS
325321
envsubst
326322
EOIG
327323
EOL'ed
328-
Erfxl
329324
Err'ing
330325
errorf
331326
Errorsfor
@@ -464,12 +459,12 @@ gty
464459
Guangzhou
465460
guenter
466461
gzip'ed
462+
hadolint
467463
halfsies
468464
hannes
469465
Hashbang
470466
hashbrown
471467
hashindex
472-
hashlink
473468
hashring
474469
hashset
475470
hashsum
@@ -574,7 +569,6 @@ kernelmode
574569
keybase
575570
keyclock
576571
keyid
577-
keypair
578572
keyxxxxx
579573
khvzak
580574
kib
@@ -778,6 +772,7 @@ NQTP
778772
nresamples
779773
nullishness
780774
numbackends
775+
oahd
781776
oap
782777
OKD
783778
omfwd
@@ -821,6 +816,7 @@ pathgen
821816
peekable
822817
PEMS
823818
pgmajfault
819+
pgrep
824820
PII
825821
Pitbull
826822
pkc
@@ -873,6 +869,7 @@ qwe
873869
raboof
874870
rande
875871
RANDFILE
872+
ratatui
876873
rawconfig
877874
rawstring
878875
rdkafka
@@ -1053,7 +1050,6 @@ supertrait
10531050
suser
10541051
sustainability
10551052
svalue
1056-
Sya
10571053
sysfs
10581054
sysinit
10591055
syslogng
@@ -1114,7 +1110,6 @@ Tomola
11141110
tonydanza
11151111
toolbars
11161112
toolchains
1117-
TOOLSDIRECTORY
11181113
toolset
11191114
toor
11201115
topdir
@@ -1201,6 +1196,7 @@ watchexec
12011196
watchlogs
12021197
wayfor
12031198
webgraphviz
1199+
webpki
12041200
webservers
12051201
websites
12061202
weee

.github/workflows/changes.yml.upstream

+3
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ on:
7070
value: ${{ jobs.int_tests.outputs.fluent }}
7171
gcp:
7272
value: ${{ jobs.int_tests.outputs.gcp }}
73+
greptimedb:
74+
value: ${{ jobs.int_tests.outputs.greptimedb }}
7375
humio:
7476
value: ${{ jobs.int_tests.outputs.humio }}
7577
http-client:
@@ -194,6 +196,7 @@ jobs:
194196
eventstoredb: ${{ steps.filter.outputs.eventstoredb }}
195197
fluent: ${{ steps.filter.outputs.fluent }}
196198
gcp: ${{ steps.filter.outputs.gcp }}
199+
greptimedb: ${{ steps.filter.outputs.greptimedb }}
197200
humio: ${{ steps.filter.outputs.humio }}
198201
http-client: ${{ steps.filter.outputs.http-client }}
199202
influxdb: ${{ steps.filter.outputs.influxdb }}

.github/workflows/comment-trigger.yml.upstream

+15-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
# /ci-run-unit-windows : runs Unit - Windows
1616
# /ci-run-environment : runs Environment Suite
1717
# /ci-run-regression : runs Regression Detection Suite
18+
# /ci-run-k8s : runs K8s E2E Suite
1819

1920
name: Comment Trigger
2021

@@ -55,15 +56,22 @@ jobs:
5556
|| contains(github.event.comment.body, '/ci-run-unit-windows')
5657
|| contains(github.event.comment.body, '/ci-run-environment')
5758
|| contains(github.event.comment.body, '/ci-run-regression')
59+
|| contains(github.event.comment.body, '/ci-run-k8s')
5860
)
5961
steps:
62+
- name: Generate authentication token
63+
id: generate_token
64+
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92
65+
with:
66+
app_id: ${{ secrets.GH_APP_DATADOG_VECTOR_CI_APP_ID }}
67+
private_key: ${{ secrets.GH_APP_DATADOG_VECTOR_CI_APP_PRIVATE_KEY }}
6068
- name: Get PR comment author
6169
id: comment
6270
uses: tspascoal/get-user-teams-membership@v2
6371
with:
6472
username: ${{ github.actor }}
6573
team: 'Vector'
66-
GITHUB_TOKEN: ${{ secrets.GH_PAT_ORG }}
74+
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
6775

6876
- name: Validate author membership
6977
if: steps.comment.outputs.isTeamMember == 'false'
@@ -116,3 +124,9 @@ jobs:
116124
if: contains(github.event.comment.body, '/ci-run-all') || contains(github.event.comment.body, '/ci-run-regression')
117125
uses: ./.github/workflows/regression.yml
118126
secrets: inherit
127+
128+
k8s:
129+
needs: validate
130+
if: contains(github.event.comment.body, '/ci-run-all') || contains(github.event.comment.body, '/ci-run-k8s')
131+
uses: ./.github/workflows/k8s_e2e.yml
132+
secrets: inherit

.github/workflows/environment.yml.upstream

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: Set up QEMU
4343
uses: docker/[email protected]
4444
- name: Set up Docker Buildx
45-
uses: docker/setup-buildx-action@v2.8.0
45+
uses: docker/setup-buildx-action@v2.9.1
4646
- name: Login to DockerHub
4747
uses: docker/[email protected]
4848
if: github.ref == 'refs/heads/master'

.github/workflows/gardener_issue_comment.yml.upstream

+53-29
Original file line numberDiff line numberDiff line change
@@ -20,50 +20,74 @@ jobs:
2020
GH_TOKEN: ${{ secrets.GH_PROJECT_PAT }}
2121
run: |
2222
issue_id=${{ github.event.issue.node_id }}
23+
echo "issue_id: $issue_id"
2324

2425
# IDs fetched from https://docs.github.com/en/graphql/overview/explorer
2526
project_id="PVT_kwDOAQFeYs4AAsTr" # Gardener
2627
status_field_id="PVTF_lADOAQFeYs4AAsTrzgAXRuU" # Status
2728
triage_option_id="2a08fafa"
2829

29-
# ensures that the issue is already on board but also seems to be the only way to fetch
30-
# the item id
31-
item_id="$(gh api graphql -f query='
32-
mutation($project_id: ID!, $content_id: ID!) {
33-
addProjectV2ItemById(input: {projectId: $project_id, contentId: $content_id}) {
34-
item {
35-
id
36-
}
37-
}
38-
}' -f project_id="$project_id" -f content_id="$issue_id" -q '.data.addProjectV2ItemById.item.id'
39-
)"
40-
41-
echo "item_id: $item_id"
42-
43-
if [ -z "$item_id" ] ; then
44-
echo "Issue not found in Gardener board"
45-
exit 0
46-
else
47-
echo "Found issue on Gardener board"
48-
fi
49-
50-
current_status="$(gh api graphql -f query='
30+
# Query for project items for the given issue
31+
project_items="$(gh api graphql -f query='
5132
query($item_id: ID!) {
5233
node(id: $item_id) {
53-
... on ProjectV2Item {
54-
fieldValueByName(name: "Status") {
55-
... on ProjectV2ItemFieldSingleSelectValue {
56-
name
34+
... on Issue {
35+
projectItems(first: 50) {
36+
... on ProjectV2ItemConnection {
37+
nodes {
38+
fieldValueByName(name: "Status") {
39+
... on ProjectV2ItemFieldSingleSelectValue {
40+
name
41+
}
42+
}
43+
... on ProjectV2Item {
44+
id
45+
project {
46+
... on ProjectV2 {
47+
id
48+
}
49+
}
50+
}
51+
}
52+
}
53+
}
54+
}
55+
... on PullRequest {
56+
projectItems(first: 50) {
57+
... on ProjectV2ItemConnection {
58+
nodes {
59+
fieldValueByName(name: "Status") {
60+
... on ProjectV2ItemFieldSingleSelectValue {
61+
name
62+
}
63+
}
64+
... on ProjectV2Item {
65+
id
66+
project {
67+
... on ProjectV2 {
68+
id
69+
}
70+
}
71+
}
72+
}
5773
}
5874
}
5975
}
6076
}
61-
}' -f item_id="$item_id"
77+
}' -f item_id="$issue_id"
6278
)"
6379

64-
current_status=$(echo $current_status | jq -c -r '.["data"]["node"]["fieldValueByName"]["name"]')
80+
# Extract the item in the Gardener project
81+
project=$(echo $project_items | jq -c -r --arg project_id $project_id '.data.node.projectItems.nodes[] | select(.project.id == $project_id)')
82+
current_status=$(echo $project | jq -c -r '.fieldValueByName.name')
83+
item_id=$(echo $project | jq -c '.id')
6584

66-
echo "Current issue status is: '${current_status}'"
85+
if [ -z "$current_status" ] ; then
86+
echo "Issue not found in Gardener board"
87+
exit 0
88+
else
89+
echo "Found issue on Gardener board. Current issue status is: '${current_status}'"
90+
fi
6791

6892
if [ "$current_status" = "Blocked / Waiting" ] ; then
6993
echo "Moving issue from 'Blocked / Waiting' to 'Triage'"

0 commit comments

Comments
 (0)