Commit graph

816 commits

Author SHA1 Message Date
George Jenkins
be7cdb69e5
Merge pull request #31806 from mmorel-35/errorlint-pkg-4-15f432a
fix(pkg): errorlint linter
2026-02-24 16:00:34 -08:00
George Jenkins
3dfc4f3cf6
Merge pull request #31858 from helm/gjenkins/go_fix
Some checks are pending
build-test / build (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
golangci-lint / golangci-lint (push) Waiting to run
release / release (push) Waiting to run
release / canary-release (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
chore: `go fix` fixes
2026-02-24 15:35:00 -08:00
George Jenkins
3ad9ccdb19
Merge pull request #31563 from Mujib-Ahasan/dry-run-fix
Some checks are pending
build-test / build (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
golangci-lint / golangci-lint (push) Waiting to run
release / release (push) Waiting to run
release / canary-release (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
fix: --dry-run=server now respect generateName
2026-02-23 20:28:50 -08:00
George Jenkins
92b64e87ad
chore: fixes
Signed-off-by: George Jenkins <gvjenkins@gmail.com>
2026-02-23 16:46:35 -08:00
Joe Julian
947b429cdd
Merge pull request #31801 from mmorel-35/modernize-pkg-4-062b248
chore(pkg): fix modernize linter
2026-02-10 21:42:25 -08:00
Joe Julian
78f5af72be
Merge pull request #31802 from mmorel-35/modernize-pkg-5-a3c8fdb
chore(pkg): fix modernize linter
2026-02-10 21:41:08 -08:00
Joe Julian
70899a6b3f
Merge pull request #31578 from manute/main
fix(action): crd resources can be empty
2026-02-10 21:39:38 -08:00
Joe Julian
56d0d9374a
Merge pull request #31810 from mmorel-35/errorlint-pkg-5-dda0145
fix(pkg): errorlint linter
2026-02-10 06:26:03 -08:00
Matthieu MOREL
259f76a849 fix(pkg): errorlint linter
errorlint linter in pkg/cmd

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2026-02-09 07:54:59 +01:00
Matthieu MOREL
4d0ae7f33a fix(pkg): errorlint linter
#### Description

errorlint linter in pkg

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2026-02-09 07:45:34 +01:00
Matthieu MOREL
c8989d984f fix(pkg): errorlint linter
#### Description

errorlint linter in pkg

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2026-02-09 07:45:21 +01:00
Manuel Alonso
9817a68618
fix(install): check nil for restClientGetter and fix tests
Signed-off-by: Manuel Alonso <434575+manute@users.noreply.github.com>
2026-02-07 11:29:08 +01:00
Matthieu MOREL
5cc2e55714 chore(pkg): fix modernize linter
#### Description

fix modernize linter in pkg/chart/v2/lint/rules

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2026-02-06 16:11:01 +01:00
Matthieu MOREL
111d4e6e0e chore(pkg): fix modernize linter
#### Description

fix modernize linter in pkg/chart/common/util

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2026-02-06 16:10:41 +01:00
Matheus Pimenta
c1cc625323
chore(defaults): server-side apply SDK defaults should always match the CLI defaults
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2026-01-15 10:04:07 +00:00
Manuel Alonso
7c089bed26
Merge branch 'main' into main
Signed-off-by: Manuel Alonso <434575+manute@users.noreply.github.com>
2026-01-14 08:13:40 +01:00
Manuel Alonso
6501ef490a
chore(refactor): better testing and functionality for installing crd
Signed-off-by: Manuel Alonso <m.alonso@Manuels-MacBook-Pro.local>
2026-01-13 19:21:16 +01:00
Matheus Pimenta
59ece92bed
pkg/kube: introduce support for custom kstatus readers
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2026-01-12 18:16:26 +00:00
Manuel Alonso
0f949a92c1
fix(test): fix tests and check nil for restclient
Signed-off-by: Manuel Alonso <m.alonso@Manuels-MacBook-Pro.local>
2026-01-11 21:08:31 +01:00
Manuel Alonso Gonzalez
561410ae1d
fix(test): merge fix correctly
Signed-off-by: Manuel Alonso Gonzalez <434575+manute@users.noreply.github.com>
Signed-off-by: Manuel Alonso Gonzalez <m.alonso@Manuels-MacBook-Pro.local>
2026-01-10 10:07:04 +01:00
Evans Mungai
e751a70e84
fix(release): fix test compilation error
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
2026-01-09 19:32:29 +00:00
Evans Mungai
05f25a3834
Merge pull request #31579 from benoittgt/delete-hook-after-log-retrieval
fix: Delay test hook deletion until after logs are retrieved with `helm test release --logs`
2026-01-09 15:02:37 +00:00
Manuel Alonso
df8ec771f9
Merge branch 'main' into main
Signed-off-by: Manuel Alonso <434575+manute@users.noreply.github.com>
2026-01-09 08:32:24 +01:00
George Jenkins
fa41d60d73
Merge pull request #31239 from StephanieHhnbrg/test-actions-pkg
Some checks are pending
build-test / build (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
golangci-lint / golangci-lint (push) Waiting to run
release / release (push) Waiting to run
release / canary-release (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
Add tests to action package to improve coverage
2026-01-02 20:24:27 -08:00
Manuel Alonso
00f0a48a7d
fix(install): add more tests and check nil file data
Signed-off-by: Manuel Alonso <434575+manute@users.noreply.github.com>
2025-12-23 09:36:32 +01:00
Manuel Alonso
0357e8d0f7
fix(test): no check empty resources
Signed-off-by: Manuel Alonso <434575+manute@users.noreply.github.com>
2025-12-23 09:36:31 +01:00
Manuel Alonso
52235cc0bf
fix(install): check lenght and file nil, add tests
Signed-off-by: Manuel Alonso <434575+manute@users.noreply.github.com>
2025-12-23 09:36:31 +01:00
Manuel Alonso
268593bf2e
fix(action): crd resources can be empty
Signed-off-by: Manuel Alonso <434575+manute@users.noreply.github.com>
2025-12-23 09:36:31 +01:00
Mujib Ahasan
170911459b fix: casing issue fixed
Signed-off-by: Mujib Ahasan <ahasanmujib8@gmail.com>
2025-12-23 03:19:41 +05:30
Mujib Ahasan
94860626ce fix: error handled correctly
Signed-off-by: Mujib Ahasan <ahasanmujib8@gmail.com>
2025-12-20 21:49:25 +05:30
Mujib Ahasan
12e8b715aa fix: doc string added
Signed-off-by: Mujib Ahasan <ahasanmujib8@gmail.com>
2025-12-18 00:14:08 +05:30
Terry Howe
5d2ab10caa
Merge pull request #12564 from hiddeco/supersede-on-uninstall
Some checks are pending
build-test / build (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
golangci-lint / golangci-lint (push) Waiting to run
release / release (push) Waiting to run
release / canary-release (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
fix(uninstall): supersede deployed releases
2025-12-13 09:15:54 -07:00
Terry Howe
2597088a20
Merge pull request #31586 from calvinbui/main
fix: use length check for MetaDependencies instead of nil comparison
2025-12-13 08:20:08 -07:00
Robert Sirchia
4cf7d8d025
Merge pull request #31641 from wangjingcun/main
chore: fix some comments to improve readability
2025-12-12 19:34:20 +01:00
Terry Howe
d28853e206
Merge pull request #31624 from atombrella/feature/sloglint
Some checks are pending
build-test / build (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
golangci-lint / golangci-lint (push) Waiting to run
govulncheck / govulncheck (push) Waiting to run
release / release (push) Waiting to run
release / canary-release (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
Enable the `sloglint` linter
2025-12-12 08:04:45 -07:00
wangjingcun
858cf31583 chore: fix some comments to improve readability
Signed-off-by: wangjingcun <wangjingcun@aliyun.com>
2025-12-12 12:01:35 +08:00
Mads Jensen
a18e59e465 Enable the sloglint linter
Signed-off-by: Mads Jensen <atombrella@users.noreply.github.com>
2025-12-09 08:24:36 +01:00
George Jenkins
3165e5463a
Merge pull request #31528 from benoittgt/31423-git-version
fix: preserve vendor suffixes in KubeVersion.GitVersion
2025-12-08 08:35:56 -08:00
Stephanie Hohenberg
a109ac2f06 fixes comment in install.go
Signed-off-by: Stephanie Hohenberg <stephanie.hohenberg@gmail.com>
2025-12-04 17:47:54 +05:30
Stephanie Hohenberg
2f598ffc85 fixes tests after merge
Signed-off-by: Stephanie Hohenberg <stephanie.hohenberg@gmail.com>
2025-12-03 13:21:25 +05:30
Stephanie Hohenberg
bb9356e182 fixes lint issue
Signed-off-by: Stephanie Hohenberg <stephanie.hohenberg@gmail.com>
2025-12-03 13:18:00 +05:30
Stephanie Hohenberg
8cf4ad73c3 updates tests after rebase from master
Signed-off-by: Stephanie Hohenberg <stephanie.hohenberg@gmail.com>
2025-12-03 13:18:00 +05:30
Stephanie Hohenberg
31131cff9b Add tests to action package to improve coverage
Signed-off-by: Stephanie Hohenberg <stephanie.hohenberg@gmail.com>
2025-12-03 13:17:58 +05:30
Mujib Ahasan
115409976b update: test coverage added for helper function validateNameAndGenerateName
Signed-off-by: Mujib Ahasan <ahasanmujib8@gmail.com>
2025-11-30 22:49:20 +05:30
Mujib Ahasan
522d2fe615 update: helper function added for the business logic
Signed-off-by: Mujib Ahasan <ahasanmujib8@gmail.com>
2025-11-30 22:46:57 +05:30
George Jenkins
dfa1e3c3c5
Merge pull request #31562 from atombrella/feature/modernize
Some checks are pending
build-test / build (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
golangci-lint / golangci-lint (push) Waiting to run
release / release (push) Waiting to run
release / canary-release (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Waiting to run
Use modernize to use newer Golang features.
2025-11-30 06:04:31 -08:00
Benoit Tigeot
45c5f3aaca
Deal with golint warning with private executeShutdownFunc
```
  Error: pkg/action/release_testing.go:60:57: unexported-return: exported method Run returns unexported type action.executeShutdownFunc, which can be annoying to use (revive)
  func (r *ReleaseTesting) Run(name string) (ri.Releaser, executeShutdownFunc, error) {

```

Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
2025-11-27 08:49:18 +01:00
Calvin Bui
b33d4ae0c0
Use length check for MetaDependencies instead of nil comparison
Signed-off-by: Calvin Bui <3604363+calvinbui@users.noreply.github.com>
2025-11-27 16:56:17 +11:00
Benoit Tigeot
70fc5f97e2
Code review
Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
2025-11-26 23:30:10 +01:00
Mujib Ahasan
6769fb6fb6 generateName is also considered in logic
Signed-off-by: Mujib Ahasan <ahasanmujib8@gmail.com>
2025-11-27 00:11:20 +05:30