Commit Graph

1600 Commits

Author SHA1 Message Date
yxxhero 8c4a122be4
Merge pull request #282 from AnatolyRugalev/patch-1
Update ArchLinux installation instructions
2022-08-14 07:49:05 +08:00
Anatoly Rugalev 75aa0e5a21 Update ArchLinux installation instructions
Signed-off-by: Anatoly Rugalev <anatoly.rugalev@gmail.com>
2022-08-14 01:46:55 +02:00
yxxhero 8690d63401 fix lint error
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-08-13 07:40:32 +08:00
yxxhero 18942e2a2c update golang lint
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-08-12 20:36:09 +08:00
yxxhero f309dc3332
Merge pull request #284 from kuzaxak/skip_missing_remote_secrets
Add file existence check for remote values
2022-08-12 15:41:38 +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
Patrick Hobusch bbf790247b Refactor 'images' workflow, include Ubuntu image to push
Until now, the 'images' workflow was separated into two different jobs,
one for just building the images in e.g. pull requests and the other
one for building and pushing the images e.g. after a merge to the 'main'
branch, which resulted in code repetitions. Also, both jobs used
different approaches, one (build) using a 'matrix strategy' based on
the file name of the Dockerfile, the other one (build and push) having a
seperate build and push step for each Dockerfile.

With this change, both jobs have been unified into a single "build and
optionally push" job to remove the repetitions, which now also shares
the same approach - a matrix strategy based on the file names of the
Dockerfiles.

The package naming now follows a clear schema based on the file name of
the Dockerfile. 'Dockerfile' will result in a 'helmfile' package,
'Dockerfile.ubuntu' will result in a 'helmfile-ubuntu' package and so
on. In order to keep the 'helmfile-debian-stable-slim' image package
name, the 'Dockerfile.debian' had to be renamed to
'Dockerfile.debian-stable-slim' accordingly.

Furthermore, the evaluation of the condition whether a push is intended
(or not) has been moved directly to the 'push' flag of the
'docker/build-push-action'.

Signed-off-by: Patrick Hobusch <patrick.hobusch@gmail.com>
2022-08-10 09:01:37 +02:00
yxxhero 86bfb5689a
Merge pull request #280 from helmfile/dependabot/go_modules/go.uber.org/zap-1.22.0
build(deps): bump go.uber.org/zap from 1.21.0 to 1.22.0
2022-08-10 07:15:33 +08:00
dependabot[bot] 13bac519d0
build(deps): bump go.uber.org/zap from 1.21.0 to 1.22.0
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.21.0 to 1.22.0.
- [Release notes](https://github.com/uber-go/zap/releases)
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber-go/zap/compare/v1.21.0...v1.22.0)

