deps: update Go dependencies (#3967)

* deps: update Go dependencies
* deps: hold back terraform-plugin deps
* deps: keep google.golang.org/grpc at v1.74
* fix tests

---------

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
renovate[bot] 2025-10-16 13:29:45 +02:00 committed by GitHub
parent 2360d627aa
commit d119e1f44d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
28 changed files with 611 additions and 548 deletions

View file

@ -15,7 +15,6 @@ go_library(
"//internal/attestation/variant",
"//internal/sigstore",
"//internal/staticupload",
"@com_github_aws_aws_sdk_go//aws",
"@com_github_aws_aws_sdk_go_v2_service_s3//:s3",
],
)

View file

@ -19,7 +19,6 @@ import (
"strings"
"github.com/aws/aws-sdk-go-v2/service/s3"
"github.com/aws/aws-sdk-go/aws"
"github.com/edgelesssys/constellation/v2/internal/api/attestationconfigapi"
apiclient "github.com/edgelesssys/constellation/v2/internal/api/client"
"github.com/edgelesssys/constellation/v2/internal/attestation/variant"
@ -112,8 +111,8 @@ func (c Client) deleteVersion(versions attestationconfigapi.List, versionStr str
func (c Client) listCachedVersions(ctx context.Context, attestation variant.Variant) ([]string, error) {
list, err := c.s3Client.ListObjectsV2(ctx, &s3.ListObjectsV2Input{
Bucket: aws.String(c.bucketID),
Prefix: aws.String(reportVersionDir(attestation)),
Bucket: toPtr(c.bucketID),
Prefix: toPtr(reportVersionDir(attestation)),
})
if err != nil {
return nil, fmt.Errorf("list objects: %w", err)
@ -176,3 +175,7 @@ func executeAllCmds(ctx context.Context, client *apiclient.Client, cmds []crudCm
}
return nil
}
func toPtr(s string) *string {
return &s
}