Skip to content

Commit

Permalink
chore: upgrade go and other dependencies
Browse files Browse the repository at this point in the history
regenerating docs
supporting new goreleaser

related to jenkins-x/jx#8670
  • Loading branch information
msvticket committed Jan 7, 2025
1 parent dc79ae7 commit d1b8746
Show file tree
Hide file tree
Showing 60 changed files with 533 additions and 1,416 deletions.
20 changes: 5 additions & 15 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,76 +1,66 @@
version: 2
env:
- GO111MODULE=on
- CGO_ENABLED=0
before:
hooks:
- go mod download

builds:
- id: jx-secret
# 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-secret

# 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-secret-{{ .Os }}-{{ .Arch }}"
format_overrides:
- goos: windows
format: zip

checksum:
# You can change the name of the checksums file.
# Default is `jx-secret_{{ .Version }}_checksums.txt`.
name_template: "jx-secret-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
2 changes: 1 addition & 1 deletion docs/cmd/jx-secret.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ commands for working with Secrets, ExternalSecrets and external secret stores
* [jx-secret version](jx-secret_version.md) - Displays the version of this command
* [jx-secret wait](jx-secret_wait.md) - Waits for the mandatory Secrets to be populated from their External Secrets

###### Auto generated by spf13/cobra on 9-Aug-2023
###### Auto generated by spf13/cobra on 10-Oct-2024
2 changes: 1 addition & 1 deletion docs/cmd/jx-secret_convert.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ Converts all Secret resources in the path to ExternalSecret resources so they ca
* [jx-secret](jx-secret.md) - commands for working with Secrets, ExternalSecrets and external secret stores
* [jx-secret convert edit](jx-secret_convert_edit.md) - Edits the local 'secret-mappings.yaml' file

###### Auto generated by spf13/cobra on 9-Aug-2023
###### Auto generated by spf13/cobra on 10-Oct-2024
2 changes: 1 addition & 1 deletion docs/cmd/jx-secret_convert_edit.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ Edits the local 'secret-mappings.yaml' file

* [jx-secret convert](jx-secret_convert.md) - Converts Secret resources in the path to ExternalSecret resources so they can be checked into git

###### Auto generated by spf13/cobra on 9-Aug-2023
###### Auto generated by spf13/cobra on 10-Oct-2024
2 changes: 1 addition & 1 deletion docs/cmd/jx-secret_copy.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ Copies secrets with the given selector or name to a destination namespace

* [jx-secret](jx-secret.md) - commands for working with Secrets, ExternalSecrets and external secret stores

###### Auto generated by spf13/cobra on 9-Aug-2023
###### Auto generated by spf13/cobra on 10-Oct-2024
2 changes: 1 addition & 1 deletion docs/cmd/jx-secret_edit.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ Edits secret values in the underlying secret stores for ExternalSecrets

* [jx-secret](jx-secret.md) - commands for working with Secrets, ExternalSecrets and external secret stores

###### Auto generated by spf13/cobra on 9-Aug-2023
###### Auto generated by spf13/cobra on 10-Oct-2024
2 changes: 1 addition & 1 deletion docs/cmd/jx-secret_plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ Commands for working with Plugins
* [jx-secret](jx-secret.md) - commands for working with Secrets, ExternalSecrets and external secret stores
* [jx-secret plugins upgrade](jx-secret_plugins_upgrade.md) - Upgrades the binary plugins of the secret command (e.g. the Vault binary)

###### Auto generated by spf13/cobra on 9-Aug-2023
###### Auto generated by spf13/cobra on 10-Oct-2024
2 changes: 1 addition & 1 deletion docs/cmd/jx-secret_plugins_upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ Upgrades the binary plugins of the secret command (e.g. the vault binary)

* [jx-secret plugins](jx-secret_plugins.md) - Commands for working with Plugins

###### Auto generated by spf13/cobra on 9-Aug-2023
###### Auto generated by spf13/cobra on 10-Oct-2024
2 changes: 1 addition & 1 deletion docs/cmd/jx-secret_populate.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ Populates any missing secret values which can be automatically generated or that

* [jx-secret](jx-secret.md) - commands for working with Secrets, ExternalSecrets and external secret stores

