xiaomudk
6dcde20d7a
Add subcommand init for checks and installs helmfile deps ( #389 )
...
* Add subcommand init for checks and installs helmfile deps
Signed-off-by: xiaomudk <xiaomudk@gmail.com>
2022-11-03 14:51:30 +08:00
yxxhero
008e92de37
Merge pull request #486 from bmwiedemann/date
...
Allow to override build date with SOURCE_DATE_EPOCH
2022-11-02 19:50:03 +08:00
Bernhard M. Wiedemann
5f2b6994a6
Allow to override build date with SOURCE_DATE_EPOCH
...
in order to make builds reproducible.
See https://reproducible-builds.org/ for why this is good
and https://reproducible-builds.org/specs/source-date-epoch/
for the definition of this variable.
This date call works with different variants of date.
Also use UTC to be independent of timezone.
Signed-off-by: Bernhard M. Wiedemann <bwiedemann@suse.de>
2022-11-02 08:06:44 +08:00
Quan TRAN
e919b4b1d2
fix oci:// chart ( #477 )
...
* fix oci:// chart
Signed-off-by: Quan TRAN <itscaro@users.noreply.github.com>
2022-11-01 13:50:05 +08:00
Nenad Strainovic
3ac0cee50a
Document git for windows env auto-prefix #481 ( #487 )
...
* Document git for windows env auto-prefix #481
Signed-off-by: Nenad Strainovic <nenad.strainovic@asseco-see.rs>
2022-10-31 22:24:06 +08:00
Quan TRAN
414f899c28
use fs.Getwd() to get working dir for sub helmfile ( #471 )
...
* use fs.Getwd() to get working dir for sub helmfile
Signed-off-by: Quan TRAN <itscaro@users.noreply.github.com>
2022-10-29 07:40:40 +08:00
yxxhero
2cf6501d1f
Merge pull request #480 from helmfile/fix_chart_need
...
fix chart needs test issue
2022-10-28 15:06:37 +08:00
yxxhero
2e7261426a
fix chart needs test issue
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-10-28 14:45:24 +08:00
yxxhero
9704180862
Merge pull request #476 from helmfile/qtran/readme
2022-10-27 05:17:12 +08:00
Quan TRAN
4c103073bc
Fix OCI example
2022-10-26 21:34:43 +02:00
yxxhero
d54104d6ec
Merge pull request #470 from helmfile/dependabot/go_modules/github.com/spf13/cobra-1.6.1
2022-10-26 06:43:56 +08:00
dependabot[bot]
dcfc31eca6
build(deps): bump github.com/spf13/cobra from 1.6.0 to 1.6.1
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.6.0...v1.6.1 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-25 16:12:27 +00:00
Quan TRAN
2702161e74
add basepath along with filepath into yaml comment ( #460 )
...
* add basepath along with filepath into yaml comment
Signed-off-by: Quan TRAN <itscaro@users.noreply.github.com>
2022-10-25 17:44:28 +08:00
yxxhero
4a5928e269
Merge pull request #467 from helmfile/qtran/docker-build-wget
...
use curl instead of wget & update helm to 3.10.1
2022-10-25 16:17:57 +08:00
Quan TRAN
7d05ffd098
use curl instead of wget & update helm to 3.10.1
...
Signed-off-by: Quan TRAN <itscaro@users.noreply.github.com>
2022-10-25 07:48:54 +00:00
yxxhero
d4b1b078cf
Merge pull request #465 from helmfile/463-debug-is-not-set-in-helm-template
...
fix --debug flag
2022-10-25 14:36:18 +08:00
yxxhero
f8a297bbac
fix --debug flag
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-10-25 08:24:23 +08:00
yxxhero
9d28e28086
Merge pull request #462 from helmfile/dependabot/go_modules/github.com/stretchr/testify-1.8.1
2022-10-25 07:09:09 +08:00
dependabot[bot]
83868d8db4
build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.0...v1.8.1 )
---
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-10-24 16:01:17 +00:00
yxxhero
dba05f1fdf
Merge pull request #461 from helmfile/fix_cmd_typo
...
fix typo
2022-10-24 20:38:00 +08:00
yxxhero
6be3c11119
fix typo
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-10-24 20:01:13 +08:00
yxxhero
39d0371d15
Merge pull request #458 from helmfile/455-chartify-not-applied-to-needed-releases
...
fix: needs logic in chart stage
2022-10-24 17:49:16 +08:00
yxxhero
bc255f3e51
fix: fix need logic in chart stage
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-10-24 09:51:04 +08:00
Indrek Juhkam
a409b450cd
Add `--skip-refresh` flag to the build command ( #444 )
...
This improves the `helmfile sync` performance.
From the code: `BuildDeps` is used only by `runHelmDepBuilds`, which
only is used by `PrepareCharts` which is finally only used by
`withPreparedCharts`.
`withPreparedCharts` already does `SyncReposOnce` which means we do not
have to refresh the local repository cache on each chart build.
This is only supported in Helm v3.
This seems to be mostly affecting helmfiles which have a lot of releases
and those release charts use sub dependencies.
I saw significant performance improvements for a helmfile with 45
releases, 2 repositories, and most of the charts also had their own
dependencies. Results:
Before the patch:
* real 9m10.565s
* real 9m38.335s
* real 9m14.941s
* real 5m13.106s (with cache)
After the patch:
* real 6m51.965s
* real 6m36.605s
* real 6m31.685s
* real 3m0.271s (with cache)
These were tested with:
```
rm -rf ~/.cache/helmfile ~/.cache/helm ~/.config/helm/repositories.* && helmfile sync ...
```
The result with `(with cache)` was without deleting the caches first.
From these metrics it seems that the sync duration decreased 20-45%
depending on the run, release count, dependencies and if the cache was
used or not.
As far as I understand, this should be backward-compatible change.
Signed-off-by: Indrek Juhkam <indrek@urgas.eu>
Signed-off-by: Indrek Juhkam <indrek@urgas.eu>
2022-10-20 09:03:08 +09:00
yxxhero
f2be4861d5
Merge pull request #441 from helmfile/move_upgrade_notice_env_into_envvar
2022-10-20 05:18:19 +08:00
yxxhero
420f5b2079
Merge pull request #451 from helmfile/445-01470-fails-to-execute-diff
...
fix helmfile diff error in window platform
2022-10-19 18:18:02 +08:00
yxxhero
94cc07cdf2
Merge pull request #446 from helmfile/fix_deps_args
...
fix: fix deps args
2022-10-19 18:15:43 +08:00
yxxhero
38fffad737
Merge pull request #449 from helmfile/fix_issue_path_in_test_on_window
...
fix: issue path in test on windows
2022-10-19 18:15:22 +08:00
yxxhero
62cbeb661d
fix helmfile diff error in window platform
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-10-19 17:50:56 +08:00
yxxhero
61233badd5
fix: issue path in test on windows
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-10-19 08:46:43 +08:00
yxxhero
da2ce574b0
fix: fix deps args
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-10-18 22:01:05 +08:00
yxxhero
ed228c9c7e
move HELMFILE_UPGRADE_NOTICE_DISABLED into envvar file
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-10-15 14:22:51 +08:00
dependabot[bot]
82f0d88d56
build(deps): bump k8s.io/apimachinery from 0.25.2 to 0.25.3 ( #439 )
...
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery ) from 0.25.2 to 0.25.3.
- [Release notes](https://github.com/kubernetes/apimachinery/releases )
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.25.2...v0.25.3 )
---
updated-dependencies:
- dependency-name: k8s.io/apimachinery
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-15 07:52:23 +08:00
dependabot[bot]
48c1e34a07
build(deps): bump helm.sh/helm/v3 from 3.10.0 to 3.10.1 ( #436 )
...
Bumps [helm.sh/helm/v3](https://github.com/helm/helm ) from 3.10.0 to 3.10.1.
- [Release notes](https://github.com/helm/helm/releases )
- [Commits](https://github.com/helm/helm/compare/v3.10.0...v3.10.1 )
---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-14 08:52:29 +08:00
yxxhero
bdaafdff67
feat: add helm-diff and kustomize in ci matrix ( #434 )
...
* feat: add helm-diff and kustomize in ci matrix
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-10-13 08:08:58 +08:00
Rui Chen
ffce09a35f
deps: update dockerfile dependencies ( #421 )
...
* deps: helm 3.10.0
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-10-12 20:41:26 +08:00
yxxhero
97ce31d7c8
Merge pull request #433 from helmfile/dependabot/go_modules/github.com/spf13/cobra-1.6.0
...
build(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.0
2022-10-12 08:02:18 +08:00
dependabot[bot]
b77ccd844e
build(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.0
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.5.0...v1.6.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>
2022-10-11 15:50:08 +00:00
yxxhero
62f0d722cd
Merge pull request #423 from helmfile/fix-preapply-hook
...
Fix preapply hook behavior
2022-10-11 08:54:57 +08:00
Yusuke Kuoka
b7da0965f1
fixup! Address a lint error
...
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-10-11 08:20:51 +08:00
Yusuke Kuoka
ef115ba653
Address a lint error
...
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-10-11 08:20:51 +08:00
Yusuke Kuoka
85bfe64b90
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Fix preapply hook behavior
...
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-10-11 08:20:51 +08:00
Yusuke Kuoka
caee32f7be
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Fix preapply hook behavior
...
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-10-11 08:20:51 +08:00
Yusuke Kuoka
a2d5d82cb6
fixup! fixup! fixup! fixup! fixup! fixup! fixup! Fix preapply hook behavior
...
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-10-11 08:20:51 +08:00
Yusuke Kuoka
3e2285ea72
fixup! fixup! fixup! fixup! fixup! fixup! Fix preapply hook behavior
...
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-10-11 08:20:51 +08:00
Yusuke Kuoka
f7f858cc52
fixup! fixup! fixup! fixup! fixup! Fix preapply hook behavior
...
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-10-11 08:20:51 +08:00
Yusuke Kuoka
95065f8d28
fixup! fixup! fixup! fixup! Fix preapply hook behavior
...
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-10-11 08:20:51 +08:00
Yusuke Kuoka
2ff0969e3b
fixup! fixup! fixup! Fix preapply hook behavior
...
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-10-11 08:20:51 +08:00
Yusuke Kuoka
3a5d9efb20
fixup! fixup! Fix preapply hook behavior
...
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-10-11 08:20:51 +08:00
Yusuke Kuoka
111a248523
fixup! Fix preapply hook behavior
...
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-10-11 08:20:51 +08:00