Skip to content

Commit 75995be

Browse files
authored
Merge branch 'main' into chore/more-linters
2 parents 1fef331 + c5f8dbe commit 75995be

File tree

14 files changed

+29
-18
lines changed

14 files changed

+29
-18
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ jobs:
170170
if: github.ref_type == 'tag'
171171

172172
- name: Build binary
173-
uses: goreleaser/goreleaser-action@5742e2a039330cbb23ebf35f046f814d4c6ff811 # v5.1.0
173+
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
174174
with:
175175
version: latest
176176
args: ${{ github.ref_type == 'tag' && 'release' || 'build --snapshot' }} --clean

.github/workflows/conformance.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
working-directory: ./tests
7878

7979
- name: Build binary
80-
uses: goreleaser/goreleaser-action@5742e2a039330cbb23ebf35f046f814d4c6ff811 # v5.1.0
80+
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
8181
with:
8282
version: latest
8383
args: build --snapshot --clean

.github/workflows/dependency-review.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
1515
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
1616

1717
- name: "Dependency Review"
18-
uses: actions/dependency-review-action@0c155c5e8556a497adf53f2c18edabf945ed8e70 # v4.3.2
18+
uses: actions/dependency-review-action@72eb03d02c7872a771aacd928f3123ac62ad6d3a # v4.3.3
1919
with:
2020
config-file: "nginxinc/k8s-common/dependency-review-config.yml@main"

.github/workflows/functional.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
type=ref,event=branch,suffix=-rc,enable=${{ startsWith(github.ref, 'refs/heads/release') }}
6666
6767
- name: Build binary
68-
uses: goreleaser/goreleaser-action@5742e2a039330cbb23ebf35f046f814d4c6ff811 # v5.1.0
68+
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
6969
with:
7070
version: latest
7171
args: build --snapshot --clean

.goreleaser.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
version: 2
12
env:
23
- CGO_ENABLED=0
34

@@ -26,7 +27,7 @@ builds:
2627
binary: gateway
2728

2829
changelog:
29-
skip: true
30+
disable: true
3031

3132
archives:
3233
- id: gateway

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ repos:
3333
hooks:
3434
- id: prettier
3535
additional_dependencies:
36-
- [email protected].0 # https://github.com/pre-commit/pre-commit/issues/3133
36+
- [email protected].1 # https://github.com/pre-commit/pre-commit/issues/3133
3737
types:
3838
- javascript
3939

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ require (
2323
k8s.io/apiextensions-apiserver v0.30.1
2424
k8s.io/apimachinery v0.30.1
2525
k8s.io/client-go v0.30.1
26-
sigs.k8s.io/controller-runtime v0.18.3
26+
sigs.k8s.io/controller-runtime v0.18.4
2727
sigs.k8s.io/controller-tools v0.15.0
2828
sigs.k8s.io/gateway-api v1.1.0
2929
)

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,8 @@ k8s.io/kube-openapi v0.0.0-20240423202451-8948a665c108 h1:Q8Z7VlGhcJgBHJHYugJ/K/
239239
k8s.io/kube-openapi v0.0.0-20240423202451-8948a665c108/go.mod h1:yD4MZYeKMBwQKVht279WycxKyM84kkAx2DPrTXaeb98=
240240
k8s.io/utils v0.0.0-20240423183400-0849a56e8f22 h1:ao5hUqGhsqdm+bYbjH/pRkCs0unBGe9UyDahzs9zQzQ=
241241
k8s.io/utils v0.0.0-20240423183400-0849a56e8f22/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
242-
sigs.k8s.io/controller-runtime v0.18.3 h1:B5Wmmo8WMWK7izei+2LlXLVDGzMwAHBNLX68lwtlSR4=
243-
sigs.k8s.io/controller-runtime v0.18.3/go.mod h1:TVoGrfdpbA9VRFaRnKgk9P5/atA0pMwq+f+msb9M8Sg=
242+
sigs.k8s.io/controller-runtime v0.18.4 h1:87+guW1zhvuPLh1PHybKdYFLU0YJp4FhJRmiHvm5BZw=
243+
sigs.k8s.io/controller-runtime v0.18.4/go.mod h1:TVoGrfdpbA9VRFaRnKgk9P5/atA0pMwq+f+msb9M8Sg=
244244
sigs.k8s.io/controller-tools v0.15.0 h1:4dxdABXGDhIa68Fiwaif0vcu32xfwmgQ+w8p+5CxoAI=
245245
sigs.k8s.io/controller-tools v0.15.0/go.mod h1:8zUSS2T8Hx0APCNRhJWbS3CAQEbIxLa07khzh7pZmXM=
246246
sigs.k8s.io/gateway-api v1.1.0 h1:DsLDXCi6jR+Xz8/xd0Z1PYl2Pn0TyaFMOPPZIj4inDM=

