Commit Graph
1205 Commits
Author SHA1 Message Date
Tsubasa Nagasawa 7141003106 feat: bump chartify to v0.10.0 to support OCI registry for adhoc dependencies
Signed-off-by: Tsubasa Nagasawa <toversus2357@gmail.com>

This adds OCI registry support for adhoc dependencies.
The users can now add their OCI hosted charts as dependencies to helm releases:

* Bump chartify version to v0.10.0
* Add an example helmfile to advanced usage section
2022-07-18 15:58:39 +09:00
yxxhero b3f4b78cd9 update Readmd.md (#236)
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-07-18 14:06:25 +09:00
yxxhero 122cb25b6a Merge pull request #237 from helmfile/bug-report-improvement-working-ver
Include the working helmfile ver in the bug report
2022-07-18 11:46:25 +08:00
Yusuke Kuoka 866f424578 Include the working helmfile ver in the bug report
so that it might be even more clear if the reported problem has been introduced by the prev release or a long-standing one which existed for longer time period.

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-07-18 03:06:11 +00:00
yxxhero f00a8194e0 Merge pull request #169 from yxxhero/add_golang_ci
add Go lint
2022-07-16 20:43:25 +08:00
yxxhero ac23def893 add Go lint
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-07-16 20:21:11 +08:00
Yusuke Kuoka cc13492623 Merge pull request #201 from magicmemories/fix/helm-secrets-view
fix: use helm secrets view rather than helm secrets dec to decrypt
2022-07-16 21:04:48 +09:00
yxxhero 1d61d7d3e7 Merge pull request #224 from helmfile/update_readme_about_image_repo
update readme about image repo and fix link error
2022-07-14 09:45:19 +08:00
yxxhero 95c444a6cd fix readme.md and index.md for doc link
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-07-14 09:27:16 +08:00
yxxhero 4e49ed9a1f Merge pull request #228 from lemeurherve/patch-1
fix(doc): add missing version field in the release template example
2022-07-14 06:36:54 +08:00
Hervé Le Meur 9e3f0a3ba3 fix(doc): add missing version in the release template example
Signed-off-by: Hervé Le Meur <hlemeur@cloudbees.com>
2022-07-13 17:45:11 +02:00
yxxhero 008f4906aa Merge pull request #217 from helmfile/fix_doc
Fix doc link error and style error
2022-07-12 07:33:46 +08:00
yxxhero 65fae9c52c Merge pull request #183 from helmfile/dependabot/go_modules/github.com/hashicorp/go-version-1.6.0
Bump github.com/hashicorp/go-version from 1.4.0 to 1.6.0
2022-07-11 13:35:48 +08:00
Adam Gardner a93661d382 chore: remove obsolete exemption of os.PathError in test case
Signed-off-by: Adam Gardner <adam.gardner@magicmemories.com>
2022-07-10 09:15:18 -10:00
Radon Rosborough de6a9aeebf Fix Test_DecryptSecretWithGotmpl
Signed-off-by: Radon Rosborough <rrosborough@plaid.com>
2022-07-07 16:26:33 -10:00
Radon Rosborough c1eb7f0623 Fix Test_DecryptSecret
Signed-off-by: Radon Rosborough <rrosborough@plaid.com>
2022-07-07 16:26:33 -10:00
Adam Gardner 74c1f9e9a0 fix: use helm secrets view rather than helm secrets dec to decrypt
Signed-off-by: Adam Gardner <adam.gardner@magicmemories.com>

chore: fix test case broken by change of helm subcommand

Signed-off-by: Adam Gardner <adam.gardner@magicmemories.com>
2022-07-07 16:26:12 -10:00
yxxhero f0662f2ebe fix docs site issue
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-07-08 08:36:02 +08:00
yxxhero fba8b63eac fix link issue for paths.md
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-07-07 13:42:14 +08:00
yxxhero 603d305194 fix paths.md link error
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-07-07 13:36:16 +08:00
yxxhero 96174e4229 Merge pull request #214 from helmfile/fix_deps_update_issue
Fix helmfile-deps issue that it is unable to find the chartify output
v0.145.2
2022-07-06 08:54:14 +08:00
yxxhero 9179cfb55f fix deps issue
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-07-06 08:37:19 +08:00
yxxhero 31d3d3fad7 Merge pull request #212 from helmfile/mumoshu-patch-1
The image publishing workflow should trigger on version tags
2022-07-05 21:01:25 +08:00
Yusuke Kuoka 1e5d309e68 The image publishing workflow should trigger on version tags
Ref https://github.com/helmfile/helmfile/discussions/211
2022-07-05 21:29:09 +09:00
yxxhero 9b0293d9ea fix within func issue (#209)
Signed-off-by: yxxhero <aiopsclub@163.com>
v0.145.1
2022-07-05 17:50:43 +09:00
yxxhero ae5e93d71d Merge pull request #200 from magicmemories/fix/invalid-path-on-windows
Fix/invalid path on windows
2022-06-30 14:00:07 +08:00
Adam Gardner e106d105ce Don't make unnecessary whitespace changes
Signed-off-by: Adam Gardner <adam.gardner@magicmemories.com>
2022-06-29 15:06:40 -10:00
Adam Gardner a81c8fa4e1 chore: rename test so that snapshot data lives at valid path on all filesystems
Signed-off-by: Adam Gardner <adam.gardner@magicmemories.com>
2022-06-29 15:06:40 -10:00
Eng Zer Jun ce3b81e2a1 test: use T.Setenv to set env vars in tests (#189)
This commit replaces `os.Setenv` with `t.Setenv` in tests. The
environment variable is automatically restored to its original value
when the test and all its subtests complete.

Reference: https://pkg.go.dev/testing#T.Setenv
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-06-30 09:15:34 +09:00
yxxhero a5b7c2b08d fix bug.yaml (#198)
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-06-30 08:56:05 +09:00
yxxhero bf3ce285ec Merge pull request #188 from helmfile/dependabot/go_modules/github.com/stretchr/testify-1.8.0
Bump github.com/stretchr/testify from 1.7.5 to 1.8.0
2022-06-30 07:32:41 +08:00
dependabot[bot] e0e49813f2 Bump github.com/stretchr/testify from 1.7.5 to 1.8.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.5 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.5...v1.8.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-29 15:34:47 +00:00
dependabot[bot] 367b5bbc9b Bump github.com/spf13/cobra from 1.4.0 to 1.5.0 (#175)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.4.0...v1.5.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
v0.145.0
2022-06-29 20:35:11 +09:00
yxxhero 5bd5f72170 add unittest for text_renderer.go (#168)
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-06-29 20:33:15 +09:00
dependabot[bot] c9cc2556be Bump github.com/hashicorp/go-version from 1.4.0 to 1.6.0
Bumps [github.com/hashicorp/go-version](https://github.com/hashicorp/go-version) from 1.4.0 to 1.6.0.
- [Release notes](https://github.com/hashicorp/go-version/releases)
- [Changelog](https://github.com/hashicorp/go-version/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/go-version/compare/v1.4.0...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-version
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-28 15:51:03 +00:00
yxxhero c85a085e4d Merge pull request #180 from helmfile/dependabot/go_modules/github.com/stretchr/testify-1.7.5
Bump github.com/stretchr/testify from 1.7.4 to 1.7.5
2022-06-25 08:13:08 +08:00
dependabot[bot] 9671bfb2ab Bump github.com/stretchr/testify from 1.7.4 to 1.7.5
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.4 to 1.7.5.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.4...v1.7.5)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-24 15:39:04 +00:00
yxxhero 505fff245c Merge pull request #179 from jduepmeier/update-dockerfile
Update alpine base image to 3.16
2022-06-24 16:01:43 +08:00
Jan Düpmeier b4b0763cdf Update alpine base image to 3.16
Signed-off-by: Jan Düpmeier <j.duepmeier@googlemail.com>
2022-06-24 09:33:56 +02:00
yxxhero 219671b54c Merge pull request #176 from helmfile/dependabot/go_modules/github.com/stretchr/testify-1.7.4
Bump github.com/stretchr/testify from 1.7.3 to 1.7.4
2022-06-24 07:48:30 +08:00
dependabot[bot] fae23fe380 Bump github.com/stretchr/testify from 1.7.3 to 1.7.4
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.3 to 1.7.4.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.3...v1.7.4)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-23 23:31:45 +00:00
yxxhero 91aea33350 Merge pull request #177 from kobtea/fix/typo
Fix typo in README
2022-06-24 07:30:16 +08:00
Hiroaki Kobayashi 26e0a4a482 Fix typo in README
Signed-off-by: Hiroaki Kobayashi <kobtea9696@gmail.com>
2022-06-23 23:48:22 +09:00
yxxhero 3f48b295d3 update Readme.md (#170)
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-06-21 10:55:01 +09:00
yxxhero 1996304880 fix ci test error (#167)
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-06-21 10:53:19 +09:00
yxxhero 3bf4744049 Merge pull request #172 from helmfile/dependabot/go_modules/github.com/stretchr/testify-1.7.3
Bump github.com/stretchr/testify from 1.7.2 to 1.7.3
2022-06-21 08:47:44 +08:00
dependabot[bot] 7cc23f1ee8 Bump github.com/stretchr/testify from 1.7.2 to 1.7.3
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.2...v1.7.3)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 15:44:07 +00:00
Yusuke Kuoka fc306ec3d1 Make a few helmfile sub-commands consistently support needs-related flags (#78)
* Make a few helmfile sub-commands to consistently support needs-related flags

* helmfile-diff adds support for --include-transitive-needs
* helmfile-template adds support for --skip-needs
* helmfile-lint adds support for --skip-needs, --include-needs, and --include-transitive-needs

Ref https://github.com/roboll/helmfile/issues/2055

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>

* Fix a few helmfile-lint needs related bugs and add tests

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>

* Is include-transitive-needs realy working as intended? 🤔

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>

* Confirm that it does fail on unselected need by default

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>

* Add missing testdata

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>

* Test helmfile-template for include/skip needs support

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>

* Fix a few terms

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>

* Add more tests to better know the current helmfile-diff behavior around needs

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>

* Fix failing tests

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>

* Fix helmfile-diff to consistently handle skip/include-needs

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>

* Extract testhelper.RequireLog for reusing

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>

* Fix all bugs and test cases for TestDiff and TestDiff_2

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>

* Fix TestDiff_2

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>

* Fix TestDiff

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>

* Fix TestDiffWithNeeds

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>

* Unify behavior on including disabled releases as needs for lint and template

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>

* Fix bug that --include-transitive-needs does not imply include-needs

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-06-20 07:19:39 +09:00
yxxhero 3e60f72d1f docker build test on ci (#164)
* docker build test on ci

Signed-off-by: yxxhero <aiopsclub@163.com>

* fix issue

Signed-off-by: yxxhero <aiopsclub@163.com>

* fix issue

Signed-off-by: yxxhero <aiopsclub@163.com>
2022-06-18 18:13:32 +09:00
yxxhero 092c4ed671 Merge pull request #163 from Jasstkn/bump-helm-3.9.0
feat(dockerfile): update helm to 3.9.0
2022-06-16 16:00:36 +08:00