Skip to content

Commit

Permalink
Merge pull request #361 from kubernetes-sigs/dependabot/go_modules/si…
Browse files Browse the repository at this point in the history
…gs.k8s.io/release-utils-0.7.6

build(deps): bump sigs.k8s.io/release-utils from 0.7.5 to 0.7.6
  • Loading branch information
k8s-ci-robot authored Oct 30, 2023
2 parents 5b04a4a + e7763d6 commit dcee28f
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,3 +180,5 @@ linters-settings:
require-explanation: false
# Enable to require nolint directives to mention the specific linter being suppressed. Default is false.
require-specific: true
goconst:
min-occurrences: 5
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ require (
golang.org/x/term v0.13.0
golang.org/x/tools/go/vcs v0.1.0-deprecated
gopkg.in/yaml.v2 v2.4.0
sigs.k8s.io/release-utils v0.7.5
sigs.k8s.io/release-utils v0.7.6
)

require (
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -214,5 +214,5 @@ modernc.org/memory v1.5.0 h1:N+/8c5rE6EqugZwHii4IFsaJ7MUhoWX07J5tC/iI5Ds=
modernc.org/memory v1.5.0/go.mod h1:PkUhL0Mugw21sHPeskwZW4D6VscE/GQJOnIpCnW6pSU=
modernc.org/sqlite v1.23.1 h1:nrSBg4aRQQwq59JpvGEQ15tNxoO5pX/kUjcRNwSAGQM=
modernc.org/sqlite v1.23.1/go.mod h1:OrDj17Mggn6MhE+iPbBNf7RGKODDE9NFT0f3EwDzJqk=
sigs.k8s.io/release-utils v0.7.5 h1:0DYUWILqT0rirJ+8Vrp+Fr8jG8Q32ejFnulkahOvEao=
sigs.k8s.io/release-utils v0.7.5/go.mod h1:GZGWmbINwsLGKsoZKTeWUGp4F+Rbwhq4XDtJ45N+dLw=
sigs.k8s.io/release-utils v0.7.6 h1:mQxQRAIulbyz6y7eOCzklAelcpYjBj8MMGFcxNnyqto=
sigs.k8s.io/release-utils v0.7.6/go.mod h1:GZGWmbINwsLGKsoZKTeWUGp4F+Rbwhq4XDtJ45N+dLw=
2 changes: 1 addition & 1 deletion magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func Verify() error {
}

fmt.Println("Running go module linter...")
if err := mage.VerifyGoMod(scriptDir); err != nil {
if err := mage.VerifyGoMod(); err != nil {
return err
}

Expand Down
4 changes: 2 additions & 2 deletions pkg/query/filter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ func testPackages() map[string]*spdx.Package {
p := spdx.NewPackage()
p.ID = s
p.Name = fmt.Sprintf("gcr.io/puerco-chainguard/images/%s:v9.0.2-buster", s)
dg := "sha256:4ed64c2e0857ad21c38b98345ebb5edb01791a0a10b0e9e3d9ddde185cdbd31a" //nolint: gosec
dg := "sha256:4ed64c2e0857ad21c38b98345ebb5edb01791a0a10b0e9e3d9ddde185cdbd31a"
repo := "index.docker.io%2Flibrary"
if i == 1 {
dg = "sha256:c0d8e30ad4f13b5f26794264fe057c488c72a5112978b1c24f3940dfaf69368a" //nolint: gosec
dg = "sha256:c0d8e30ad4f13b5f26794264fe057c488c72a5112978b1c24f3940dfaf69368a"
repo = "gcr.io%2Fproject"
}
p.ExternalRefs = []spdx.ExternalRef{
Expand Down
2 changes: 1 addition & 1 deletion pkg/spdx/spdx_unit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ func TestGetImageReferences(t *testing.T) {
}

// Test a sha reference. This is the linux/ppc64le image
singleRef := "registry.k8s.io/kube-apiserver@sha256:1a61b61491042e2b1e659c4d57d426d01d9467fb381404bff029be4d00ead519" //nolint: gosec
singleRef := "registry.k8s.io/kube-apiserver@sha256:1a61b61491042e2b1e659c4d57d426d01d9467fb381404bff029be4d00ead519"
references, err = getImageReferences(singleRef)
require.NoError(t, err)
require.Len(t, references.Images, 0)
Expand Down

0 comments on commit dcee28f

Please sign in to comment.