Skip to content

Commit 9d77ec6

Browse files
authored
ci: add check for generated files drift (#3842)
1 parent 68c28f5 commit 9d77ec6

File tree

8 files changed

+44
-28
lines changed

8 files changed

+44
-28
lines changed

.github/workflows/e2e.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout code
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121
- uses: actions/setup-node@v3
2222
with:
2323
node-version: lts/hydrogen
@@ -47,7 +47,7 @@ jobs:
4747
runs-on: ubuntu-latest
4848
steps:
4949
- name: Checkout code
50-
uses: actions/checkout@v3
50+
uses: actions/checkout@v4
5151
- uses: actions/setup-node@v3
5252
with:
5353
node-version: lts/hydrogen

.github/workflows/fuzzer.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout code
12-
uses: actions/checkout@v3
12+
uses: actions/checkout@v4
1313
- name: Install Go
1414
uses: actions/setup-go@v5
1515
with:

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
goreleaser:
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
2121
with:
2222
fetch-depth: 0
2323
- name: Set GIT_LAST_COMMIT_DATE

.github/workflows/test-examples.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Checkout code
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020
- name: Install Go
2121
uses: actions/setup-go@v5
2222
with:

.github/workflows/test.yml

+18-7
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,29 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout code
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
2222
- name: Install Go
2323
uses: actions/setup-go@v5
2424
with:
2525
go-version: 1.22.10
2626
- name: Format
2727
run: make fmt check/unstaged-changes
28+
check-generated:
29+
runs-on: ubuntu-latest
30+
steps:
31+
- name: Checkout code
32+
uses: actions/checkout@v4
33+
- name: Install Go
34+
uses: actions/setup-go@v5
35+
with:
36+
go-version: 1.22.10
37+
- name: Check generated files
38+
run: make generate check/unstaged-changes
2839
test:
2940
runs-on: ubuntu-latest
3041
steps:
3142
- name: Checkout code
32-
uses: actions/checkout@v3
43+
uses: actions/checkout@v4
3344
- name: Install Go
3445
uses: actions/setup-go@v5
3546
with:
@@ -42,7 +53,7 @@ jobs:
4253
runs-on: ubuntu-latest
4354
steps:
4455
- name: Checkout code
45-
uses: actions/checkout@v3
56+
uses: actions/checkout@v4
4657
- name: Install Go
4758
uses: actions/setup-go@v5
4859
with:
@@ -56,7 +67,7 @@ jobs:
5667
runs-on: ubuntu-latest
5768
steps:
5869
- name: "Check out code"
59-
uses: "actions/checkout@v3"
70+
uses: "actions/checkout@v4"
6071
- name: "Test docs"
6172
run: make docs/test
6273

@@ -87,7 +98,7 @@ jobs:
8798
runs-on: ubuntu-latest
8899
steps:
89100
- name: Checkout Repo
90-
uses: actions/checkout@v3
101+
uses: actions/checkout@v4
91102
- name: Set up QEMU
92103
uses: docker/setup-qemu-action@v1
93104
- name: Set up Docker Buildx
@@ -109,7 +120,7 @@ jobs:
109120
runs-on: ubuntu-latest
110121
steps:
111122
- name: Checkout Repo
112-
uses: actions/checkout@v3
123+
uses: actions/checkout@v4
113124
- name: Set up QEMU
114125
uses: docker/setup-qemu-action@v1
115126
- name: Set up Docker Buildx
@@ -140,7 +151,7 @@ jobs:
140151
needs: [build-push]
141152
steps:
142153
- name: Checkout Repo
143-
uses: actions/checkout@v3
154+
uses: actions/checkout@v4
144155
- name: Get github app token (valid for an hour)
145156
id: app-release
146157
uses: tibdex/github-app-token@v1

.github/workflows/test_ebpf.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest-16-cores
2424
steps:
2525
- name: Checkout code
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727
- name: Install Go
2828
uses: actions/setup-go@v5
2929
with:
@@ -76,7 +76,7 @@ jobs:
7676

7777
steps:
7878
- name: Checkout code with submodule
79-
uses: actions/checkout@v3
79+
uses: actions/checkout@v4
8080
with:
8181
submodules: recursive
8282
- name: Install Go

.github/workflows/weekly-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
goreleaser-weekly:
99
runs-on: ubuntu-24.04
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1212
with:
1313
fetch-depth: 0
1414
- name: Set GORELEASER_CURRENT_TAG

docs/sources/configure-server/reference-configuration-parameters/index.md

+18-13
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ ring:
634634
635635
# Override the default cipher suite list (separated by commas). Allowed
636636
# values:
637-
#
637+
#
638638
# Secure Ciphers:
639639
# - TLS_AES_128_GCM_SHA256
640640
# - TLS_AES_256_GCM_SHA384
@@ -649,7 +649,7 @@ ring:
649649
# - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
650650
# - TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
651651
# - TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
652-
#
652+
#
653653
# Insecure Ciphers:
654654
# - TLS_RSA_WITH_RC4_128_SHA
655655
# - TLS_RSA_WITH_3DES_EDE_CBC_SHA
@@ -817,7 +817,7 @@ lifecycler:
817817
818818
# Override the default cipher suite list (separated by commas). Allowed
819819
# values:
820-
#
820+
#
821821
# Secure Ciphers:
822822
# - TLS_AES_128_GCM_SHA256
823823
# - TLS_AES_256_GCM_SHA384
@@ -832,7 +832,7 @@ lifecycler:
832832
# - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
833833
# - TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
834834
# - TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
835-
#
835+
#
836836
# Insecure Ciphers:
837837
# - TLS_RSA_WITH_RC4_128_SHA
838838
# - TLS_RSA_WITH_3DES_EDE_CBC_SHA
@@ -1183,7 +1183,7 @@ sharding_ring:
11831183
11841184
# Override the default cipher suite list (separated by commas). Allowed
11851185
# values:
1186-
#
1186+
#
11871187
# Secure Ciphers:
11881188
# - TLS_AES_128_GCM_SHA256
11891189
# - TLS_AES_256_GCM_SHA384
@@ -1198,7 +1198,7 @@ sharding_ring:
11981198
# - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
11991199
# - TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
12001200
# - TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
1201-
#
1201+
#
12021202
# Insecure Ciphers:
12031203
# - TLS_RSA_WITH_RC4_128_SHA
12041204
# - TLS_RSA_WITH_3DES_EDE_CBC_SHA
@@ -1532,7 +1532,7 @@ sharding_ring:
15321532
15331533
# Override the default cipher suite list (separated by commas). Allowed
15341534
# values:
1535-
#
1535+
#
15361536
# Secure Ciphers:
15371537
# - TLS_AES_128_GCM_SHA256
15381538
# - TLS_AES_256_GCM_SHA384
@@ -1547,7 +1547,7 @@ sharding_ring:
15471547
# - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
15481548
# - TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
15491549
# - TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
1550-
#
1550+
#
15511551
# Insecure Ciphers:
15521552
# - TLS_RSA_WITH_RC4_128_SHA
15531553
# - TLS_RSA_WITH_3DES_EDE_CBC_SHA
@@ -1740,7 +1740,7 @@ backoff_config:
17401740
[tls_insecure_skip_verify: <boolean> | default = false]
17411741
17421742
# Override the default cipher suite list (separated by commas). Allowed values:
1743-
#
1743+
#
17441744
# Secure Ciphers:
17451745
# - TLS_AES_128_GCM_SHA256
17461746
# - TLS_AES_256_GCM_SHA384
@@ -1755,7 +1755,7 @@ backoff_config:
17551755
# - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
17561756
# - TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
17571757
# - TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
1758-
#
1758+
#
17591759
# Insecure Ciphers:
17601760
# - TLS_RSA_WITH_RC4_128_SHA
17611761
# - TLS_RSA_WITH_3DES_EDE_CBC_SHA
@@ -1953,7 +1953,7 @@ The `memberlist` block configures the Gossip memberlist.
19531953
[tls_insecure_skip_verify: <boolean> | default = false]
19541954
19551955
# Override the default cipher suite list (separated by commas). Allowed values:
1956-
#
1956+
#
19571957
# Secure Ciphers:
19581958
# - TLS_AES_128_GCM_SHA256
19591959
# - TLS_AES_256_GCM_SHA384
@@ -1968,7 +1968,7 @@ The `memberlist` block configures the Gossip memberlist.
19681968
# - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
19691969
# - TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
19701970
# - TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
1971-
#
1971+
#
19721972
# Insecure Ciphers:
19731973
# - TLS_RSA_WITH_RC4_128_SHA
19741974
# - TLS_RSA_WITH_3DES_EDE_CBC_SHA
@@ -2253,10 +2253,15 @@ The s3_backend block configures the connection to Amazon S3 object storage backe
22532253
# CLI flag: -storage.s3.signature-version
22542254
[signature_version: <string> | default = "v4"]
22552255
2256-
# Set this to `true` to force the bucket lookup to be using path-style.
2256+
# Deprecated, use s3.bucket-lookup-type instead. Set this to `true` to force the
2257+
# bucket lookup to be using path-style.
22572258
# CLI flag: -storage.s3.force-path-style
22582259
[force_path_style: <boolean> | default = false]
22592260

2261+
# S3 bucket lookup style, use one of: [path-style virtual-hosted-style auto]
2262+
# CLI flag: -storage.s3.bucket-lookup-type
2263+
[bucket_lookup_type: <string> | default = "auto"]
2264+
22602265
sse:
22612266
# Enable AWS Server Side Encryption. Supported values: SSE-KMS, SSE-S3.
22622267
# CLI flag: -storage.s3.sse.type

0 commit comments

Comments
 (0)