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

66 lines
2.0 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 1035804 from home:manfred-h:devel:kubic - Update to version 0.148.1: What's Changed * Introduce a new test helper for easier log snapshot testing by @mumoshu in #514 * fix: helmfile template fails when selector matches a chart fetched with go-getter by @yxxhero in #499 - Update to version 0.148.0: What's Changed * fix: child process not exit when recive term signal by @yxxhero in #418 * deps: build with go1.19 by @chenrui333 in #420 * Update ci.yaml by @mumoshu in #422 * fix helmfile version issue in docker image by @yxxhero in #427 * Prevent excessive log in tests by @mumoshu in #424 * Fix preapply hook behavior by @mumoshu in #423 * build(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.0 by @dependabot in #433 * deps: update dockerfile dependencies by @chenrui333 in #421 * feat: add helm-diff and kustomize in ci matrix by @yxxhero in #434 * build(deps): bump helm.sh/helm/v3 from 3.10.0 to 3.10.1 by @dependabot in #436 * build(deps): bump k8s.io/apimachinery from 0.25.2 to 0.25.3 by @dependabot in #439 * fix: issue path in test on windows by @yxxhero in #449 * fix: fix deps args by @yxxhero in #446 * fix helmfile diff error in window platform by @yxxhero in #451 * move HELMFILE_UPGRADE_NOTICE_DISABLED into envvar file by @yxxhero in #441 * Add --skip-refresh flag to the build command by @indrekj in #444 * fix: needs logic in chart stage by @yxxhero in #458 * fix typo by @yxxhero in #461 * build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1 by @dependabot in #462 * fix --debug flag by @yxxhero in #465 * use curl instead of wget & update helm to 3.10.1 by @itscaro in #467 * add basepath along with filepath into yaml comment by @itscaro in #460 * build(deps): bump github.com/spf13/cobra from 1.6.0 to 1.6.1 by @dependabot in #470 * Fix OCI example by @itscaro in #476 * fix chart needs test issue by @yxxhero in #480 * use fs.Getwd() to get working dir for sub helmfile by @itscaro in #471 * Document git for windows env auto-prefix #481 by @strainovic in #487 * fix oci:// chart by @itscaro in #477 * Allow to override build date with SOURCE_DATE_EPOCH by @bmwiedemann in #486 * Add subcommand init for checks and installs helmfile deps by @xiaomudk in #389 * split run.sh to make run.sh be more clear. by @yxxhero in #485 * remove hooks dir by @yxxhero in #484 * fix: args parse issue by @yxxhero in #457 * fix deps issues by @yxxhero in #492 * test: add template anchors merge e2e test by @yxxhero in #494 * feat: add go test total cover by @yxxhero in #495 * Add --output-dir-template flag to the fetch command by @elchenberg in #456 * build(deps): bump helm.sh/helm/v3 from 3.10.1 to 3.10.2 by @dependabot in #511 * bump: helm to 3.10.2 by @yxxhero in #512 * build(deps): bump k8s.io/apimachinery from 0.25.3 to 0.25.4 by @dependabot in #513 * Add the ability to specify a lock file by @lassizci in #432 OBS-URL: https://build.opensuse.org/request/show/1035804 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/helmfile?expand=0&rev=69
2022-11-15 10:12:49 +00:00
%define git_commit f09ec18aa9d555f6c8f668bfbcf084a6e5e8ee6b
Name: helmfile
Accepting request 1035804 from home:manfred-h:devel:kubic - Update to version 0.148.1: What's Changed * Introduce a new test helper for easier log snapshot testing by @mumoshu in #514 * fix: helmfile template fails when selector matches a chart fetched with go-getter by @yxxhero in #499 - Update to version 0.148.0: What's Changed * fix: child process not exit when recive term signal by @yxxhero in #418 * deps: build with go1.19 by @chenrui333 in #420 * Update ci.yaml by @mumoshu in #422 * fix helmfile version issue in docker image by @yxxhero in #427 * Prevent excessive log in tests by @mumoshu in #424 * Fix preapply hook behavior by @mumoshu in #423 * build(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.0 by @dependabot in #433 * deps: update dockerfile dependencies by @chenrui333 in #421 * feat: add helm-diff and kustomize in ci matrix by @yxxhero in #434 * build(deps): bump helm.sh/helm/v3 from 3.10.0 to 3.10.1 by @dependabot in #436 * build(deps): bump k8s.io/apimachinery from 0.25.2 to 0.25.3 by @dependabot in #439 * fix: issue path in test on windows by @yxxhero in #449 * fix: fix deps args by @yxxhero in #446 * fix helmfile diff error in window platform by @yxxhero in #451 * move HELMFILE_UPGRADE_NOTICE_DISABLED into envvar file by @yxxhero in #441 * Add --skip-refresh flag to the build command by @indrekj in #444 * fix: needs logic in chart stage by @yxxhero in #458 * fix typo by @yxxhero in #461 * build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1 by @dependabot in #462 * fix --debug flag by @yxxhero in #465 * use curl instead of wget & update helm to 3.10.1 by @itscaro in #467 * add basepath along with filepath into yaml comment by @itscaro in #460 * build(deps): bump github.com/spf13/cobra from 1.6.0 to 1.6.1 by @dependabot in #470 * Fix OCI example by @itscaro in #476 * fix chart needs test issue by @yxxhero in #480 * use fs.Getwd() to get working dir for sub helmfile by @itscaro in #471 * Document git for windows env auto-prefix #481 by @strainovic in #487 * fix oci:// chart by @itscaro in #477 * Allow to override build date with SOURCE_DATE_EPOCH by @bmwiedemann in #486 * Add subcommand init for checks and installs helmfile deps by @xiaomudk in #389 * split run.sh to make run.sh be more clear. by @yxxhero in #485 * remove hooks dir by @yxxhero in #484 * fix: args parse issue by @yxxhero in #457 * fix deps issues by @yxxhero in #492 * test: add template anchors merge e2e test by @yxxhero in #494 * feat: add go test total cover by @yxxhero in #495 * Add --output-dir-template flag to the fetch command by @elchenberg in #456 * build(deps): bump helm.sh/helm/v3 from 3.10.1 to 3.10.2 by @dependabot in #511 * bump: helm to 3.10.2 by @yxxhero in #512 * build(deps): bump k8s.io/apimachinery from 0.25.3 to 0.25.4 by @dependabot in #513 * Add the ability to specify a lock file by @lassizci in #432 OBS-URL: https://build.opensuse.org/request/show/1035804 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/helmfile?expand=0&rev=69
2022-11-15 10:12:49 +00:00
Version: 0.148.1
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 08:07:22 +00: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 10:29:20 +00:00
BuildRequires: golang(API) >= 1.19
Obsoletes: %{name}-bash-completion < %{version}
Obsoletes: %{name}-zsh-completion < %{version}
%{go_nostrip}
%{go_provides}
%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
go build -mod=vendor -buildmode=pie
%install
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