Commit Graph

1187 Commits

Author SHA1 Message Date
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
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>
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>
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
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
Jasstkn 4fa305c38a
fix: build of Dockerfile.ubuntu
Signed-off-by: Jasstkn <mariia.kotliarevskaia@gmail.com>
2022-06-16 09:48:56 +02:00
Jasstkn 724c8eea09
fix: arg helm_version in Dockerfile.ubuntu
Signed-off-by: Jasstkn <mariia.kotliarevskaia@gmail.com>
2022-06-15 15:44:49 +02:00
Jasstkn 2230022ad0
feat(dockerfile): update helm to 3.9.0
Signed-off-by: Jasstkn <mariia.kotliarevskaia@gmail.com>
2022-06-15 15:03:23 +02:00
yxxhero 7183bc5044
Merge pull request #159 from helmfile/dependabot/go_modules/github.com/hashicorp/go-getter-1.6.2
Bump github.com/hashicorp/go-getter from 1.6.1 to 1.6.2
2022-06-15 20:29:17 +08:00
dependabot[bot] a6f1d7c8cf
Bump github.com/hashicorp/go-getter from 1.6.1 to 1.6.2
Bumps [github.com/hashicorp/go-getter](https://github.com/hashicorp/go-getter) from 1.6.1 to 1.6.2.
- [Release notes](https://github.com/hashicorp/go-getter/releases)
- [Changelog](https://github.com/hashicorp/go-getter/blob/main/.goreleaser.yml)
- [Commits](https://github.com/hashicorp/go-getter/compare/v1.6.1...v1.6.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-14 15:37:16 +00:00
yxxhero 21b2248d19
Merge pull request #158 from helmfile/dependabot/go_modules/github.com/variantdev/vals-0.18.0
Bump github.com/variantdev/vals from 0.17.1 to 0.18.0
2022-06-14 08:46:39 +08:00
dependabot[bot] e642094ead
Bump github.com/variantdev/vals from 0.17.1 to 0.18.0
Bumps [github.com/variantdev/vals](https://github.com/variantdev/vals) from 0.17.1 to 0.18.0.
- [Release notes](https://github.com/variantdev/vals/releases)
- [Changelog](https://github.com/variantdev/vals/blob/main/.goreleaser.yml)
- [Commits](https://github.com/variantdev/vals/compare/v0.17.1...v0.18.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 16:00:26 +00:00
yxxhero 1da88b829c
Merge pull request #153 from yxxhero/move_all_subcommand_to_sigle
move all subcommand to sigle file
2022-06-11 16:09:21 +08:00
yxxhero 45283bfcde move all subcommand to sigle file
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-06-10 12:42:31 +08:00
yxxhero ec1661c7ac
Merge pull request #152 from helmfile/dependabot/go_modules/github.com/variantdev/vals-0.17.1
Bump github.com/variantdev/vals from 0.16.2 to 0.17.1
2022-06-10 11:43:49 +08:00
yxxhero d4160ebc59
Merge pull request #141 from helmfile/dependabot/go_modules/github.com/stretchr/testify-1.7.2
Bump github.com/stretchr/testify from 1.7.1 to 1.7.2
2022-06-10 10:37:58 +08:00
yxxhero fb8a7f0bf4
Merge pull request #151 from helmfile/release-automation
Release automation and release build testing
2022-06-10 10:37:40 +08:00
dependabot[bot] 4220f2e3a9
Bump github.com/variantdev/vals from 0.16.2 to 0.17.1
Bumps [github.com/variantdev/vals](https://github.com/variantdev/vals) from 0.16.2 to 0.17.1.
- [Release notes](https://github.com/variantdev/vals/releases)
- [Changelog](https://github.com/variantdev/vals/blob/master/.goreleaser.yml)
- [Commits](https://github.com/variantdev/vals/compare/v0.16.2...v0.17.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-10 02:25:53 +00:00
dependabot[bot] 7a63f8b031
Bump github.com/stretchr/testify from 1.7.1 to 1.7.2
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.1...v1.7.2)

---
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-10 02:25:43 +00:00
yxxhero 261b311af6
Merge pull request #150 from helmfile/go-1.18
Bump module Go version to 1.18
2022-06-10 10:24:26 +08:00
Yusuke Kuoka 0948bbae1c Release automation and release build testing
We will be using this automation which is triggered on every new tag created in this repo for the upcoming helmfile 0.145.0 release.

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-06-10 02:15:40 +00:00
Yusuke Kuoka 4071f6aa99 Bump module Go version to 1.18
Our CI workflows and docker builds already use 1.18 but our go.mod was left with 1.17. This bumps it to 1.18.

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-06-10 02:09:09 +00:00
yxxhero e5e8309ea6
Move diff charts template subcommand to a dedicated source file (#139)
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-06-10 10:24:30 +09:00