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

71 lines
2.2 KiB
RPMSpec
Raw Normal View History

#
# spec file for package helmfile
#
# Copyright (c) 2022 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 1045041 from home:manfred-h:devel:kubic - Update to version 0.149.0: New feature * Declare the use of --reuse-values in helmDefaults (#527) * Pass helmfile.yaml via stdin using -f - (#520) * The secrets field now accept go-getter URLs as well (#560) * Declare the use of Helm’s --post-render via Helmfile flags, helmfile.yaml helmDefaults and release fields (#510) * Support helm v3.10.3 (#579) What's Changed * Enhance make fmt to cover running gci for golangci-lint compat by @mumoshu in #515 * Use log capturing helper in TestApply_hooks by @mumoshu in #516 * Use the new log capturing helper in all remaining tests by @mumoshu in #517 * declare "reuse values" control mode in helmDefaults by @kkoralsky in #527 * Fix getArray function copy error by @xiaomudk in #533 * Remove redundant metadata fields from test samples by @xiaomudk in #535 * Allow helmfile statefile to passed by stdin by @xiaomudk in #520 * Refactor integration tests by @yxxhero in #531 * fix ghr badge by @yxxhero in #537 * fix unit test by @yxxhero in #538 * fix ghcr-badge in docs by @yxxhero in #539 * rework dockerfiles by @jouve in #519 * use dyff as yamldiff tool by @yxxhero in #542 * fix go mod by @yxxhero in #543 * build(deps): bump github.com/Masterminds/semver/v3 from 3.1.1 to 3.2.0 by @dependabot in #551 * build(deps): bump github.com/variantdev/vals from 0.19.0 to 0.20.0 by @dependabot in #552 * rm embrawtest/myapp/foo.yaml.gotmpl by @yxxhero in #554 * build(deps): bump github.com/Masterminds/sprig/v3 from 3.2.2 to 3.2.3 by @dependabot in #556 * typo: fix typo in cmd/apply.go by @yxxhero in #549 * build(deps): bump go.uber.org/zap from 1.23.0 to 1.24.0 by @dependabot in #557 * build(deps): bump golang.org/x/term from 0.2.0 to 0.3.0 by @dependabot in #562 * Use go-getter with secrets as well by @itscaro in #560 * Fix snapshot tests to pass regardless of helm version by @yxxhero in #572 * Fix preapply hooks are not called on no diff when run apply subcommand by @xiaomudk in #522 * build(deps): bump github.com/variantdev/vals from 0.20.0 to 0.21.0 by @dependabot in #570 * build(deps): bump github.com/go-test/deep from 1.0.8 to 1.1.0 by @dependabot in #569 * build(deps): bump k8s.io/apimachinery from 0.25.4 to 0.26.0 by @dependabot in #568 * Add documentation on go-getter cache by @itscaro in #566 * Allow running images with users other than root by @pathob in #546 * add xiaomudk as maintainer by @yxxhero in #504 * Avoid --skip-refresh on local charts by @indrekj in #541 * fea(#507): support assign --post-renderer flags , helmDefaults config , release config when use helm v3 by @tanguofu in #510 * remove temporary dir as well by @itscaro in #563 * build(deps): bump go.uber.org/multierr from 1.6.0 to 1.9.0 by @dependabot in #575 * add post render integration test by @yxxhero in #576 * clean: optimize post-render code by @yxxhero in #577 * build(deps): bump helm.sh/helm/v3 from 3.10.2 to 3.10.3 by @dependabot in #578 * bump helm to v3.10.3 by @yxxhero in #579 * update postrenderer docs by @yxxhero in #580 OBS-URL: https://build.opensuse.org/request/show/1045041 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/helmfile?expand=0&rev=72
2022-12-23 16:46:18 +01:00
%define git_commit 7410316cf98a05eeac7b3c34763a1360d8c4d343
Name: helmfile
Accepting request 1045041 from home:manfred-h:devel:kubic - Update to version 0.149.0: New feature * Declare the use of --reuse-values in helmDefaults (#527) * Pass helmfile.yaml via stdin using -f - (#520) * The secrets field now accept go-getter URLs as well (#560) * Declare the use of Helm’s --post-render via Helmfile flags, helmfile.yaml helmDefaults and release fields (#510) * Support helm v3.10.3 (#579) What's Changed * Enhance make fmt to cover running gci for golangci-lint compat by @mumoshu in #515 * Use log capturing helper in TestApply_hooks by @mumoshu in #516 * Use the new log capturing helper in all remaining tests by @mumoshu in #517 * declare "reuse values" control mode in helmDefaults by @kkoralsky in #527 * Fix getArray function copy error by @xiaomudk in #533 * Remove redundant metadata fields from test samples by @xiaomudk in #535 * Allow helmfile statefile to passed by stdin by @xiaomudk in #520 * Refactor integration tests by @yxxhero in #531 * fix ghr badge by @yxxhero in #537 * fix unit test by @yxxhero in #538 * fix ghcr-badge in docs by @yxxhero in #539 * rework dockerfiles by @jouve in #519 * use dyff as yamldiff tool by @yxxhero in #542 * fix go mod by @yxxhero in #543 * build(deps): bump github.com/Masterminds/semver/v3 from 3.1.1 to 3.2.0 by @dependabot in #551 * build(deps): bump github.com/variantdev/vals from 0.19.0 to 0.20.0 by @dependabot in #552 * rm embrawtest/myapp/foo.yaml.gotmpl by @yxxhero in #554 * build(deps): bump github.com/Masterminds/sprig/v3 from 3.2.2 to 3.2.3 by @dependabot in #556 * typo: fix typo in cmd/apply.go by @yxxhero in #549 * build(deps): bump go.uber.org/zap from 1.23.0 to 1.24.0 by @dependabot in #557 * build(deps): bump golang.org/x/term from 0.2.0 to 0.3.0 by @dependabot in #562 * Use go-getter with secrets as well by @itscaro in #560 * Fix snapshot tests to pass regardless of helm version by @yxxhero in #572 * Fix preapply hooks are not called on no diff when run apply subcommand by @xiaomudk in #522 * build(deps): bump github.com/variantdev/vals from 0.20.0 to 0.21.0 by @dependabot in #570 * build(deps): bump github.com/go-test/deep from 1.0.8 to 1.1.0 by @dependabot in #569 * build(deps): bump k8s.io/apimachinery from 0.25.4 to 0.26.0 by @dependabot in #568 * Add documentation on go-getter cache by @itscaro in #566 * Allow running images with users other than root by @pathob in #546 * add xiaomudk as maintainer by @yxxhero in #504 * Avoid --skip-refresh on local charts by @indrekj in #541 * fea(#507): support assign --post-renderer flags , helmDefaults config , release config when use helm v3 by @tanguofu in #510 * remove temporary dir as well by @itscaro in #563 * build(deps): bump go.uber.org/multierr from 1.6.0 to 1.9.0 by @dependabot in #575 * add post render integration test by @yxxhero in #576 * clean: optimize post-render code by @yxxhero in #577 * build(deps): bump helm.sh/helm/v3 from 3.10.2 to 3.10.3 by @dependabot in #578 * bump helm to v3.10.3 by @yxxhero in #579 * update postrenderer docs by @yxxhero in #580 OBS-URL: https://build.opensuse.org/request/show/1045041 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/helmfile?expand=0&rev=72
2022-12-23 16:46:18 +01:00
Version: 0.149.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
BuildRequires: golang-packaging
BuildRequires: xz
Accepting request 1032299 from home:manfred-h:devel:kubic - go1.19 is required for building. - Update to version 0.147.0: v0.147.0 is the first Helmfile version to officially support Helm 3.10.0, along with several fixes and new features. Starting from helmfile v0.147.0, helmfile version will check for the latest version of Helmfile and print a tip if the current version is not the latest. To disable this behavior, set environment variable HELMFILE_UPGRADE_NOTICE_DISABLED to any non-empty value. What's Changed * build(deps): bump helm.sh/helm/v3 from 3.8.1 to 3.9.4 by @dependabot in #377 * Update towards-1.0.md by @mumoshu in #378 * build(deps): bump k8s.io/apimachinery from 0.24.4 to 0.25.1 by @dependabot in #376 * build(deps): bump helm.sh/helm/v3 from 3.9.4 to 3.10.0 by @dependabot in #387 * build(deps): bump k8s.io/apimachinery from 0.25.1 to 0.25.2 by @dependabot in #386 * docs: fix best pratices guide link by @TartanLeGrand in #398 * Fix incubator charts location in advanced-features.md by @duckty in #401 * fix: docs typo by @stoned in #400 * fix path issue in windows by @yxxhero in #385 * fix: build command short description by @stoned in #403 * imprv: convert hyphen included in repo name to underbar with gatherOCIUsernamePassword. by @mugioka in #406 * Optimize cmd pkg by @yxxhero in #384 * update helm-diff version to 3.5.0 by @yxxhero in #379 * Update ci.yaml and use helm 3.10.0 by @yxxhero in #383 * Use helm show chart to identify chart version by @felipecrs in #395 * fix SetRetainValuesFiles issue by @yxxhero in #388 * bump: upgrade gopkg.in/yaml.v2 to gopkg.in/yaml.v3 by @yxxhero in #396 * docs: update docs order by @yxxhero in #407 * feat: retrieve repository's username/password from environment by @kevinleturc in #415 * feat: add more clear error message and Environment info for template by @yxxhero in #413 * doc: update template funcs docs by @yxxhero in #414 * fix README.md users.md to USERS.md by @yxxhero in #410 * feat: optimize version output by @yxxhero in #412 * feat: add reuse-values args for diff apply and sync by @yxxhero in #411 * fix: helmfile deps issue with oci repo by @yxxhero in #419 OBS-URL: https://build.opensuse.org/request/show/1032299 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/helmfile?expand=0&rev=67
2022-10-30 11:29:20 +01:00
BuildRequires: golang(API) >= 1.19
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