-
Notifications
You must be signed in to change notification settings - Fork 24
[VC-45029] Upgrade all the Go dependencies in preparation for a release #722
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
wallrj-cyberark
merged 10 commits into
master
from
cyberark-disco-agent-release-process
Sep 18, 2025
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
0e2efad
build(deps): update the vcert Go module dependency to latest version
wallrj-cyberark 5cbd8f2
build(deps): update the k8s.io Go module dependencies
wallrj-cyberark 826db10
build(deps): update controller-runtime, cel-go, cel.dev/expr, k8s deps
wallrj-cyberark 6d8d847
build(deps): upgrade github.com/spf13/cobra to v1.10.1
wallrj-cyberark d78f75b
build(deps): update cenkalti/backoff to v5.0.3
wallrj-cyberark 5d2b9e1
build(deps): upgrade golang.org/x/sync to v0.17.0
wallrj-cyberark dc556de
build(deps): update Prometheus, Testify, protobuf and related modules
wallrj-cyberark 2e5513e
build(deps): update venafi-connection-lib to v0.5.0 in go.mod and go.sum
wallrj-cyberark e9b2515
make generate
wallrj-cyberark 13ec7f0
docs: update release process with Go dependency upgrade steps
wallrj-cyberark File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -15,38 +15,54 @@ The release process is semi-automated. | |
| > - Create a draft GitHub release, | ||
| > - Upload the Helm chart tarball to the GitHub release. | ||
|
|
||
| 1. Open the [tests GitHub Actions workflow][tests-workflow] | ||
| 1. Upgrade the Go dependencies. | ||
|
|
||
| You will need to install `go-mod-upgrade`: | ||
|
|
||
| ```bash | ||
| go install github.com/oligot/go-mod-upgrade@latest | ||
| ``` | ||
|
|
||
| Then, run the following: | ||
|
|
||
| ```bash | ||
| go-mod-upgrade | ||
| make generate | ||
| ``` | ||
|
|
||
| Finally, create a PR with the changes and merge it. | ||
|
|
||
| 2. Open the [tests GitHub Actions workflow][tests-workflow] | ||
| and verify that it succeeds on the master branch. | ||
|
|
||
| 2. Run govulncheck: | ||
| 3. Run govulncheck: | ||
| ```bash | ||
| go install golang.org/x/vuln/cmd/govulncheck@latest | ||
| govulncheck -v ./... | ||
| make verify-govulncheck | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The verify-govulncheck was fixed recently, to allow it run when there non-opensource Go modules in use: $ make verify-govulncheck
Running 'GOTOOLCHAIN=go1.25.1 _bin/tools/govulncheck ./...' in directory '.'
No vulnerabilities found. |
||
| ``` | ||
|
|
||
| 3. Create a tag for the new release: | ||
| 4. Create a tag for the new release: | ||
| ```sh | ||
| export VERSION=v1.1.0 | ||
| git tag --annotate --message="Release ${VERSION}" "${VERSION}" | ||
| git push origin "${VERSION}" | ||
| ``` | ||
|
|
||
| 4. Wait until the GitHub Actions finishes. | ||
| 5. Wait until the GitHub Actions finishes. | ||
|
|
||
| 5. Navigate to the GitHub Releases page and select the draft release to edit. | ||
| 6. Navigate to the GitHub Releases page and select the draft release to edit. | ||
| 1. Click on “Generate release notes” to automatically compile the changelog. | ||
| 2. Review and refine the generated notes to ensure they’re clear and useful | ||
| for end users. | ||
| 3. Remove any irrelevant entries, such as “update deps,” “update CI,” “update | ||
| docs,” or similar internal changes that do not impact user functionality. | ||
|
|
||
| 6. Publish the release. | ||
| 7. Publish the release. | ||
|
|
||
| 7. Inform the `#venctl` channel that a new version of Venafi Kubernetes Agent has been | ||
| 8. Inform the `#venctl` channel that a new version of Venafi Kubernetes Agent has been | ||
| released. Make sure to share any breaking change that may affect `venctl connect` | ||
| or `venctl generate`. | ||
|
|
||
| 8. Inform Michael McLoughlin of the new release so he can update the | ||
| 9. Inform Michael McLoughlin of the new release so he can update the | ||
| documentation at <https://docs.venafi.cloud/>. | ||
|
|
||
| [tests-workflow]: https://github.com/jetstack/jetstack-secure/actions/workflows/tests.yaml?query=branch%3Amaster | ||
|
|
||
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's what I'm doing in this PR.