helmfile/helmfile.spec
Manfred Hollstein ea15671005 Accepting request 830799 from home:manfred-h
- v0.125.9: Merge pull request #1442 from roboll/fix-duplicate-with-kubectx-per-r…
  * c575587 (HEAD, tag: v0.125.9, origin/master, origin/HEAD, master)
    Merge pull request #1442 from roboll/fix-duplicate-with-kubectx-per-release
  * f2dfa7c Fix kubeContext not taken into account for release uniqueness
  * 41cd1fe Fix race while running helm dep build on local chart (#1439)
  * 94e01b7 Bump chartify to 0.4.2 (#1437)
  * 85e7798 Update to the latest version of helm-diff plugin (#1430)
  * b42e847 Fix race while running helm dep build on local chart

- v0.125.8: Fix regression in helmfile deps (#1431)
  * 14e2b9e (HEAD, tag: v0.125.8, origin/master, origin/HEAD, master)
    Fix regression in helmfile deps (#1431)
  * 90a4122 fix: panic when using helm v3.3 (#1427) (#1428)

OBS-URL: https://build.opensuse.org/request/show/830799
OBS-URL: https://build.opensuse.org/package/show/devel:kubic/helmfile?expand=0&rev=11
2020-08-31 12:43:50 +00:00

63 lines
1.9 KiB
RPMSpec

#
# spec file for package helmfile
#
# Copyright (c) 2020 SUSE LLC
# 2020 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 c575587e1ff2aa8dac8269e071c1c65fa5181865
Name: helmfile
Version: 0.125.9
Release: 0
Summary: Deploy Kubernetes Helm Charts
License: MIT
Group: Development/Languages/Other
URL: https://github.com/roboll/helmfile
Source: %{name}-%{version}.tar.gz
Source1: vendor.tar.gz
Requires: helm
BuildRequires: golang-packaging
BuildRequires: xz
BuildRequires: golang(API) >= 1.14
%{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