Yusuke Kuoka
793050cc18
Defer implementing preapply hook start logs to another commit/pr
...
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-09-19 00:44:31 +00:00
Yusuke Kuoka
9e673ca902
Write preapply notice to debug log instead of info
...
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-09-19 00:27:33 +00:00
Yusuke Kuoka
5b1606df75
fixup! Updates based on review comments
...
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-09-19 08:55:44 +09:00
Anton Bretting
3c0456c577
Updates based on review comments
...
Signed-off-by: Anton Bretting <sajfer@gmail.com>
2022-09-19 08:55:44 +09:00
Anton Bretting
1e9cce7d36
Fix lint errors
...
Signed-off-by: Anton Bretting <sajfer@gmail.com>
2022-09-19 08:55:44 +09:00
Anton Bretting
f0b76e9e26
Fixes for updates from rebase
...
Signed-off-by: Anton Bretting <sajfer@gmail.com>
2022-09-19 08:55:44 +09:00
Anton Bretting
fcdd852153
Add unittests for new preapply functions
...
Signed-off-by: Anton Bretting <sajfer@gmail.com>
2022-09-19 08:55:44 +09:00
Anton Bretting
ea56061609
Move preapply code to separate function
...
Signed-off-by: Anton Bretting <sajfer@gmail.com>
2022-09-19 08:55:44 +09:00
Anton Bretting
ca7942c751
Uncomment code that was accidentally commented out
...
Signed-off-by: Anton Bretting <sajfer@gmail.com>
2022-09-19 08:55:44 +09:00
Anton Bretting
eb2419aa15
Remove unnecessary if statement
...
Signed-off-by: Anton Bretting <sajfer@gmail.com>
2022-09-19 08:55:44 +09:00
Anton Bretting
c6e8afd3d0
Remove logic that limits execution of hooks to only once
...
Signed-off-by: Anton Bretting <sajfer@gmail.com>
2022-09-19 08:55:44 +09:00
Anton Bretting
32477e6cf2
Fix merge conflicts
...
Signed-off-by: Anton Bretting <sajfer@gmail.com>
2022-09-19 08:55:44 +09:00
Anton Bretting
db81f18095
Only run preapply or presync
...
Signed-off-by: Anton Bretting <sajfer@gmail.com>
2022-09-19 08:55:44 +09:00
Anton Bretting
1a3c11dffd
Add unittests for preapply
...
Signed-off-by: Anton Bretting <sajfer@gmail.com>
2022-09-19 08:55:44 +09:00
Anton Bretting
4e5987d833
Add preapply hook
...
Signed-off-by: Anton Bretting <sajfer@gmail.com>
2022-09-19 08:55:44 +09:00
yxxhero
0341027bc0
Merge pull request #371 from toVersus/fix/oci-pull-bug
...
fix: add missing untar flag to pull chart from oci registry
2022-09-18 19:36:39 +08:00
Tsubasa Nagasawa
7b40cefdda
fix: add missing untar flag to pull chart from oci registry
...
Signed-off-by: Tsubasa Nagasawa <toversus2357@gmail.com>
2022-09-18 19:11:34 +09:00
yxxhero
18eee1fa47
move interactive option to global ( #370 )
...
Fixes #366
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-09-18 18:47:40 +09:00
Arpan
e1ca846772
added option for --no-hooks for helm diff and apply ( #279 )
...
* added option for --no-hooks for helm diff and apply
Signed-off-by: Arpan Adhikari <kcarpan5@gmail.com>
* test case for --no-hooks
Signed-off-by: Arpan Adhikari <kcarpan5@gmail.com>
* fix test fails
Signed-off-by: Arpan Adhikari <kcarpan5@gmail.com>
* Resolve conflict with main
Signed-off-by: Arpan Adhikari <kcarpan5@gmail.com>
* fixup! Resolve conflict with main
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
* Add no-hooks case for diff test
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
* fixup! Add no-hooks case for diff test
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
Signed-off-by: Arpan Adhikari <kcarpan5@gmail.com>
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
Co-authored-by: Arpan Adhikari <arpan@thephotostudio.com.au>
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-09-18 18:41:27 +09:00
Jean-Yves CAMIER
b8cf0f156e
fix(oci): clean dead code ( #290 )
...
fix(oci): remove dead code
Signed-off-by: Jean-Yves CAMIER <jycamier@gmail.com>
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-09-18 16:34:16 +09:00
Rodrigo Fior Kuntzer
8408b021f0
feat: show live output from the Helm binary ( #286 )
...
* feat: show live output from the Helm binary
Signed-off-by: Rodrigo Fior Kuntzer <rodrigo@miro.com>
* fixup! Merge branch 'main' into enable-live-output
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-09-18 14:24:35 +09:00
KqLLL
0fbcb07bad
Support helm-secrets v4.0.0 ( #360 )
...
Support helm-secret v4.0.0
Signed-off-by: KqLLL <lllkq546449541@gmail.com>
2022-09-17 19:54:28 +09:00
yxxhero
3ff98c02a1
Merge pull request #359 from helmfile/358-incorrect-exit-code
...
Fix incorrent exit code issue introduced in v0.145.0
2022-09-14 08:51:16 +08:00
yxxhero
ade8e81cc1
Merge pull request #342 from helmfile/339-introduction-of-skip-needs-results-in-breaking-change
...
Fix --skip-needs regression introduced in v0.145.0
2022-09-14 08:50:38 +08:00
yxxhero
76bf9952b9
fix incorrent exit code
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-09-13 08:23:55 +08:00
yxxhero
bf323b4021
fixed: fix skip-needs issue
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-09-12 18:04:20 +08:00
Viktor Oreshkin
af52c960f4
chore: list: withPreparedCharts -> skipCharts
...
Signed-off-by: Viktor Oreshkin <imselfish@stek29.rocks>
2022-09-06 09:54:51 +03:00
Viktor Oreshkin
4dd73d4efb
test: move TestListWithJSONOutput to app_list_test
...
Signed-off-by: Viktor Oreshkin <imselfish@stek29.rocks>
2022-09-06 09:48:47 +03:00
Viktor Oreshkin
1838ec0a11
fix: make func names in app_list_test consistent
...
Signed-off-by: Viktor Oreshkin <imselfish@stek29.rocks>
2022-09-06 09:48:17 +03:00
Viktor Oreshkin
ebf0f370a1
fix: add missing concurrency option to List
...
Signed-off-by: Viktor Oreshkin <imselfish@stek29.rocks>
2022-09-06 09:43:56 +03:00
Viktor Oreshkin
f3788249e4
feat: add flag to list to skip prepare
...
Signed-off-by: Viktor Oreshkin <imselfish@stek29.rocks>
2022-09-05 18:12:17 +03:00
Viktor Oreshkin
8b0ad72e77
feat: dont prepare on list
...
This changes list command so it doesn't run withPreparedCharts,
and just lists releases instead
Signed-off-by: Viktor Oreshkin <imselfish@stek29.rocks>
2022-09-05 13:37:00 +03:00
Viktor Oreshkin
822b7b2a9b
feat: honor concurrency in withPreparedCharts
...
Signed-off-by: Viktor Oreshkin <imselfish@stek29.rocks>
2022-09-01 02:08:54 +03:00
yxxhero
9284d1764e
Add --interactive option to sync, delete and destroy / Remove --interactive from global options ( #328 )
...
* add interactive in sync & remove --interactive in global options
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix unittest
Signed-off-by: yxxhero <aiopsclub@163.com>
* same behave as apply when in interactive
Signed-off-by: yxxhero <aiopsclub@163.com>
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-08-28 10:36:07 +09:00
Arkaitz Jimenez
cc33e7b7d8
Introduce Helmfile's own filesystem abstraction to correctly unit test some components ( #307 )
...
Use abstracted FS
Signed-off-by: Arkaitz Jimenez <arkaitzj@gmail.com>
Signed-off-by: Arkaitz Jimenez <arkaitzj@gmail.com>
2022-08-24 12:58:43 +09:00
yxxhero
7972a8921c
Merge pull request #301 from mikelorant/fix/diff-context
...
fix: return diff context config value
2022-08-18 15:09:23 +08:00
Michael Lorant
b616a8b690
fix: return diff output config value
...
Signed-off-by: Michael Lorant <michael.lorant@fairfaxmedia.com.au>
2022-08-18 17:06:31 +10:00
Michael Lorant
86deeb377d
fix: return diff context config value
...
Signed-off-by: Michael Lorant <michael.lorant@fairfaxmedia.com.au>
2022-08-18 16:40:05 +10:00
Arkaitz Jimenez
4553efdcf1
Formatting
...
Signed-off-by: Arkaitz Jimenez <arkaitzj@gmail.com>
2022-08-16 16:25:24 +02:00
Arkaitz Jimenez
684be0af50
Missing context readDir, required for any template using readDir* functions
...
Signed-off-by: Arkaitz Jimenez <arkaitzj@gmail.com>
2022-08-16 16:25:24 +02:00
Yusuke Kuoka
bb056a4ffc
fixup! Merge branch 'main' into update_golang_lint
...
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-08-14 04:06:45 +00:00
Yusuke Kuoka
89950f3794
Merge branch 'main' into update_golang_lint
2022-08-14 12:21:10 +09:00
yxxhero
94b7a6c128
Cleanup pkg/config/config.go ( #287 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-08-14 12:17:02 +09:00
David Ackroyd
cf94a4edb3
Fix Inclusion of Releases for Other Environments ( #276 )
...
Fixing releases being included which do not match the environment
requested, which is a regression introduced by #234 . The issue remains
when Helmfile state values are supplied, which is not a regression and
will be addressed separately.
Partial resolution for #271
Signed-off-by: David Ackroyd <dackroyd@fairfaxmedia.com.au>
Signed-off-by: David Ackroyd <dackroyd@fairfaxmedia.com.au>
2022-08-14 10:47:47 +09:00
yxxhero
8690d63401
fix lint error
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-08-13 07:40:32 +08:00
Vladimir Kuznichenkov
6c1b6f855a
Add file existence check for remove values
...
If remote file isn't present in repo we will add it anyway to the files list and check `if len(files) == 0 {` never will be true. That leads to missing section with `MissingFileHandler`.
That fix check that cloned file actually exists. In that case if we add a link to non-existing remote file `MissingFileHandler` will be called as expected.
Signed-off-by: Vladimir Kuznichenkov <kuzaxak.tech@gmail.com>
2022-08-12 10:01:56 +03:00
yxxhero
6a37ae9650
Add flags about need for lint subcmd ( #273 )
...
* fix typo
Signed-off-by: yxxhero <aiopsclub@163.com>
* add flags about needs for lint subcmd
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-08-08 10:32:30 +09:00
Sergii Iefremov
5ac1e1fb98
feat: fix needs error with context that includes slash
...
Signed-off-by: Sergii Iefremov <sergii.iefremov@axios.com>
2022-08-04 11:18:57 -04:00
yxxhero
9af8f1286a
Merge pull request #254 from vasicvuk/main
...
Implement readDirEntries method
2022-07-27 19:00:38 +08:00
vasicvuk
68d7c5f6a4
Implement readDirEntries method
...
Signed-off-by: vasicvuk <vuk.vasic@asseco-see.rs>
2022-07-26 16:20:38 +02:00