forked from pool/helmfile
Manfred Hollstein
779488e950
- v0.136.0 * e5d982e (HEAD, tag: v0.136.0, origin/master, origin/HEAD, master) Fix "No valid platforms to build for" build error on release * c815d01 Bump helm versions in Dockerfile to deal with stable and incubator repositories change * 9569d73 Bump helm versions in CI to deal with stable and incubator repositories change * dd5bc46 Include kustomize binary in helm3-based Docker image (#1626) * fc3567d Adding documentation for PR #6819 (#1623) * 9b64d65 feat: Stabilize helmfile-diff output (#1622) * 54eb73b Use ghodss/yaml for yaml marshaling & unmarshaling in template (#1556) * 4c0987a Don't append --tiller-namespace flag when running helm3 (#1594) * 0637973 fix: allow helmfiles to be corrected marshalled to YAML so they can be manipulated by other programs (#1604) * 3690bde Add documentation on how to use the docker image (#1607) * b92ff2b Fix selector syntax example (#1614) * afe82f6 chore: suppress empty values on serializing several helmfile values (#1616) * 1c7b872 Stabilize helmfile-diff output (#1619) * 28e7ebb fix: support arm64 images (#1612) * 1ef9b29 Improve handling of releases being newly installed by helmfile-apply (#1618) OBS-URL: https://build.opensuse.org/request/show/859935 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/helmfile?expand=0&rev=31
99 lines
3.0 KiB
RPMSpec
99 lines
3.0 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 e5d982ed336a54803ce91a28ff48f958224dc709
|
|
Name: helmfile
|
|
Version: 0.136.0
|
|
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.
|
|
|
|
%package bash-completion
|
|
Summary: Bash Completion for %{name}
|
|
Group: System/Shells
|
|
Requires: %{name} = %{version}
|
|
Supplements: packageand(%{name}:bash-completion)
|
|
BuildArch: noarch
|
|
|
|
%description bash-completion
|
|
Bash command line completion support for %{name}.
|
|
|
|
%package zsh-completion
|
|
Summary: Zsh Completion for %{name}
|
|
Group: System/Shells
|
|
Requires: %{name} = %{version}
|
|
Supplements: packageand(%{name}:zsh)
|
|
BuildArch: noarch
|
|
|
|
%description zsh-completion
|
|
Zsh command line completion support for %{name}.
|
|
|
|
%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
|
|
mkdir -p %{buildroot}%{_datarootdir}/bash-completion/completions
|
|
install -m644 autocomplete/helmfile_bash_autocomplete \
|
|
%{buildroot}%{_datarootdir}/bash-completion/completions/%{name}
|
|
mkdir -p %{buildroot}%{_datarootdir}/zsh_completion.d
|
|
install -m644 autocomplete/helmfile_zsh_autocomplete \
|
|
%{buildroot}%{_datarootdir}/zsh_completion.d/_%{name}
|
|
|
|
%files
|
|
%doc README.md
|
|
%license LICENSE
|
|
%{_bindir}/helmfile
|
|
|
|
%files bash-completion
|
|
%defattr(-,root,root)
|
|
%dir %{_datarootdir}/bash-completion/completions/
|
|
%{_datarootdir}/bash-completion/completions/%{name}
|
|
|
|
%files zsh-completion
|
|
%defattr(-,root,root)
|
|
%dir %{_datarootdir}/zsh_completion.d/
|
|
%{_datarootdir}/zsh_completion.d/_%{name}
|
|
|
|
%changelog
|