helmfile/helmfile.spec
Manfred Hollstein 37d8d3e7ff Accepting request 1066779 from home:manfred-h:devel:kubic
- Update to version 0.151.0:
  New features:
  * Add --skip-charts for destroy for disable prepare charts (#637)
  * Add missingFileHandlerConfig.ignoreMissingGitBranch (#645)
  * Disable double-rendering in V1 (#647)
  * Add gotmpl file ext when using helmfile.d feature (#649)
  * Add chinese readme (#664)
  * Add post-renderer flag for diff and template subcommand (#691)
  * Support helm 3.11.1
  What's Changed:
  * feat: add paths-ignore to ci.yaml and lint.yaml by @gaius-qi in #631
  * build(deps): bump github.com/containerd/containerd from 1.6.6 to
    1.6.12 by @dependabot in #632
  * fix inherit chart empty check issue by @yxxhero in #635
  * build(deps): bump k8s.io/apimachinery from 0.26.0 to 0.26.1 by
    @dependabot in #641
  * add --skip-charts for destroy for disable prepare charts by
    @yxxhero in #637
  * bump helm to v3.11.0 by @yxxhero in #639
  * Remove unused go-getter driver funcs by @mumoshu in #643
  * Fix a minor typo in the v1 proposal by @mumoshu in #646
  * feat: Add missingFileHandlerConfig.ignoreMissingGitBranch by
    @mumoshu in #645
  * remove helm v2 code in tests by @yxxhero in #648
  * Do not load the legacy default charts.yaml in v1 by @mumoshu
    in #651
  * Disable double-rendering in V1 by @mumoshu in #647
  * use latest helm previous minor version for helmfile init by
    @yxxhero in #652
  * feat: add gotmpl file ext when using helmfile.d feature by
    @yxxhero in #649
  * fix(docs): transfer issue link for Docs site by @ChetanGoti
    in #655
  * update examples info by @yxxhero in #658
  * update hooks docs by @yxxhero in #657
  * Bring up the init command in readme #661 by @AmazingTurtle
    in #662
  * docs: Running helmfile withought an internet connection by
    --skip-deps option by @toyamagu-2021 in #659
  * Reformat v1 proposal by @mumoshu in #663
  * add build-in objects docs by @yxxhero in #667
  * Add chinese readme by @xiaomudk in #664
  * fix typo by @yxxhero in #670
  * Bump Go to 1.20 by @yxxhero in #672
  * Use goccy/go-yaml fork to not break dynamic values on helmfile
    v1 by @mumoshu in #675
  * Improve readme readability by @xiaomudk in #678
  * Sync Chinese readme by @xiaomudk in #676
  * breaking: Fix the inherit feature to support multi-inheritance
    by @mumoshu in #674
  * fix: Make the forbid-env-with-releases policy strict on v1 by
    @mumoshu in #683
  * Remove references to .tpl from v1 proposal by @mumoshu in #685
  * build(deps): bump golang.org/x/term from 0.4.0 to 0.5.0 by
    @dependabot in #686
  * Relax the forbid-env-with-releases policy for plain helmfile.yaml
    on v1 by @mumoshu in #684
  * build(deps): bump helm.sh/helm/v3 from 3.11.0 to 3.11.1 by
    @dependabot in #689
  * Fix a typo in the v1 proposal by @mumoshu in #688
  * fix panic issue by @yxxhero in #690
  * bump helm to 3.11.1 by @yxxhero in #695
  * Fix post-renderer flag not working in diff and template
    subcommand by @xiaomudk in #691
  * fix: repos command help message by @yamagai in #698
  * build(deps): bump github.com/hashicorp/go-getter from 1.6.2 to
    1.7.0 by @dependabot in #697
  * build(deps): bump github.com/containerd/containerd from 1.6.15
    to 1.6.18 by @dependabot in #701
  * bump chartify to v0.13.0 by @yxxhero in #702
  * bump vals to v0.22.0 by @yxxhero in #703

OBS-URL: https://build.opensuse.org/request/show/1066779
OBS-URL: https://build.opensuse.org/package/show/devel:kubic/helmfile?expand=0&rev=78
2023-02-20 10:19:47 +00:00

71 lines
2.2 KiB
RPMSpec

#
# spec file for package helmfile
#
# 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/
#
%define git_commit f629ee1ae6540dcb1b3c9917bf3dbc81f96a07c0
Name: helmfile
Version: 0.151.0
Release: 0
Summary: Deploy Kubernetes Helm Charts
License: MIT
Group: Development/Languages/Other
URL: https://github.com/helmfile/helmfile
Source: %{name}-%{version}.tar.gz
Source1: vendor.tar.gz
Requires: helm >= 3.11.1
BuildRequires: golang-packaging
BuildRequires: xz
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