SHA256
1
0
forked from pool/helmfile
helmfile/helmfile.spec
Manfred Hollstein d3ece97dbd Accepting request 1097043 from home:manfred-h:devel:kubic
- Update to version 0.155.0:
  What's Changed
  * fix: more stringent condition checking by @thejan2009 in #869
  * build(deps): bump github.com/imdario/mergo from 0.3.15 to 0.3.16
    by @dependabot in #873
  * build(deps): bump github.com/stretchr/testify from 1.8.3 to
    1.8.4 by @dependabot in #876
  * feat: update repo Spec var type skipTLSVerify to bool by
    @yxxhero in #877
  * feat: set RepositorySpec.PassCredentials var type to bool by
    @yxxhero in #878
  * cleanup: remove tls configures about helm v2 by @yxxhero in #880
  * Upgrade helm diff version by @yxxhero in #883
  * Add insecure skip tls verify support by @yxxhero in #882
  * chore(docs): fix table by @josephgardner in #881
  * Feat: add --strip-args-values-on-exit-error by @jkroepke in #887
  * Stop failing on single helmfile part missing specified env by
    @mumoshu in #885
  * fix(docs): table and list formatting by @josephgardner in #891
  * add unittest for storage by @yxxhero in #894
  * cleanup: remove panic in testutil by @yxxhero in #890
  * fix: chartifyOpts ignore release set values by @yxxhero in #896
  * build(deps): bump golang.org/x/term from 0.8.0 to 0.9.0 by
    @dependabot in #897
  * build(deps): bump golang.org/x/sync from 0.2.0 to 0.3.0 by
    @dependabot in #898
  * bump helm to v3.12.1 by @yxxhero in #899
  * build(deps): bump k8s.io/apimachinery from 0.27.2 to 0.27.3 by
    @dependabot in #900
  * replace interface{} by any by @yxxhero in #901
  * fix set-file cannot find the file on windows by @xiaomudk in #908
  * feat: add starhistory by @yxxhero in #909
- Update to version 0.154.0:
  What's Changed
  * Feat: support helm flag --enable-dns by @vincentstchu in #830
  * Make helmfile respect signals send by kill command (not only
    Ctrl+C in terminal) by @dm3ch in #750
  * build(deps): bump golang.org/x/term from 0.7.0 to 0.8.0 by
    @dependabot in #846
  * build(deps): bump golang.org/x/sync from 0.1.0 to 0.2.0 by
    @dependabot in #847
  * feat: add --skip-trailing-cr to helmfile diff by @rezonant
    in #625
  * fix: loadBases overrodeEnv issue by @yxxhero in #838
  * build(deps): bump go.szostok.io/version from 1.1.0 to 1.2.0
    by @dependabot in #852
  * bump helm to v3.12.0 by @yxxhero in #855
  * build(deps): bump github.com/docker/distribution from
    2.8.1+incompatible to 2.8.2+incompatible by @dependabot in #857
  * Feat add cascade support by @yxxhero in #860
  * docs: update cascade by @yxxhero in #861
  * fix extra args missing in helmfile apply subcommand by
    @yxxhero in #858
  * build(deps): bump k8s.io/apimachinery from 0.27.1 to 0.27.2
    by @dependabot in #865
  * build(deps): bump github.com/stretchr/testify from 1.8.2 to
    1.8.3 by @dependabot in #866
  * feat: make environment context available by @SeWieland in #832
  * Fix set flag are ignored when used in conjunction with
    jsonPatches by @xiaomudk in #867

OBS-URL: https://build.opensuse.org/request/show/1097043
OBS-URL: https://build.opensuse.org/package/show/devel:kubic/helmfile?expand=0&rev=84
2023-07-06 06:58:21 +00:00

72 lines
2.3 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 aedcc4373ed9f8153d332f6bbcf93a4cd5e0223b
Name: helmfile
Version: 0.155.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
Recommends: helm >= 3.11.2
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