helmfile/helmfile.spec
Manfred Hollstein 28a1fe41b9 Accepting request 1103588 from home:manfred-h:devel:kubic
- Update to version 0.155.1:
  What's Changed
  * feat: add --insecure-skip-tls-verify support for helmfile
    template by @yxxhero in #916
  * feat: Allow to skip diff output on release base by @jkroepke
    in #906
  * build(deps): bump golang.org/x/term from 0.9.0 to 0.10.0 by
    @dependabot in #918
  * build(deps): bump helm.sh/helm/v3 from 3.12.1 to 3.12.2 by
    @dependabot in #930
  * build(deps): bump github.com/docker/docker from
    23.0.1+incompatible to 23.0.3+incompatible by @dependabot in #932
  * bump helm to v3.12.2 by @yxxhero in #933
  * build(deps): bump k8s.io/apimachinery from 0.27.3 to 0.27.4
    by @dependabot in #936
  * build(deps): bump github.com/helmfile/vals from 0.25.0 to
    0.26.0 by @dependabot in #938
  * Cancel rendering helmfile parts once the missing env is
    detected in the previous part by @mumoshu in #941
  * fix typo by @lucasfcnunes in #940
  * fix: oci pull directory conflict when download twice by
    @yxxhero in #914
  * feat: add insecure support for oci repo by @yxxhero in #921
  * add bug to exempt labels on git stale.yml by @lucasfcnunes
    in #942
  * build(deps): bump github.com/helmfile/vals from 0.26.0 to
    0.26.1 by @dependabot in #944

OBS-URL: https://build.opensuse.org/request/show/1103588
OBS-URL: https://build.opensuse.org/package/show/devel:kubic/helmfile?expand=0&rev=86
2023-08-12 09:22:26 +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 c19f220f06aa6c68cacad90d6c3271a1cd637766
Name: helmfile
Version: 0.155.1
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