SHA256
1
0
forked from pool/helmfile
helmfile/helmfile.spec

72 lines
2.3 KiB
RPMSpec
Raw Normal View History

#
# spec file for package helmfile
#
Accepting request 1060489 from home:manfred-h:devel:kubic - Update to version 0.150.0: New features: * We introduced a new Helmfile V1 mode that can be enabled via an environment variable and a build flag. It allows you to build a Helmfile V1 binary from the same source tree and even enabling the V1 mode at runtime via an environment variable: HELMFILE_V1MODE=true * The new V1 mode and upcoming Helmfile v1 releases have some breaking changes like the .gotmpl extension is required to let Helmfile render the helmfile.yaml as a template. See the V1 proposal for more information. * We also reverted our YAML library to gopkg.in/yaml.v2 and introduced goccy/go-yaml for the Helmfile V1 mode. You can opt-in for the V1 mode or enable the new YAML library via environment variables: HELMFILE_GOCCY_GOYAML=true. Please note that the default yaml parser disables yaml overwrite feature. * If you've been struggling with managing and repeating common fields across releases, or worked-around that by either leveraging helmfile templates(not release templates) or layering values and valuesTemplate (although it wasn't the intended usage), the new inherit field would be handy. It allows you to layer any number of release templates. * The last and most important change is that we finally dropped the Helm v2 support! Helm v2 has been unmaintained since 2020, and no one should be using it anymore. What's Changed: * Clarify postsync hooks docs by @felipecrs in #585 * optimize lint logic by @yxxhero in #586 * use yaml v3 UnmarshalYAML by @yxxhero in #587 * doc: Remove HELMFILE_SKIP_INSECURE_TEMPLATE_FUNCTIONS in Helmfile v1 by @mumoshu in #590 * Add helmfile state validate policy by @yxxhero in #592 * add goreportcard by @yxxhero in #595 * feat: Helmfile V1 mode by @mumoshu in #594 * Re: Strict helmfile.yaml file ext when rendered as template by @mumoshu in #599 * Re: Remove deprecated args and cmd for v1.0.0 by @mumoshu in #598 * Sops and gpg command by @metajiji in #597 * Use goccy/go-yaml for v1 / Prep bringing back go-yaml v2 for v0.x by @mumoshu in #604 * fix env value lost in environment values by @yxxhero in #605 * Fix cryptic message on values template render error by @mumoshu in #607 * feat: inherit field for release template inheritance by @mumoshu in #606 * Use gopkg.in/yaml.v2 for Helmfile v0.x by @mumoshu in #609 * build(deps): bump golang.org/x/term from 0.3.0 to 0.4.0 by @dependabot in #616 * build(deps): bump gitpython from 3.1.27 to 3.1.30 in /docs by @dependabot in #618 * Enhance tpl func test by @yxxhero in #619 * feat: mark deprecated args and cmd for v1 by @yxxhero in #628 * fix fetch does not work with kustomized releases by @xiaomudk in #624 * Drop Helm v2 support by @xiaomudk in #613 * Reset values flag by @kkoralsky in #602 OBS-URL: https://build.opensuse.org/request/show/1060489 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/helmfile?expand=0&rev=74
2023-01-23 19:20:49 +01:00
# Copyright (c) 2023 SUSE LLC
# 2021 Manfred Hollstein <manfred.h@gmx.net>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Accepting request 1119974 from home:manfred-h:devel:kubic - Update to version 0.158.0: What's Changed * feat: add an option to set a custom kustomize binary by @alessiodionisi in #1012 * feat: bump helm to 3.13.0 by @yxxhero in #1044 * feat: skip deps when installed is false by @yxxhero in #1054 * feat: add duration to failed releases summary by @felipecrs in #1066 * feat: bump helm version to 3.13.1 of tests by @yxxhero in #1068 * feat: support most remote urls by @xiaomudk in #1061 * Add diffArgs to helmDefaults by @yktakaha4 in #1019 * Fix symlink behaviour by @reegnz in #1020 * fix: security/dependabot/33 by @yxxhero in #1025 * by @lucasfcnunes in #1028 * optimize OCI chart version check by @yxxhero in #1052 * optimize flag logic about wait by @yxxhero in #1051 * doc: remote Environment values support more protocols by @xiaomudk in #1089 * add more tests for Desired func by @yxxhero in #1082 * upgrade helm in dockerfile images by @jouve in #1067 * replace all mozilla/sops with getsops/sops * test: fix running tests locally by @felipecrs in #1088 * build(deps): bump docker/login-action from 2 to 3 by @dependabot in #1018 * build(deps): bump docker/metadata-action from 4 to 5 by @dependabot in #1017 * build(deps): bump docker/build-push-action from 4 to 5 by @dependabot in #1016 * build(deps): bump docker/setup-qemu-action from 2 to 3 by @dependabot in #1015 * build(deps): bump goreleaser/goreleaser-action from 4 to 5 by @dependabot in #1014 * build(deps): bump docker/setup-buildx-action from 2 to 3 by @dependabot in #1022 * build(deps): bump go.uber.org/zap from 1.25.0 to 1.26.0 by @dependabot in #1032 * build(deps): bump github.com/goccy/go-yaml from 1.11.0 to 1.11.2 by @dependabot in #1031 * build(deps): bump golang.org/x/term from 0.11.0 to 0.12.0 by @dependabot in #1033 * build(deps): bump helm.sh/helm/v3 from 3.12.3 to 3.13.0 by @dependabot in #1045 * build(deps): bump github.com/cyphar/filepath-securejoin from 0.2.3 to 0.2.4 by @dependabot in #1026 * build(deps): bump github.com/helmfile/vals from 0.27.1 to 0.28.0 by @dependabot in #1048 * build(deps): bump golang.org/x/term from 0.12.0 to 0.13.0 by @dependabot in #1055 * build(deps): bump golang.org/x/sync from 0.3.0 to 0.4.0 by @dependabot in #1056 * build(deps): bump github.com/hashicorp/go-getter from 1.7.2 to 1.7.3 by @dependabot in #1058 * build(deps): bump gitpython from 3.1.35 to 3.1.37 in /docs by @dependabot in #1059 * build(deps): bump github.com/google/go-cmp from 0.5.9 to 0.6.0 by @dependabot in #1060 * build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 by @dependabot in #1063 * build(deps): bump helm.sh/helm/v3 from 3.13.0 to 3.13.1 by @dependabot in #1065 * build(deps): bump github.com/helmfile/vals from 0.28.0 to 0.28.1 by @dependabot in #1071 * build(deps): bump github.com/aws/aws-sdk-go from 1.44.251 to 1.45.27 by @dependabot in #1076 * build(deps): bump github.com/aws/aws-sdk-go from 1.45.27 to 1.45.28 by @dependabot in #1083 * build(deps): bump k8s.io/apimachinery from 0.28.2 to 0.28.3 by @dependabot in #1084 * build(deps): bump github.com/aws/aws-sdk-go from 1.45.28 to 1.46.0 by @dependabot in #1085 - Use go1.21 for building. - Bump helm to v3.13.1 OBS-URL: https://build.opensuse.org/request/show/1119974 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/helmfile?expand=0&rev=90
2023-10-24 14:21:48 +02:00
%define git_commit 9596790a51f9a2c32b66c44cd8b9850c4aa2d7ef
Name: helmfile
Accepting request 1119974 from home:manfred-h:devel:kubic - Update to version 0.158.0: What's Changed * feat: add an option to set a custom kustomize binary by @alessiodionisi in #1012 * feat: bump helm to 3.13.0 by @yxxhero in #1044 * feat: skip deps when installed is false by @yxxhero in #1054 * feat: add duration to failed releases summary by @felipecrs in #1066 * feat: bump helm version to 3.13.1 of tests by @yxxhero in #1068 * feat: support most remote urls by @xiaomudk in #1061 * Add diffArgs to helmDefaults by @yktakaha4 in #1019 * Fix symlink behaviour by @reegnz in #1020 * fix: security/dependabot/33 by @yxxhero in #1025 * by @lucasfcnunes in #1028 * optimize OCI chart version check by @yxxhero in #1052 * optimize flag logic about wait by @yxxhero in #1051 * doc: remote Environment values support more protocols by @xiaomudk in #1089 * add more tests for Desired func by @yxxhero in #1082 * upgrade helm in dockerfile images by @jouve in #1067 * replace all mozilla/sops with getsops/sops * test: fix running tests locally by @felipecrs in #1088 * build(deps): bump docker/login-action from 2 to 3 by @dependabot in #1018 * build(deps): bump docker/metadata-action from 4 to 5 by @dependabot in #1017 * build(deps): bump docker/build-push-action from 4 to 5 by @dependabot in #1016 * build(deps): bump docker/setup-qemu-action from 2 to 3 by @dependabot in #1015 * build(deps): bump goreleaser/goreleaser-action from 4 to 5 by @dependabot in #1014 * build(deps): bump docker/setup-buildx-action from 2 to 3 by @dependabot in #1022 * build(deps): bump go.uber.org/zap from 1.25.0 to 1.26.0 by @dependabot in #1032 * build(deps): bump github.com/goccy/go-yaml from 1.11.0 to 1.11.2 by @dependabot in #1031 * build(deps): bump golang.org/x/term from 0.11.0 to 0.12.0 by @dependabot in #1033 * build(deps): bump helm.sh/helm/v3 from 3.12.3 to 3.13.0 by @dependabot in #1045 * build(deps): bump github.com/cyphar/filepath-securejoin from 0.2.3 to 0.2.4 by @dependabot in #1026 * build(deps): bump github.com/helmfile/vals from 0.27.1 to 0.28.0 by @dependabot in #1048 * build(deps): bump golang.org/x/term from 0.12.0 to 0.13.0 by @dependabot in #1055 * build(deps): bump golang.org/x/sync from 0.3.0 to 0.4.0 by @dependabot in #1056 * build(deps): bump github.com/hashicorp/go-getter from 1.7.2 to 1.7.3 by @dependabot in #1058 * build(deps): bump gitpython from 3.1.35 to 3.1.37 in /docs by @dependabot in #1059 * build(deps): bump github.com/google/go-cmp from 0.5.9 to 0.6.0 by @dependabot in #1060 * build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 by @dependabot in #1063 * build(deps): bump helm.sh/helm/v3 from 3.13.0 to 3.13.1 by @dependabot in #1065 * build(deps): bump github.com/helmfile/vals from 0.28.0 to 0.28.1 by @dependabot in #1071 * build(deps): bump github.com/aws/aws-sdk-go from 1.44.251 to 1.45.27 by @dependabot in #1076 * build(deps): bump github.com/aws/aws-sdk-go from 1.45.27 to 1.45.28 by @dependabot in #1083 * build(deps): bump k8s.io/apimachinery from 0.28.2 to 0.28.3 by @dependabot in #1084 * build(deps): bump github.com/aws/aws-sdk-go from 1.45.28 to 1.46.0 by @dependabot in #1085 - Use go1.21 for building. - Bump helm to v3.13.1 OBS-URL: https://build.opensuse.org/request/show/1119974 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/helmfile?expand=0&rev=90
2023-10-24 14:21:48 +02:00
Version: 0.158.0
Release: 0
Summary: Deploy Kubernetes Helm Charts
License: MIT
Group: Development/Languages/Other
Accepting request 991211 from home:manfred-h:devel:kubic - Update to version 0.145.2: * The image publishing workflow should trigger on version tags by @mumoshu in #212 * Fix helmfile-deps issue that it is unable to find the chartify output by @yxxhero in #214 - Update to version 0.145.1: * Bump github.com/stretchr/testify from 1.7.5 to 1.8.0 by @dependabot in #188 * fix bug.yaml by @yxxhero in #198 * test: use T.Setenv to set env vars in tests by @Juneezee in #189 * Fix/invalid path on windows by @philomory in #200 * fix within func issue by @yxxhero in #209 - Update to version 0.145.0: * Add an issue form for bug report by @mumoshu in #4 * remove ioutil usage in all project by @yxxhero in #5 * add unittest for formatters.go by @yxxhero in #9 * mv captureStdout as public func by @yxxhero in #13 * [test] update helm 3.8.0 to 3.8.1 by @itscaro in #16 * add unittest for load_opts.go by @yxxhero in #11 * bump go 1.18 & remove .circleci by @itscaro in #2 * update args_test.go unittest by @yxxhero in #17 * add unittest for RequiredEnv func by @yxxhero in #18 * Update badge to reflect Github Action status by @itscaro in #19 * [fix] unclosed file stream when creating temporary decrypted files by @itscaro in #20 * [fix] bump go 1.18 & optional TAG definition in makefile by @itscaro in #21 * Bump go-getter to 1.5.11 by @mumoshu in #25 * [Dockerfile] only use image alpine for compilation, add sops & age to pre-built image, remove helm v2 image by @itscaro in #28 * (fix) typo in state.go by @yxxhero in #32 * fix output-dir issue by @yxxhero in #31 * (fix) chartify process when chart path is absolute by @itscaro in #22 * Fix non-existent custom temp dir by @itscaro in #37 * Redact sensitive informations like password in chart url by @dol in #34 * Fix helmfile deps not to remove entries for charts that are being chartified by @mumoshu in #23 * feat: Auto-detect term for coloring helm-diff output by @mumoshu in #24 * (test) update helm to 3.8.2 by @itscaro in #39 * add unittest for constants.go by @yxxhero in #44 * remove gotest deps by @yxxhero in #45 * Update README.md by @mumoshu in #46 * fix go lint warn by @yxxhero in #48 * feat: Add openssh-client to images by @itscaro in #53 * (feat) update helm to v3.8.2 in container images by @itscaro in #55 * Create dependabot.yml by @itscaro in #54 * add unittest for Exec by @yxxhero in #52 * Add unittest for newExecutionID by @yxxhero in #62 * add unittest for ValidateConfig by @yxxhero in #67 * add unittest for context.go by @yxxhero in #68 * remove temp_rand and use k8s.io/apimachinery/pkg/util/rand by @yxxhero in #69 * add unittest for error.go in pkg/app by @yxxhero in #71 * Bump github.com/stretchr/testify from 1.7.0 to 1.7.1 by @dependabot in #56 * Bump github.com/go-test/deep from 1.0.7 to 1.0.8 by @dependabot in #60 * Bump github.com/spf13/cobra from 1.3.0 to 1.4.0 by @dependabot in #59 * Bump github.com/google/go-cmp from 0.5.7 to 0.5.8 by @dependabot in #93 * Bump github.com/hashicorp/go-version from 1.2.1 to 1.4.0 by @dependabot in #94 * update doc for template func by @yxxhero in #74 * [#80] README, update release tag url by @yjqg6666 in #81 * chore: bump variantdev/vals to support remote secret tfstateremote by @carnei-ro in #76 * [feat] add execEnvs by @yxxhero in #95 * Bump go.uber.org/zap from 1.19.0 to 1.21.0 by @dependabot in #87 * fix old URLs in docs and fix Dockerfile by @itscaro in #84 * Bump github.com/urfave/cli from 1.22.5 to 1.22.9 by @dependabot in #96 * Bump github.com/hashicorp/go-getter from 1.5.11 to 1.6.0 by @dependabot in #103 * rename execEnvs to envExec by @yxxhero in #97 * Rename module to github.com/helmfile/helmfile by @austince in #101 * build image on tag by @itscaro in #40 * Bump github.com/hashicorp/go-getter from 1.6.0 to 1.6.1 by @dependabot in #106 * update envExec docs by @yxxhero in #104 * add helm 3.9 to tests by @itscaro in #85 * fix intergration test for argo-cd form master to main branch by @yxxhero in #118 * feat: allow --validate on sync command by @chubchubsancho in #88 * remove unused comments by @yxxhero in #112 * Update sops version on dockerfile by @rodrigodc07 in #123 * Update Helm diff plugin to version 3.5.0 in Dockerfile by @philippeckel in #122 * Bump github.com/imdario/mergo from 0.3.12 to 0.3.13 by @dependabot in #114 * add e2e tmpl test by @yxxhero in #99 * reconstruct main function by @yxxhero in #83 * little code optimize by @yxxhero in #130 * Adds feature to fetch release values and secret values from remote by @dol in #47 * introduce DISABLE_INSECURE_FEATURES to disable insecure executions by @itscaro in #1 * chore(state): Append Api Versions flags to helm-diff by @semoac in #107 * fix ci issue by @yxxhero in #131 * Add yxxhero as a maintainer by @mumoshu in #132 * Enhance the bug report form by @mumoshu in #134 * Create SECURITY.md by @mumoshu in #135 * Minor documentation fixes by @stoned in #138 * Move repos subcommand to a dedicated source file by @yxxhero in #137 * Add proposals about two breaking changes before we cut Helmfile 1.0 by @mumoshu in #136 * Fix deprecated chart in Getting Started by @ogugu9 in #140 * proposal: Drop --args in Helmfile 1.0 by @mumoshu in #144 * Move diff charts template subcommand to a dedicated source file by @yxxhero in #139 * Bump module Go version to 1.18 by @mumoshu in #150 * Release automation and release build testing by @mumoshu in #151 * Bump github.com/stretchr/testify from 1.7.1 to 1.7.2 by @dependabot in #141 * Bump github.com/variantdev/vals from 0.16.2 to 0.17.1 by @dependabot in #152 * move all subcommand to sigle file by @yxxhero in #153 * Bump github.com/variantdev/vals from 0.17.1 to 0.18.0 by @dependabot in #158 * Bump github.com/hashicorp/go-getter from 1.6.1 to 1.6.2 by @dependabot in #159 * feat(dockerfile): update helm to 3.9.0 by @Jasstkn in #163 * docker build test on ci by @yxxhero in #164 * Make a few helmfile sub-commands consistently support needs-related flags by @mumoshu in #78 * Bump github.com/stretchr/testify from 1.7.2 to 1.7.3 by @dependabot in #172 * fix ci test error by @yxxhero in #167 * update Readme.md by @yxxhero in #170 * Fix typo in README by @kobtea in #177 * Bump github.com/stretchr/testify from 1.7.3 to 1.7.4 by @dependabot in #176 * Update alpine base image to 3.16 by @jduepmeier in #179 * Bump github.com/stretchr/testify from 1.7.4 to 1.7.5 by @dependabot in #180 * add unittest for text_renderer.go by @yxxhero in #168 * Bump github.com/spf13/cobra from 1.4.0 to 1.5.0 by @dependabot in #175 OBS-URL: https://build.opensuse.org/request/show/991211 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/helmfile?expand=0&rev=58
2022-07-26 10:07:22 +02:00
URL: https://github.com/helmfile/helmfile
Source: %{name}-%{version}.tar.gz
Source1: vendor.tar.gz
Requires: helm >= 3.11.1
Accepting request 1119974 from home:manfred-h:devel:kubic - Update to version 0.158.0: What's Changed * feat: add an option to set a custom kustomize binary by @alessiodionisi in #1012 * feat: bump helm to 3.13.0 by @yxxhero in #1044 * feat: skip deps when installed is false by @yxxhero in #1054 * feat: add duration to failed releases summary by @felipecrs in #1066 * feat: bump helm version to 3.13.1 of tests by @yxxhero in #1068 * feat: support most remote urls by @xiaomudk in #1061 * Add diffArgs to helmDefaults by @yktakaha4 in #1019 * Fix symlink behaviour by @reegnz in #1020 * fix: security/dependabot/33 by @yxxhero in #1025 * by @lucasfcnunes in #1028 * optimize OCI chart version check by @yxxhero in #1052 * optimize flag logic about wait by @yxxhero in #1051 * doc: remote Environment values support more protocols by @xiaomudk in #1089 * add more tests for Desired func by @yxxhero in #1082 * upgrade helm in dockerfile images by @jouve in #1067 * replace all mozilla/sops with getsops/sops * test: fix running tests locally by @felipecrs in #1088 * build(deps): bump docker/login-action from 2 to 3 by @dependabot in #1018 * build(deps): bump docker/metadata-action from 4 to 5 by @dependabot in #1017 * build(deps): bump docker/build-push-action from 4 to 5 by @dependabot in #1016 * build(deps): bump docker/setup-qemu-action from 2 to 3 by @dependabot in #1015 * build(deps): bump goreleaser/goreleaser-action from 4 to 5 by @dependabot in #1014 * build(deps): bump docker/setup-buildx-action from 2 to 3 by @dependabot in #1022 * build(deps): bump go.uber.org/zap from 1.25.0 to 1.26.0 by @dependabot in #1032 * build(deps): bump github.com/goccy/go-yaml from 1.11.0 to 1.11.2 by @dependabot in #1031 * build(deps): bump golang.org/x/term from 0.11.0 to 0.12.0 by @dependabot in #1033 * build(deps): bump helm.sh/helm/v3 from 3.12.3 to 3.13.0 by @dependabot in #1045 * build(deps): bump github.com/cyphar/filepath-securejoin from 0.2.3 to 0.2.4 by @dependabot in #1026 * build(deps): bump github.com/helmfile/vals from 0.27.1 to 0.28.0 by @dependabot in #1048 * build(deps): bump golang.org/x/term from 0.12.0 to 0.13.0 by @dependabot in #1055 * build(deps): bump golang.org/x/sync from 0.3.0 to 0.4.0 by @dependabot in #1056 * build(deps): bump github.com/hashicorp/go-getter from 1.7.2 to 1.7.3 by @dependabot in #1058 * build(deps): bump gitpython from 3.1.35 to 3.1.37 in /docs by @dependabot in #1059 * build(deps): bump github.com/google/go-cmp from 0.5.9 to 0.6.0 by @dependabot in #1060 * build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 by @dependabot in #1063 * build(deps): bump helm.sh/helm/v3 from 3.13.0 to 3.13.1 by @dependabot in #1065 * build(deps): bump github.com/helmfile/vals from 0.28.0 to 0.28.1 by @dependabot in #1071 * build(deps): bump github.com/aws/aws-sdk-go from 1.44.251 to 1.45.27 by @dependabot in #1076 * build(deps): bump github.com/aws/aws-sdk-go from 1.45.27 to 1.45.28 by @dependabot in #1083 * build(deps): bump k8s.io/apimachinery from 0.28.2 to 0.28.3 by @dependabot in #1084 * build(deps): bump github.com/aws/aws-sdk-go from 1.45.28 to 1.46.0 by @dependabot in #1085 - Use go1.21 for building. - Bump helm to v3.13.1 OBS-URL: https://build.opensuse.org/request/show/1119974 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/helmfile?expand=0&rev=90
2023-10-24 14:21:48 +02:00
Recommends: helm >= 3.13.1
BuildRequires: golang-packaging
BuildRequires: xz
Accepting request 1119974 from home:manfred-h:devel:kubic - Update to version 0.158.0: What's Changed * feat: add an option to set a custom kustomize binary by @alessiodionisi in #1012 * feat: bump helm to 3.13.0 by @yxxhero in #1044 * feat: skip deps when installed is false by @yxxhero in #1054 * feat: add duration to failed releases summary by @felipecrs in #1066 * feat: bump helm version to 3.13.1 of tests by @yxxhero in #1068 * feat: support most remote urls by @xiaomudk in #1061 * Add diffArgs to helmDefaults by @yktakaha4 in #1019 * Fix symlink behaviour by @reegnz in #1020 * fix: security/dependabot/33 by @yxxhero in #1025 * by @lucasfcnunes in #1028 * optimize OCI chart version check by @yxxhero in #1052 * optimize flag logic about wait by @yxxhero in #1051 * doc: remote Environment values support more protocols by @xiaomudk in #1089 * add more tests for Desired func by @yxxhero in #1082 * upgrade helm in dockerfile images by @jouve in #1067 * replace all mozilla/sops with getsops/sops * test: fix running tests locally by @felipecrs in #1088 * build(deps): bump docker/login-action from 2 to 3 by @dependabot in #1018 * build(deps): bump docker/metadata-action from 4 to 5 by @dependabot in #1017 * build(deps): bump docker/build-push-action from 4 to 5 by @dependabot in #1016 * build(deps): bump docker/setup-qemu-action from 2 to 3 by @dependabot in #1015 * build(deps): bump goreleaser/goreleaser-action from 4 to 5 by @dependabot in #1014 * build(deps): bump docker/setup-buildx-action from 2 to 3 by @dependabot in #1022 * build(deps): bump go.uber.org/zap from 1.25.0 to 1.26.0 by @dependabot in #1032 * build(deps): bump github.com/goccy/go-yaml from 1.11.0 to 1.11.2 by @dependabot in #1031 * build(deps): bump golang.org/x/term from 0.11.0 to 0.12.0 by @dependabot in #1033 * build(deps): bump helm.sh/helm/v3 from 3.12.3 to 3.13.0 by @dependabot in #1045 * build(deps): bump github.com/cyphar/filepath-securejoin from 0.2.3 to 0.2.4 by @dependabot in #1026 * build(deps): bump github.com/helmfile/vals from 0.27.1 to 0.28.0 by @dependabot in #1048 * build(deps): bump golang.org/x/term from 0.12.0 to 0.13.0 by @dependabot in #1055 * build(deps): bump golang.org/x/sync from 0.3.0 to 0.4.0 by @dependabot in #1056 * build(deps): bump github.com/hashicorp/go-getter from 1.7.2 to 1.7.3 by @dependabot in #1058 * build(deps): bump gitpython from 3.1.35 to 3.1.37 in /docs by @dependabot in #1059 * build(deps): bump github.com/google/go-cmp from 0.5.9 to 0.6.0 by @dependabot in #1060 * build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 by @dependabot in #1063 * build(deps): bump helm.sh/helm/v3 from 3.13.0 to 3.13.1 by @dependabot in #1065 * build(deps): bump github.com/helmfile/vals from 0.28.0 to 0.28.1 by @dependabot in #1071 * build(deps): bump github.com/aws/aws-sdk-go from 1.44.251 to 1.45.27 by @dependabot in #1076 * build(deps): bump github.com/aws/aws-sdk-go from 1.45.27 to 1.45.28 by @dependabot in #1083 * build(deps): bump k8s.io/apimachinery from 0.28.2 to 0.28.3 by @dependabot in #1084 * build(deps): bump github.com/aws/aws-sdk-go from 1.45.28 to 1.46.0 by @dependabot in #1085 - Use go1.21 for building. - Bump helm to v3.13.1 OBS-URL: https://build.opensuse.org/request/show/1119974 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/helmfile?expand=0&rev=90
2023-10-24 14:21:48 +02:00
BuildRequires: golang(API) >= 1.21
Obsoletes: %{name}-bash-completion < %{version}
Obsoletes: %{name}-zsh-completion < %{version}
%description
Helmfile is a declarative spec for deploying helm charts. It lets you...
* Keep a directory of chart value files and maintain changes in version control.
* Apply CI/CD to configuration changes.
* Periodically sync to avoid skew in environments.
To avoid upgrades for each iteration of helm, the helmfile executable
delegates to helm - as a result, helm must be installed.
%prep
%setup -qa1
%build
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
SOURCE_DATE_EPOCH=$(date -u -d "${modified}" "+%s")
export SOURCE_DATE_EPOCH
rm -f source_date_epoch
echo SOURCE_DATE_EPOCH=$SOURCE_DATE_EPOCH > source_date_epoch
go build -mod=vendor -buildmode=pie
%install
. ./source_date_epoch
export SOURCE_DATE_EPOCH
make TAG=v%{version} install
mkdir -p %{buildroot}%{_bindir}
install -m755 ${HOME}/go/bin/helmfile %{buildroot}/%{_bindir}/helmfile
%files
%doc README.md
%license LICENSE
%{_bindir}/helmfile
%changelog