---
updated-dependencies:
- dependency-name: go.uber.org/zap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-09 15:35:45 +00:00
yxxhero 2cb4bdba1a
Merge pull request #274 from helmfile/fix_cobra_flag_default_value
Refactor cobra flag default values for readability
2022-08-08 09:55:21 +08:00
Yusuke Kuoka eabf360fe8
Merge branch 'main' into fix_cobra_flag_default_value 2022-08-08 10:35:32 +09:00
yxxhero 5d0a5671f2
fix go.mod (#275)
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-08-08 10:35:02 +09: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
yxxhero 7488d7513e
Merge pull request #230 from helmfile/dependabot/go_modules/k8s.io/apimachinery-0.24.3
Bump k8s.io/apimachinery from 0.23.4 to 0.24.3
2022-08-06 16:54:16 +08:00
yxxhero 8beb69d08e fix cobra flag default value
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-08-06 15:04:34 +08:00
yxxhero 005ce66afa
Merge pull request #268 from axioscode/serge/fix-context-slash
fix: needs error with context that includes slash
2022-08-05 07:14:25 +08: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 913a22e9aa
update doccs/index.md about CLI ref (#264)
* update doccs/index.md about CLI ref

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

* update docs/index.md about Getting Started

Signed-off-by: yxxhero <aiopsclub@163.com>
2022-08-03 10:59:44 +09:00
yxxhero 329ec766fe
Merge pull request #266 from jouve/jouve-patch-1
remove selector override in cmd/apply
2022-08-01 17:35:07 +08:00
Cyril Jouve a405a52609 remove selector override in cmd/apply
Signed-off-by: Cyril Jouve <jv.cyril@gmail.com>
2022-08-01 11:19:42 +02: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
yxxhero 4e9b99d10e
Merge pull request #258 from xiaomudk/patch-4
fix: OCI Url and Version parse error
2022-07-23 21:14:04 +08:00
xiaomudk 59ffa687df fix: OCI Url and Version parse error
Signed-off-by: xiaomudk <xiaomudk@gmail.com>
2022-07-23 20:52:32 +08:00
yxxhero 70d2dd653b
Merge pull request #257 from xiaomudk/patch-2
test: Add unit tests for ChartPull
2022-07-23 18:53:48 +08:00
xiaomudk cf62499d4a test: Add unit tests for ChartPull
Signed-off-by: xiaomudk <xiaomudk@gmail.com>
2022-07-23 18:41:59 +08:00
yxxhero 72579d9386
Merge pull request #256 from xiaomudk/patch-1
test: Add unit tests for ChartExport
2022-07-23 17:36:56 +08:00
xiaomudk 70fd920384 test: Add unit tests for ChartExport
Signed-off-by: xiaomudk <xiaomudk@gmail.com>
2022-07-23 16:32:09 +08:00
yxxhero 6dc1736f15
Merge pull request #250 from jouve/fix-cli
revert environment long option from --env to --environment
2022-07-22 06:49:47 +08:00
yxxhero 7417da6d98
Merge pull request #252 from jouve/fix-help
correct --help cli arg regression
2022-07-22 06:29:22 +08:00
Cyril Jouve a97ff87fa1
correct --help cli arg regression
Signed-off-by: Cyril Jouve <jv.cyril@gmail.com>
2022-07-21 19:08:08 +02:00
Cyril Jouve a4dee77430
revert --env long option to --environment
Signed-off-by: Cyril Jouve <jv.cyril@gmail.com>
2022-07-21 18:47:52 +02:00
yxxhero d27765148e
Merge pull request #245 from helmfile/local-chart-repo-server-integration-test
E2E helmfile-template testing with local chart repo server
2022-07-20 21:47:25 +08:00
Yusuke Kuoka 098684c136 E2E helmfile-template testing with local chart repo server
This similar to #239, but different in that it involves a local helm chart repo server instead of a local OCI registry as the container of the chart used in tests.

This also adds a new `localChartRepoServer.enabled` config to the `config.yaml` of each test case directory to enable the local helm repo server in the test, which might be useful when you want to add another test case that involes a remote chart(which is hosted in the local chart repo server).

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-07-20 11:59:32 +00:00
dependabot[bot] 5e0368451e
Bump k8s.io/apimachinery from 0.23.4 to 0.24.3
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) from 0.23.4 to 0.24.3.
- [Release notes](https://github.com/kubernetes/apimachinery/releases)
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.23.4...v0.24.3)

---
updated-dependencies:
- dependency-name: k8s.io/apimachinery
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-19 12:07:55 +00:00
yxxhero 85ade797ab
Use cobra (#234)
switch to cobra

Signed-off-by: yxxhero <aiopsclub@163.com>
2022-07-19 21:06:18 +09:00
yxxhero 35453566df
Merge pull request #240 from xiaomudk/doc
doc: getting start adds repositories configuration
2022-07-19 10:29:57 +08:00
xiaomudk cdea0ff080 doc: getting start adds repositories configuration
Signed-off-by: xiaomudk <xiaomudk@gmail.com>
2022-07-19 10:28:01 +08:00
yxxhero 3a5d4cb62f
Merge pull request #241 from toVersus/test/cleanup-snapshot
chore: clean up snapshot test
2022-07-19 06:48:46 +08:00
Tsubasa Nagasawa ac1edafe9a
chore: clean up snapshot test
Signed-off-by: Tsubasa Nagasawa <toversus2357@gmail.com>
2022-07-19 00:08:09 +09:00
yxxhero 93b1ac2b19
Merge pull request #239 from helmfile/local-oci-integration-test
Add integration test for #238 with local docker registry as a OCI-based helm chart repo
2022-07-18 22:32:06 +08:00
Yusuke Kuoka 48ae800f79 Add integration test with local oci repo
Follow-up for #238

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-07-18 13:43:01 +00:00
yxxhero eb0415b139
Merge pull request #162 from helmfile/qtran/version-dev
on canary build, version should show "0.0.0-dev"
2022-07-18 19:25:13 +08:00
Quan TRAN 9884e4fdb1 (fix) path on windows
ci
on canary build, version should show "0.0.0-dev"

Signed-off-by: Quan TRAN <account@itscaro.me>
2022-07-18 11:07:58 +02:00
yxxhero a4b914abc7
Merge pull request #238 from toVersus/feat/bump-chartify-v0.10.0
feat: bump chartify to v0.10.0 to support OCI registry for adhoc dependencies
2022-07-18 16:12:53 +08:00
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