Skip to content

Commit eb49b32

Browse files
authored
Merge branch 'main' into proposal/authentication-filter
2 parents bf3ed2b + e3e7ae1 commit eb49b32

File tree

10 files changed

+68
-63
lines changed

10 files changed

+68
-63
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ jobs:
193193
fail-build: false
194194

195195
- name: Upload scan result to GitHub Security tab
196-
uses: github/codeql-action/upload-sarif@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
196+
uses: github/codeql-action/upload-sarif@014f16e7ab1402f30e7c3329d33797e7948572db # v4.31.3
197197
if: ${{ !inputs.dry_run }}
198198
continue-on-error: true
199199
with:

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
uses: golangci/golangci-lint-action@0a35821d5c230e903fcfe077583637dea1b27b47 # v9.0.0
5151
with:
5252
working-directory: ${{ matrix.directory }}
53-
version: v2.6.1 # renovate: datasource=github-tags depName=golangci/golangci-lint
53+
version: v2.6.2 # renovate: datasource=github-tags depName=golangci/golangci-lint
5454

5555
njs-lint:
5656
name: NJS Lint

.github/workflows/scorecards.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,6 @@ jobs:
6060

6161
# Upload the results to GitHub's code scanning dashboard.
6262
- name: "Upload to code-scanning"
63-
uses: github/codeql-action/upload-sarif@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
63+
uses: github/codeql-action/upload-sarif@014f16e7ab1402f30e7c3329d33797e7948572db # v4.31.3
6464
with:
6565
sarif_file: results.sarif

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ repos:
3838
- javascript
3939

4040
- repo: https://github.com/golangci/golangci-lint
41-
rev: v2.6.1
41+
rev: v2.6.2
4242
hooks:
4343
- id: golangci-lint-full
4444
name: golangci-lint-root

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ GO_LINKER_FLAGS = $(GO_LINKER_FLAGS_OPTIMIZATIONS) $(GO_LINKER_FlAGS_VARS)
2424

2525
# tools versions
2626
# renovate: datasource=github-tags depName=golangci/golangci-lint
27-
GOLANGCI_LINT_VERSION = v2.6.1
27+
GOLANGCI_LINT_VERSION = v2.6.2
2828
# renovate: datasource=docker depName=kindest/node
2929
KIND_K8S_VERSION = v1.34.0
3030
# renovate: datasource=github-tags depName=norwoodj/helm-docs

internal/controller/nginx/modules/package-lock.json

Lines changed: 53 additions & 53 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/controller/nginx/modules/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"clean": "rm -rf node_modules coverage"
1111
},
1212
"devDependencies": {
13-
"@vitest/coverage-v8": "^4.0.8",
13+
"@vitest/coverage-v8": "^4.0.10",
1414
"prettier": "3.6.2",
15-
"vitest": "^4.0.8"
15+
"vitest": "^4.0.10"
1616
},
1717
"type": "module"
1818
}

tests/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ make update-firewall-with-local-ip
102102

103103
### Step 2 - Build and Load Images
104104

105-
Loading the images only applies to a `kind` cluster. If using a cloud provider, you will need to tag and push
106-
your images to a registry that is accessible from that cloud provider.
105+
Loading the images only applies to a `kind` cluster. If using GKE, you will need to tag and push
106+
your images to a registry that is accessible from GKE.
107107

108108
```makefile
109109
make build-images load-images TAG=$(whoami)
@@ -115,6 +115,8 @@ Or, to build NGF with NGINX Plus enabled (NGINX Plus cert and key must exist in
115115
make build-images-with-plus load-images-with-plus TAG=$(whoami)
116116
```
117117

118+
When building images to run on GKE, you'll need to specify `GOARCH=amd64` in the build command if your local system doesn't default to that architecture.
119+
118120
For the telemetry test, which requires a OTel collector, build an image with the following variables set:
119121

120122
```makefile
@@ -314,6 +316,8 @@ incremental changes and copy your local changes to the VM to test, you can run
314316
make sync-files-to-vm
315317
```
316318

319+
> Note: if just running longevity tests, skip to the [Longevity section](#longevity-testing).
320+
317321
To set up the GCP environment with the router and VM and then run the tests, run the following command:
318322

319323
```makefile

tests/framework/resourcemanager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ func (rm *ResourceManager) WaitForPodsToBeReady(
488488
var podsReady int
489489
for _, pod := range podList.Items {
490490
for _, cond := range pod.Status.Conditions {
491-
if cond.Type == core.PodReady && cond.Status == core.ConditionTrue {
491+
if cond.Type == core.PodReady && (cond.Status == core.ConditionTrue || cond.Reason == "PodCompleted") {
492492
podsReady++
493493
}
494494
}

tests/suite/system_suite_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ func createNGFInstallConfig(cfg setupConfig, extraInstallArgs ...string) framewo
257257
extraInstallArgs = append(
258258
extraInstallArgs,
259259
"--set", "nginxGateway.config.logging.level=debug",
260+
"--set", "nginx.config.logging.agentLevel=debug",
260261
)
261262
}
262263

0 commit comments

Comments
 (0)