SHA256
1
0
forked from pool/helmfile
helmfile/helmfile.spec
Manfred Hollstein 535c9bb1b2 Accepting request 1111541 from home:manfred-h:devel:kubic
- Update to version 0.157.0:
  What's Changed
  * bump github.com/helmfile/vals by @jkroepke in #982
  * fix snapshot tests random error by @yxxhero in #985
  * feat: keyring supportting by @yxxhero in #984
  * update keyring docs by @yxxhero in #986
  * Update docs for running as container by @PointyShinyBurning
    in #988
  * Add missing documentation for isFile function by @anessi in #996
  * Update workflows by @bonddim in #998
  * build(deps): bump actions/checkout from 3 to 4 by @dependabot
    in #999
  * build(deps): bump gitpython from 3.1.32 to 3.1.34 in /docs
    by @dependabot in #1004
  * chore: added a note in the doc. by @rlnchow in #1006
  * build(deps): bump gitpython from 3.1.34 to 3.1.35 in /docs by
    @dependabot in #1008
- Update to version 0.156.0:
  What's Changed
  * build(deps): bump github.com/hashicorp/go-getter from 1.7.1 to
    1.7.2 by @dependabot in #949
  * build(deps): bump go.uber.org/zap from 1.24.0 to 1.25.0 by
    @dependabot in #957
  * build(deps): bump github.com/helmfile/chartify from 0.14.0 to
    0.15.0 by @dependabot in #956
  * build(deps): bump github.com/helmfile/vals from 0.26.1 to
    0.26.2 by @dependabot in #962
  * build(deps): bump golang.org/x/term from 0.10.0 to 0.11.0
    by @dependabot in #961
  * fix re-using environment state in sub-helmfiles issue by
    @yxxhero in #951
  * feat: add friendly tips for helmfile config order by @yxxhero
    in #710
  * chore: join with space by @wrenix in #963
  * Implement --diff-args by @jkroepke in #959
  * build(deps): bump gitpython from 3.1.30 to 3.1.32 in /docs
    by @dependabot in #970
  * build(deps): bump helm.sh/helm/v3 from 3.12.2 to 3.12.3
    by @dependabot in #968
  * bump helm to v3.12.3 by @yxxhero in #971
  * bump go to 1.21 by @yxxhero in #972
  * Support functions written by KCL to mutate or validate
    manifests for Helmfile @Peefy #827

OBS-URL: https://build.opensuse.org/request/show/1111541
OBS-URL: https://build.opensuse.org/package/show/devel:kubic/helmfile?expand=0&rev=88
2023-09-15 11:27:30 +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 e7560afe04406ff95c31b492671ab32209d13715
Name: helmfile
Version: 0.157.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