Commit Graph

63 Commits

Author SHA1 Message Date
Ronny Moreas 58a1f2d079
chore(release): fix condition for latest tag (#823)
Signed-off-by: Ronny Moreas <ronny.moreas@kuleuven.be>
2023-04-22 16:55:04 +08:00
yxxhero 219602ebc7
bump helm to v3.11.3 (#802)
* bump helm to v3.11.3

Signed-off-by: yxxhero <aiopsclub@163.com>
2023-04-13 10:34:58 +08:00
Ronny Moreas 10d640b211
chore(release): add latest tag only on release tags (#766) 2023-03-26 05:12:49 +08:00
Ronny Moreas d34cfaafa1
chore(ci): use `docker/metadata-action` (#756)
* chore(ci): use `docker/metadata-action`

- Replace custom `setup-image-vars` action by `docker/metadata-action`
- Automatically add latest tag on semver tag

Signed-off-by: Ronny Moreas <ronny.moreas@kuleuven.be>

* chore(ci): add image tag on PR

Signed-off-by: Ronny Moreas <ronny.moreas@kuleuven.be>

* chore(ci): cleanup trailing spaces

Signed-off-by: Ronny Moreas <ronny.moreas@kuleuven.be>

* chore(ci): remove `setup-image-vars` action

Signed-off-by: Ronny Moreas <ronny.moreas@kuleuven.be>

---------

Signed-off-by: Ronny Moreas <ronny.moreas@kuleuven.be>
2023-03-20 08:14:51 +08:00
yxxhero 400488d3ae
bump helm to 3.11.2 (#733)
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-03-09 09:00:48 +08:00
yxxhero 2c2bfcf58a
issue with in process label will never be considered stale (#716)
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-02-27 07:28:53 +09:00
yxxhero 37c213210e
bump helm to 3.11.1 (#695) 2023-02-12 20:15:57 +08:00
yxxhero 652628c5ee
Bump Go to 1.20 (#672)
* bump go 1.20

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

* use go-version: ^1.20

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

* bump go 1.20

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

* fix go version

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

* fix go version

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

---------

Signed-off-by: yxxhero <aiopsclub@163.com>
2023-02-04 08:57:52 +08:00
yxxhero cff674b7e9
bump helm to v3.11.0 (#639)
* fix conflicts

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

* fix checksum

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

Signed-off-by: yxxhero <aiopsclub@163.com>
2023-01-21 11:56:03 +09:00
Gaius c3a9d45b55
feat: add paths-ignore to ci.yaml and lint.yaml (#631)
Signed-off-by: Gaius <gaius.qi@gmail.com>

Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-01-17 16:56:36 +08:00
Yusuke Kuoka 4688cf0132
Use gopkg.in/yaml.v2 for Helmfile v0.x (#609)
This should fix #435 for Helmfile v0.x releases since the next v0.150.0.
We introduce a new envvar to opt-in to the new YAML library, so that you can give it a shot before upgrading your Helmfile to v1. The same envvar can be used to opt-out of the new YAML library after you upgrade to Helmfile v1, giving you a more flexible migration story.

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2023-01-04 18:17:24 +09:00
Yusuke Kuoka 8144638bab
feat: Helmfile V1 mode (#594)
* feat: Helmfile V1 mode

We add a new "V1 mode" to Helmfile so that you can seemlessly upgrade Helmfile from the current v0.x to the upcoming v1.0.

The idea is that we build both v0 and v1 binaries from the same tagged commit within the main branch, with different defaults for the "V1 mode"- the V1 mode is disabled by default for v0.x binaries, while it is enabled by default for v1.x binaries.

The V1 mode can be overrode at runtime via envvar. That is, even after upgrading the binary to v1, you will not see any backward-incompatible changes while you explicitly set an envvar, `HELMFILE_V1MODE=true`, at runtime.

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-12-22 20:30:44 +09:00
yxxhero 36c91c5427
optimize lint logic (#586)
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-12-18 08:39:45 +08:00
yxxhero 17b03c22ec
bump helm to v3.10.3 (#579)
Signed-off-by: yxxhero <aiopsclub@163.com>

Signed-off-by: yxxhero <aiopsclub@163.com>
2022-12-15 09:00:22 +08:00
yxxhero 211852cd38
use dyff as yamldiff tool (#542)
Signed-off-by: yxxhero <aiopsclub@163.com>

Signed-off-by: yxxhero <aiopsclub@163.com>
2022-11-27 09:47:09 +09:00
Yusuke Kuoka 445c74c92b
Enhance `make fmt` to cover running gci for golangci-lint compat (#515)
* Enhance `make fmt` to cover running gci for golangci-lint compat

I have been using `make fmt` for formatting code before submitting a pull request. It turned out not to work in some cases where you added a new import because the default go-fmt obviously do not organize imports as the golangci-lint and gci expect.
This fixes that, by adding a gci command to the `make fmt` target.
Please note that this does not cover installing gci. If you need, please submit another pull request to add something like a `make install-gci` and make the `make fmt` depenedent on that target, so that one can get automatic gci installation when running `make fmt` for first time.

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

* We don't need running gci via make on CI as we already run it as part of golangci-lint run

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

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-11-13 16:24:28 +08:00
yxxhero 2324188695 bump: helm to 3.10.2
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-11-11 13:54:35 +08:00
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 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
Yusuke Kuoka 7c98dbb20c Update ci.yaml
Modified the test matrix description for more clarity.

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-10-10 05:55:41 +00:00
Rui Chen f483a09879
deps: build with go1.19
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-10-09 14:30:46 -04:00
yxxhero 65cc3741d2
Update ci.yaml and use helm 3.10.0 (#383)
add helm 3.10.0 in ci

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

Signed-off-by: yxxhero <aiopsclub@163.com>
2022-10-05 11:05:07 +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
yxxhero c828d22a5c
use latest helm in github ci (#367)
Signed-off-by: yxxhero <aiopsclub@163.com>

Signed-off-by: yxxhero <aiopsclub@163.com>
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-09-17 20:39:06 +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 9fe54c72d7 fix github ci matrix config
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-09-13 13:34:42 +08:00
yxxhero 295d54d838 fix tag miss in docker build
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-08-16 09:11:22 +08:00
yxxhero 211b8efebb
Merge pull request #262 from pathob/feature/ubuntu-image-push-and-workflow-refactoring
Refactor 'images' workflow, include Ubuntu image to push
2022-08-15 20:58:29 +08:00
yxxhero 18942e2a2c update golang lint
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-08-12 20:36:09 +08: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
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 ac23def893 add Go lint
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-07-16 20:21:11 +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 a5b7c2b08d
fix bug.yaml (#198)
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-06-30 08:56:05 +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 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
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 83a7245d0f
Enhance the bug report form (#134)
It turned out we lack some important information that is necessary to make it a real bug without guesswork.

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-06-05 16:16:17 +09:00
Quan TRAN 2e58c01ced add helm 3.9 to tests
Signed-off-by: Quan TRAN <account@itscaro.me>
2022-05-23 10:44:57 +02:00
Quan TRAN 30f53b914e
rename stage/job in github actions 2022-05-23 10:15:49 +02:00
Quan TRAN 3b27243ec6
fix typo in github actions 2022-05-23 10:12:47 +02:00
Quan TRAN d9143f55ce
fix image build on tag / main 2022-05-23 10:12:12 +02:00
Yusuke Kuoka 7e2462ed62
Merge pull request #40 from itscaro/qtran/build-tag
build image on tag
2022-05-22 15:25:35 +09:00
austin ce eb3484d4a8
Rename module to github.com/helmfile/helmfile
Also updates a few more references to the roboll/helmfile repository,
where possible.

Signed-off-by: austin ce <austin.cawley@gmail.com>
2022-05-18 10:05:07 -04:00
Quan TRAN d5f37b0e35 build image on tag
Signed-off-by: Quan TRAN <account@itscaro.me>
2022-05-16 17:18:49 +02:00
Quan TRAN b9a69696ac Create dependabot.yml
Signed-off-by: Quan TRAN <account@itscaro.me>
2022-04-21 23:10:05 +02:00
Quan TRAN dad58533b5 (test) update helm to 3.8.2
Signed-off-by: Quan TRAN <account@itscaro.me>
2022-04-14 10:13:24 +02:00
Quan TRAN 86c9a1ae3d
Fix canary image publication 2022-04-14 10:04:26 +02:00
Quan TRAN a4555f34ff test build image without publication
Signed-off-by: Quan TRAN <account@itscaro.me>
2022-04-06 11:30:10 +02:00