internal/mode/static/nginx/modules/package-lock.json

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

internal/mode/static/nginx/modules/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"devDependencies": {
1313
"@vitest/coverage-v8": "^1.6.0",
14-
"prettier": "3.3.0",
14+
"prettier": "3.3.1",
1515
"vitest": "^1.5.3"
1616
},
1717
"type": "module"

tests/framework/resourcemanager.go

+7
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,13 @@ func (rm *ResourceManager) waitForHTTPRoutesToBeReady(ctx context.Context, names
398398
}
399399

400400
func (rm *ResourceManager) waitForGRPCRoutesToBeReady(ctx context.Context, namespace string) error {
401+
// First, check if grpcroute even exists for v1. If not, ignore.
402+
var routeList v1.GRPCRouteList
403+
err := rm.K8sClient.List(ctx, &routeList, client.InNamespace(namespace))
404+
if err != nil && strings.Contains(err.Error(), "no matches for kind") {
405+
return nil
406+
}
407+
401408
return wait.PollUntilContextCancel(
402409
ctx,
403410
500*time.Millisecond,

tests/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ require (
1313
k8s.io/apiextensions-apiserver v0.30.1
1414
k8s.io/apimachinery v0.30.1
1515
k8s.io/client-go v0.30.1
16-
sigs.k8s.io/controller-runtime v0.18.3
16+
sigs.k8s.io/controller-runtime v0.18.4
1717
sigs.k8s.io/gateway-api v1.1.0
1818
sigs.k8s.io/yaml v1.4.0
1919
)

tests/go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,8 @@ k8s.io/utils v0.0.0-20240423183400-0849a56e8f22 h1:ao5hUqGhsqdm+bYbjH/pRkCs0unBG
208208
k8s.io/utils v0.0.0-20240423183400-0849a56e8f22/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
209209
pgregory.net/rapid v1.1.0 h1:CMa0sjHSru3puNx+J0MIAuiiEV4N0qj8/cMWGBBCsjw=
210210
pgregory.net/rapid v1.1.0/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04=
211-
sigs.k8s.io/controller-runtime v0.18.3 h1:B5Wmmo8WMWK7izei+2LlXLVDGzMwAHBNLX68lwtlSR4=
212-
sigs.k8s.io/controller-runtime v0.18.3/go.mod h1:TVoGrfdpbA9VRFaRnKgk9P5/atA0pMwq+f+msb9M8Sg=
211+
sigs.k8s.io/controller-runtime v0.18.4 h1:87+guW1zhvuPLh1PHybKdYFLU0YJp4FhJRmiHvm5BZw=
212+
sigs.k8s.io/controller-runtime v0.18.4/go.mod h1:TVoGrfdpbA9VRFaRnKgk9P5/atA0pMwq+f+msb9M8Sg=
213213
sigs.k8s.io/gateway-api v1.1.0 h1:DsLDXCi6jR+Xz8/xd0Z1PYl2Pn0TyaFMOPPZIj4inDM=
214214
sigs.k8s.io/gateway-api v1.1.0/go.mod h1:ZH4lHrL2sDi0FHZ9jjneb8kKnGzFWyrTya35sWUTrRs=
215215
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo=

tests/suite/tracing_test.go

+4-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ import (
2222
"github.com/nginxinc/nginx-gateway-fabric/tests/framework"
2323
)
2424

25-
var _ = Describe("Tracing", Label("functional", "tracing"), func() {
25+
// This test can be flaky when waiting to see traces show up in the collector logs.
26+
// Sometimes they get there right away, sometimes it takes 30 seconds. Retries were
27+
// added to attempt to mitigate the issue, but it didn't fix it 100%
28+
var _ = Describe("Tracing", FlakeAttempts(2), Label("functional", "tracing"), func() {
2629
var (
2730
files = []string{
2831
"hello-world/apps.yaml",

0 commit comments

Comments
 (0)