###### Auto generated by spf13/cobra on 9-Aug-2023
###### Auto generated by spf13/cobra on 10-Oct-2024
4 changes: 2 additions & 2 deletions docs/cmd/jx-secret_replicate.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Replicates the given ExternalSecret resources into other Environments or Namespa
```
-b, --batch-mode Runs in batch mode without prompting for user input
-f, --file string the ExternalSecret to replicate (default "t")
--from string one or more Namespaces to replicate the ExternalSecret to
--from string one or more Namespaces to replicate the ExternalSecret from
-h, --help help for replicate
--log-level string Sets the logging level. If not specified defaults to $JX_LOG_LEVEL
-n, --name stringArray specifies the names of the ExternalSecrets to replicate if not using a selector
Expand All @@ -39,4 +39,4 @@ Replicates the given ExternalSecret resources into other Environments or Namespa

* [jx-secret](jx-secret.md) - commands for working with Secrets, ExternalSecrets and external secret stores

###### Auto generated by spf13/cobra on 9-Aug-2023
###### Auto generated by spf13/cobra on 10-Oct-2024
2 changes: 1 addition & 1 deletion docs/cmd/jx-secret_vault.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ Commands for working with Vault
* [jx-secret vault shell](jx-secret_vault_shell.md) - Runs a shell so you can access the vault in a kubernetes cluster
* [jx-secret vault wait](jx-secret_vault_wait.md) - Waits for vault to be ready for use

###### Auto generated by spf13/cobra on 9-Aug-2023
###### Auto generated by spf13/cobra on 10-Oct-2024
2 changes: 1 addition & 1 deletion docs/cmd/jx-secret_vault_portforward.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ Runs a port forward process so you can access the vault in a kubernetes cluster

* [jx-secret vault](jx-secret_vault.md) - Commands for working with Vault

###### Auto generated by spf13/cobra on 9-Aug-2023
###### Auto generated by spf13/cobra on 10-Oct-2024
2 changes: 1 addition & 1 deletion docs/cmd/jx-secret_vault_shell.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ Runs a shell so you can access the vault in a kubernetes cluster

* [jx-secret vault](jx-secret_vault.md) - Commands for working with Vault

###### Auto generated by spf13/cobra on 9-Aug-2023
###### Auto generated by spf13/cobra on 10-Oct-2024
2 changes: 1 addition & 1 deletion docs/cmd/jx-secret_vault_wait.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ Waits for vault to be ready for use

* [jx-secret vault](jx-secret_vault.md) - Commands for working with Vault

###### Auto generated by spf13/cobra on 9-Aug-2023
###### Auto generated by spf13/cobra on 10-Oct-2024
2 changes: 1 addition & 1 deletion docs/cmd/jx-secret_verify.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ Verifies that the ExternalSecret resources have the required properties populate

* [jx-secret](jx-secret.md) - commands for working with Secrets, ExternalSecrets and external secret stores

###### Auto generated by spf13/cobra on 9-Aug-2023
###### Auto generated by spf13/cobra on 10-Oct-2024
2 changes: 1 addition & 1 deletion docs/cmd/jx-secret_version.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ Displays the version of this command

* [jx-secret](jx-secret.md) - commands for working with Secrets, ExternalSecrets and external secret stores

###### Auto generated by spf13/cobra on 9-Aug-2023
###### Auto generated by spf13/cobra on 10-Oct-2024
2 changes: 1 addition & 1 deletion docs/cmd/jx-secret_wait.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ Waits for the mandatory Secrets to be populated from their External Secrets

* [jx-secret](jx-secret.md) - commands for working with Secrets, ExternalSecrets and external secret stores

###### Auto generated by spf13/cobra on 9-Aug-2023
###### Auto generated by spf13/cobra on 10-Oct-2024
2 changes: 1 addition & 1 deletion docs/external.md
Original file line number Diff line number Diff line change
Expand Up @@ -470,5 +470,5 @@ Refer to the Kubernetes API documentation for the fields of the
<hr/>
<p><em>
Generated with <code>gen-crd-api-reference-docs</code>
on git commit <code>fddbf8d</code>.
on git commit <code>dc79ae7</code>.
</em></p>
2 changes: 1 addition & 1 deletion docs/man/man1/jx-secret-replicate.1
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Replicates the given ExternalSecret resources into other Environments or Namespa

.PP
\fB\-\-from\fP=""
one or more Namespaces to replicate the ExternalSecret to
one or more Namespaces to replicate the ExternalSecret from

.PP
\fB\-h\fP, \fB\-\-help\fP[=false]
Expand Down
2 changes: 1 addition & 1 deletion docs/mapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -618,5 +618,5 @@ AwsSecretsManager
<hr/>
<p><em>
Generated with <code>gen-crd-api-reference-docs</code>
on git commit <code>fddbf8d</code>.
on git commit <code>dc79ae7</code>.
</em></p>
2 changes: 1 addition & 1 deletion docs/schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -356,5 +356,5 @@ bool
<hr/>
<p><em>
Generated with <code>gen-crd-api-reference-docs</code>
on git commit <code>fddbf8d</code>.
on git commit <code>dc79ae7</code>.
</em></p>
Loading

0 comments on commit d1b8746

Please sign in to comment.