-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
related to jenkins-x/jx#8670
- Loading branch information
Showing
14 changed files
with
317 additions
and
923 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,75 +1,65 @@ | ||
version: 2 | ||
env: | ||
- GO111MODULE=on | ||
- CGO_ENABLED=0 | ||
before: | ||
hooks: | ||
- go mod download | ||
|
||
builds: | ||
- id: jx-verify | ||
# Path to main.go file or main package. | ||
# Default is `.`. | ||
main: ./cmd/main.go | ||
|
||
# Binary name. | ||
# Can be a path (e.g. `bin/app`) to wrap the binary in a directory. | ||
# Default is the name of the project directory. | ||
binary: jx-verify | ||
|
||
# Custom ldflags templates. | ||
# Default is `-s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.Date}} -X main.builtBy=goreleaser`. | ||
ldflags: | ||
- -X "{{.Env.ROOTPACKAGE}}/pkg/cmd/version.Version={{.Env.VERSION}}" -X "{{.Env.ROOTPACKAGE}}/pkg/cmd/version.Revision={{.Env.REV}}" -X "{{.Env.ROOTPACKAGE}}/pkg/cmd/version.Branch={{.Env.BRANCH}}" -X "{{.Env.ROOTPACKAGE}}/pkg/cmd/version.BuildDate={{.Env.BUILDDATE}}" -X "{{.Env.ROOTPACKAGE}}/pkg/cmd/version.GoVersion={{.Env.GOVERSION}}" | ||
|
||
# GOOS list to build for. | ||
# For more info refer to: https://golang.org/doc/install/source#environment | ||
# Defaults are darwin and linux. | ||
goos: | ||
- windows | ||
- darwin | ||
- linux | ||
|
||
# GOARCH to build for. | ||
# For more info refer to: https://golang.org/doc/install/source#environment | ||
# Defaults are 386 and amd64. | ||
goarch: | ||
- amd64 | ||
- arm | ||
- arm64 | ||
ignore: | ||
- goos: windows | ||
goarch: arm64 | ||
archives: | ||
- name_template: "jx-verify-{{ .Os }}-{{ .Arch }}" | ||
format_overrides: | ||
- goos: windows | ||
format: zip | ||
|
||
checksum: | ||
# You can change the name of the checksums file. | ||
# Default is `jx-verify_{{ .Version }}_checksums.txt`. | ||
name_template: "jx-verify-checksums.txt" | ||
|
||
# Algorithm to be used. | ||
# Accepted options are sha256, sha512, sha1, crc32, md5, sha224 and sha384. | ||
# Default is sha256. | ||
algorithm: sha256 | ||
|
||
changelog: | ||
# set it to true if you wish to skip the changelog generation | ||
skip: true | ||
|
||
disable: true | ||
release: | ||
# If set to true, will not auto-publish the release. | ||
# Default is false. | ||
draft: false | ||
|
||
# If set to auto, will mark the release as not ready for production | ||
# in case there is an indicator for this in the tag e.g. v1.0.0-rc1 | ||
# If set to true, will mark the release as not ready for production. | ||
# Default is false. | ||
prerelease: false | ||
|
||
# You can change the name of the GitHub release. | ||
# Default is `{{.Tag}}` | ||
name_template: "{{.Env.VERSION}}" | ||
|
||
sboms: | ||
- artifacts: archive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,90 +1,88 @@ | ||
module github.com/jenkins-x-plugins/jx-verify | ||
|
||
go 1.18 | ||
go 1.23.0 | ||
|
||
toolchain go1.23.3 | ||
|
||
require ( | ||
github.com/cenkalti/backoff v2.2.1+incompatible | ||
github.com/cenkalti/backoff/v5 v5.0.1 | ||
github.com/cpuguy83/go-md2man v1.0.10 | ||
github.com/genkiroid/cert v0.0.0-20191007122723-897560fbbe50 | ||
github.com/jenkins-x/jx-api/v4 v4.7.4 | ||
github.com/jenkins-x/jx-helpers/v3 v3.6.5 | ||
github.com/jenkins-x/jx-kube-client/v3 v3.0.5 | ||
github.com/jenkins-x/jx-logging/v3 v3.0.10 | ||
github.com/pkg/errors v0.9.1 | ||
github.com/genkiroid/cert v0.0.0-20230422001211-fe9a3bec009a | ||
github.com/jenkins-x/jx-api/v4 v4.7.9 | ||
github.com/jenkins-x/jx-helpers/v3 v3.9.2 | ||
github.com/jenkins-x/jx-kube-client/v3 v3.0.8 | ||
github.com/jenkins-x/jx-logging/v3 v3.0.17 | ||
github.com/sergi/go-diff v1.1.0 | ||
github.com/spf13/cobra v1.2.0 | ||
github.com/spf13/cobra v1.8.1 | ||
github.com/spf13/pflag v1.0.5 | ||
github.com/stretchr/testify v1.8.4 | ||
k8s.io/api v0.23.17 | ||
k8s.io/apimachinery v0.23.17 | ||
k8s.io/client-go v11.0.0+incompatible | ||
github.com/stretchr/testify v1.10.0 | ||
k8s.io/api v0.32.1 | ||
k8s.io/apimachinery v0.32.1 | ||
k8s.io/client-go v0.32.1 | ||
) | ||
|
||
require ( | ||
cloud.google.com/go/compute v1.10.0 // indirect | ||
github.com/AlecAivazis/survey/v2 v2.3.4 // indirect | ||
github.com/Azure/go-autorest v14.2.0+incompatible // indirect | ||
github.com/Azure/go-autorest/autorest v0.11.28 // indirect | ||
github.com/Azure/go-autorest/autorest/adal v0.9.21 // indirect | ||
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect | ||
github.com/Azure/go-autorest/logger v0.2.1 // indirect | ||
github.com/Azure/go-autorest/tracing v0.6.0 // indirect | ||
dario.cat/mergo v1.0.1 // indirect | ||
github.com/AlecAivazis/survey/v2 v2.3.7 // indirect | ||
github.com/MakeNowJust/heredoc v1.0.0 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/evanphx/json-patch v4.12.0+incompatible // indirect | ||
github.com/fatih/color v1.9.0 // indirect | ||
github.com/cenkalti/backoff v2.2.1+incompatible // indirect | ||
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect | ||
github.com/emicklei/go-restful/v3 v3.12.1 // indirect | ||
github.com/fatih/color v1.18.0 // indirect | ||
github.com/fxamacker/cbor/v2 v2.7.0 // indirect | ||
github.com/ghodss/yaml v1.0.0 // indirect | ||
github.com/go-logr/logr v1.2.4 // indirect | ||
github.com/go-logr/logr v1.4.2 // indirect | ||
github.com/go-openapi/jsonpointer v0.21.0 // indirect | ||
github.com/go-openapi/jsonreference v0.21.0 // indirect | ||
github.com/go-openapi/swag v0.23.0 // indirect | ||
github.com/go-stack/stack v1.8.1 // indirect | ||
github.com/gogo/protobuf v1.3.2 // indirect | ||
github.com/golang-jwt/jwt/v4 v4.4.2 // indirect | ||
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b // indirect | ||
github.com/golang/protobuf v1.5.3 // indirect | ||
github.com/golang/glog v1.2.4 // indirect | ||
github.com/golang/protobuf v1.5.4 // indirect | ||
github.com/google/gnostic-models v0.6.9 // indirect | ||
github.com/google/go-cmp v0.6.0 // indirect | ||
github.com/google/gofuzz v1.2.0 // indirect | ||
github.com/google/uuid v1.1.4 // indirect | ||
github.com/googleapis/gnostic v0.5.5 // indirect | ||
github.com/imdario/mergo v0.3.13 // indirect | ||
github.com/inconshreveable/mousetrap v1.0.0 // indirect | ||
github.com/jenkins-x/logrus-stackdriver-formatter v0.2.4 // indirect | ||
github.com/google/uuid v1.6.0 // indirect | ||
github.com/gorilla/websocket v1.5.0 // indirect | ||
github.com/inconshreveable/mousetrap v1.1.0 // indirect | ||
github.com/jenkins-x/logrus-stackdriver-formatter v0.2.7 // indirect | ||
github.com/josharian/intern v1.0.0 // indirect | ||
github.com/json-iterator/go v1.1.12 // indirect | ||
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect | ||
github.com/mattn/go-colorable v0.1.12 // indirect | ||
github.com/mattn/go-isatty v0.0.14 // indirect | ||
github.com/mailru/easyjson v0.9.0 // indirect | ||
github.com/mattn/go-colorable v0.1.14 // indirect | ||
github.com/mattn/go-isatty v0.0.20 // indirect | ||
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d // indirect | ||
github.com/moby/spdystream v0.2.0 // indirect | ||
github.com/moby/spdystream v0.5.0 // indirect | ||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect | ||
github.com/modern-go/reflect2 v1.0.2 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect | ||
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect | ||
github.com/pkg/errors v0.9.1 // indirect | ||
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect | ||
github.com/rawlingsj/jsonschema v0.0.0-20210511142122-a9c2cfdb7dcf // indirect | ||
github.com/rickar/props v0.0.0-20170718221555-0b06aeb2f037 // indirect | ||
github.com/russross/blackfriday v1.6.0 // indirect | ||
github.com/sirupsen/logrus v1.8.1 // indirect | ||
github.com/sirupsen/logrus v1.9.3 // indirect | ||
github.com/vrischmann/envconfig v1.3.0 // indirect | ||
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect | ||
github.com/x448/float16 v0.8.4 // indirect | ||
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect | ||
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect | ||
github.com/xeipuuv/gojsonschema v1.2.0 // indirect | ||
golang.org/x/crypto v0.16.0 // indirect | ||
golang.org/x/net v0.19.0 // indirect | ||
golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1 // indirect | ||
golang.org/x/sys v0.15.0 // indirect | ||
golang.org/x/term v0.15.0 // indirect | ||
golang.org/x/text v0.14.0 // indirect | ||
golang.org/x/time v0.0.0-20220922220347-f3bd1da661af // indirect | ||
google.golang.org/appengine v1.6.7 // indirect | ||
google.golang.org/protobuf v1.28.1 // indirect | ||
golang.org/x/net v0.34.0 // indirect | ||
golang.org/x/oauth2 v0.25.0 // indirect | ||
golang.org/x/sys v0.29.0 // indirect | ||
golang.org/x/term v0.28.0 // indirect | ||
golang.org/x/text v0.21.0 // indirect | ||
golang.org/x/time v0.9.0 // indirect | ||
google.golang.org/protobuf v1.36.3 // indirect | ||
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect | ||
gopkg.in/inf.v0 v0.9.1 // indirect | ||
gopkg.in/yaml.v2 v2.4.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
k8s.io/klog/v2 v2.80.1 // indirect | ||
k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65 // indirect | ||
k8s.io/utils v0.0.0-20220922133306-665eaaec4324 // indirect | ||
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect | ||
sigs.k8s.io/yaml v1.3.0 // indirect | ||
) | ||
|
||
replace ( | ||
k8s.io/api => k8s.io/api v0.22.15 | ||
k8s.io/apimachinery => k8s.io/apimachinery v0.22.15 | ||
k8s.io/client-go => k8s.io/client-go v0.22.15 | ||
k8s.io/klog/v2 v2.130.1 // indirect | ||
k8s.io/kube-openapi v0.0.0-20241212222426-2c72e554b1e7 // indirect | ||
k8s.io/utils v0.0.0-20241210054802-24370beab758 // indirect | ||
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect | ||
sigs.k8s.io/structured-merge-diff/v4 v4.5.0 // indirect | ||
sigs.k8s.io/yaml v1.4.0 // indirect | ||
) |
Oops, something went wrong.