Skip to content

Commit 428ee44

Browse files
committed
module updates
1 parent 19f3fa4 commit 428ee44

26 files changed

+4795
-1735
lines changed

.cursor/rules/module_debugging.mdc

Lines changed: 1262 additions & 0 deletions
Large diffs are not rendered by default.

.gitleaks.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# Copyright The Conforma Contributors
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
#
15+
# SPDX-License-Identifier: Apache-2.0
16+
117
[allowlist]
218
description = "Project allowlist"
319

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
golang 1.24.4
1+
golang 1.24.6

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
## Build
1818

19-
FROM docker.io/library/golang:1.24.4 AS build
19+
FROM docker.io/library/golang:1.24.6 AS build
2020

2121
ARG TARGETOS
2222
ARG TARGETARCH

Dockerfile.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
## Build
1818

19-
FROM registry.access.redhat.com/ubi9/go-toolset:1.24.4@sha256:3ce6311380d5180599a3016031a9112542d43715244816d1d0eabc937952667b AS build
19+
FROM registry.access.redhat.com/ubi9/go-toolset:1.24.6 AS build
2020

2121
ARG TARGETOS
2222
ARG TARGETARCH

acceptance/acceptance_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ func TestMain(t *testing.M) {
148148
v := t.Run()
149149

150150
// After all tests have run `go-snaps` can check for not used snapshots
151-
snaps.Clean(t)
151+
_, _ = snaps.Clean(t)
152152

153153
os.Exit(v)
154154
}

acceptance/crypto/keys.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ func SignerWithKey(ctx context.Context, keyName string) (signature.SignerVerifie
101101
return nil, err
102102
}
103103

104-
return cosign.LoadPrivateKey(key.PrivateBytes, key.Password())
104+
return cosign.LoadPrivateKey(key.PrivateBytes, key.Password(), nil)
105105
}
106106

107107
// PublicKeysFrom returns a map of all public keys encoded in PEM format

acceptance/go.mod

Lines changed: 136 additions & 93 deletions
Large diffs are not rendered by default.

acceptance/go.sum

Lines changed: 1563 additions & 481 deletions
Large diffs are not rendered by default.

docs/modules/ROOT/pages/ec_opa_bench.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Example with bundle and input data:
1414
opa bench -b ./policy-bundle -i input.json 'data.authz.allow'
1515

1616
To run benchmarks against a running OPA server to evaluate server overhead use the --e2e flag.
17+
To enable more detailed analysis use the --metrics and --benchmem flags.
1718

1819
The optional "gobench" output format conforms to the Go Benchmark Data Format.
1920

0 commit comments

Comments
 (0)