Matt Farina
9f620b857a
Update to Go 1.23
...
Multiple changes were made to pass linting. Some Go built-in names
are being used for variables (e.g., min). This happens in the Go
source itself including the Go standard library and is not always
a bad practice.
To handle allowing some built-in names to be used the linter config
is updated to allow (via opt-in) some names to pass. This allows us
to still check for re-use of Go built-in names and opt-in to any
new uses.
There were also several cases where a value was checked for nil
before checking its length when this is already handled by len()
or the types default value. These were cleaned up.
The license validation was updated because it was checking everything
in the .git directory including all remote content that was local.
The previous vendor directory was from a time prior to Go modules
when Helm handled dependencies differently. It was no longer needed.
Signed-off-by: Matt Farina <matt.farina@suse.com>
(cherry picked from commit 5727f56a96 )
2024-12-28 12:06:27 -05:00
Matt Farina
029e983241
Increasing the size of the runner used for releases.
...
Note, this runner is provided as part of the CNCF access to GitHub
Enterprise runners.
Signed-off-by: Matt Farina <matt.farina@suse.com>
2024-11-01 12:16:59 -04:00
dependabot[bot]
f983342597
Bump actions/checkout from 4.2.1 to 4.2.2
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](eef61447b9...11bd71901b )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-25 19:04:08 +00:00
dependabot[bot]
c867af8e11
Bump actions/setup-go from 5.0.2 to 5.1.0
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 5.0.2 to 5.1.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](0a12ed9d6a...41dfa10bad )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-24 21:31:32 +00:00
dependabot[bot]
d517450a11
Bump actions/checkout from 4.2.0 to 4.2.1
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](d632683dd7...eef61447b9 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-07 21:46:29 +00:00
Matt Farina
b2286c4caa
Merge pull request #13328 from robertsirc/adjusting-go-setup-check-latest
...
adding check-latest:true
2024-10-01 14:58:10 +02:00
dependabot[bot]
2cd8d54c83
Bump actions/checkout from 4.1.7 to 4.2.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.7 to 4.2.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](692973e3d9...d632683dd7 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-25 21:28:37 +00:00
Robert Sirchia
a8750f4ce9
adding toplevel permissions to workflows missing them
...
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
2024-09-24 10:14:38 -04:00
Robert Sirchia
611fae3d7d
adding check-latest:true
...
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
2024-09-12 12:51:48 -04:00
Robert Sirchia
e7b25bab6f
bumping version to 1.22.7
...
Signed-off-by: Robert Sirchia <rsirchia@outlook.com>
2024-09-11 15:44:13 -04:00
dependabot[bot]
98e2af96d5
Bump actions/setup-go from 5.0.1 to 5.0.2
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 5.0.1 to 5.0.2.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](cdcb360436...0a12ed9d6a )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-10 21:12:50 +00:00
dependabot[bot]
a13a353a3e
Bump actions/checkout from 4.1.1 to 4.1.7
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.1.1 to 4.1.7.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](b4ffde65f4...692973e3d9 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-12 21:37:38 +00:00
Matt Farina
0b64775386
Fixing build issue where wrong version is used
...
The release process had selected the tag to use as the version
automatically. But, this presented a problem when a release
candidate and final release pointed to the same commit id. For a
long time it had automatically selected the final release. But,
we ran into a problem where it selected the RC tag instead of the
final release.
This change explicitly tells the build scripts the version to use
based on the tag passed into the CI run. It should no longer try
to self discover the version.
Closes #13040
Signed-off-by: Matt Farina <matt@mattfarina.com>
2024-05-22 14:05:24 -04:00
Matt Farina
d209b9ba6e
Updating to k8s 1.30
...
Signed-off-by: Matt Farina <matt.farina@suse.com>
2024-05-09 06:26:58 -04:00
dependabot[bot]
53177e06e0
chore(deps): bump actions/setup-go from 5.0.0 to 5.0.1
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](0c52d547c9...cdcb360436 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-02 21:15:18 +00:00
Matt Farina
33ab351984
Merge pull request #12616 from helm/dependabot/github_actions/actions/setup-go-5.0.0
...
chore(deps): bump actions/setup-go from 4.1.0 to 5.0.0
2024-01-17 14:17:34 -05:00
George Jenkins
57265115d8
Merge remote-tracking branch 'upstream/main' into fixup_release
...
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2024-01-09 11:34:16 -08:00
Matt Farina
847369c184
Update to Go 1.21 for builds
...
Noteis:
1. This moves golangci scanning to a GitHub action. This will
enable inline pointers to issues in the PR where linting fails.
2. Go 1.21 is specified in the go.mod because Kubernetes libs
require it.
3. The lint issues were removed. Some were fixed while others
were handled by skipping linting or using _ as an argument.
Many of these can be refactored later for better cleanup.
Signed-off-by: Matt Farina <matt.farina@suse.com>
2024-01-08 15:48:36 -05:00
George Jenkins
4790bb9bcc
Improve release action
...
Signed-off-by: George Jenkins <gjenkins8@bloomberg.net>
2023-12-28 14:12:19 -08:00
dependabot[bot]
f980ad319c
chore(deps): bump actions/setup-go from 4.1.0 to 5.0.0
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4.1.0 to 5.0.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](93397bea11...0c52d547c9 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-12 20:38:04 +00:00
dependabot[bot]
372cccad56
chore(deps): bump actions/checkout from 3.6.0 to 4.1.1
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.6.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](f43a0e5ff2...b4ffde65f4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-17 21:53:44 +00:00
Ian Zink
9d3d17aa30
Add missing with clause to release gh action
...
Signed-off-by: Ian Zink <zforce@gmail.com>
2023-09-29 10:52:34 -05:00
Ian Zink
21ea847ff2
Fix missing run statement on release action
...
Signed-off-by: Ian Zink <zforce@gmail.com>
2023-09-28 12:15:12 -05:00
Ian Zink
0619d088ef
Write latest version to get.helm.sh bucket
...
The purpose of this change is leverage this output
for the get-helm script.
It will provide the following benefits:
- Use true semver so a future release of a patch version
so a future release of a patch version does not cause
an unexpected minor/major version downgrade
- Avoid reliance on the github api which has rate limiting.
This will also increase availability by reducing the
number of systems the get-helm script depends on.
- Simplify the script so parsing json is not necessary
- Increase uptime by only requiring the Azure CDN to be
available
Signed-off-by: Ian Zink <zforce@gmail.com>
2023-09-15 10:36:18 -05:00
dependabot[bot]
4283b2cb3d
chore(deps): bump actions/checkout from 3.5.3 to 3.6.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.5.3 to 3.6.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](c85c95e3d7...f43a0e5ff2 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-24 22:06:09 +00:00
dependabot[bot]
c3a4122dc6
chore(deps): bump actions/setup-go from 4.0.1 to 4.1.0
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4.0.1 to 4.1.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](fac708d667...93397bea11 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-08 21:28:39 +00:00
dependabot[bot]
f9e5db39c9
chore(deps): bump actions/checkout from 3.2.0 to 3.5.3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.2.0 to 3.5.3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](755da8c3cf...c85c95e3d7 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-13 17:28:00 +00:00
dependabot[bot]
6e2bddde6a
chore(deps): bump actions/setup-go from 3.5.0 to 4.0.1
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 3.5.0 to 4.0.1.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](6edd4406fa...fac708d667 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-13 16:38:00 +00:00
Matt Farina
50c22ed7f9
Bump the Go version
...
Needed to gofmt source to meet changes in style
Signed-off-by: Matt Farina <matt.farina@suse.com>
2023-03-22 11:29:26 -04:00
Matt Farina
1f263857a0
Add testing to default and release branches
...
Also added a note to the circleci config
Signed-off-by: Matt Farina <matt.farina@suse.com>
2023-03-02 16:17:33 -05:00
Andrew Block
2f1dffa3e7
Updates based on feedback
...
Signed-off-by: Andrew Block <andy.block@gmail.com>
2023-02-26 21:22:30 -06:00
Andrew Block
07821c8037
Removed remaining CircleCI artifacts
...
Signed-off-by: Andrew Block <andy.block@gmail.com>
2023-02-25 15:57:18 -06:00
Scott Rigby
b69646482a
Remove job dependency. Should have done when I moved job to new file
...
Signed-off-by: Scott Rigby <scott@r6by.com>
2023-02-21 01:00:58 -05:00
Scott Rigby
c8efe2086d
Remove check to run only in helm org
...
Signed-off-by: Scott Rigby <scott@r6by.com>
2023-02-21 00:58:45 -05:00
Scott Rigby
c5dda0995b
Add why comments
...
Signed-off-by: Scott Rigby <scott@r6by.com>
2023-02-21 00:51:48 -05:00
Scott Rigby
131f6f39bb
Convert remaining CircleCI config to GitHub Actions
...
Signed-off-by: Scott Rigby <scott@r6by.com>
2023-02-21 00:51:47 -05:00
Andrew Block
35e77cc8ec
Changed how the setup-go action sets go version
...
Signed-off-by: Andrew Block <andy.block@gmail.com>
2023-02-20 23:48:42 -06:00
Andrew Block
6ba17f1762
CircleCI Migration
...
Signed-off-by: Andrew Block <andy.block@gmail.com>
2023-02-20 23:48:41 -06:00