* Add comment withPreparedCharts by @mumoshu in #1704 * build(deps): bump k8s.io/apimachinery from 0.31.0 to 0.31.1 by @dependabot in #1705 * build(deps): bump helm.sh/helm/v3 from 3.15.4 to 3.16.1 by @dependabot in #1707 * bump all helm to 3.16.1 by @yxxhero in #1708 * add zhaque44 in CODEOWNERS by @yxxhero in #1711 * Add hide notes support by @yxxhero in #1710 * update python3 version for mkdoc.yaml by @zhaque44 in #1712 * build(deps): bump dario.cat/mergo from 0.3.16 to 1.0.1 by @yxxhero in #1714 * fix docs build errors by @zhaque44 in #1715 * feat(pkg/app): Update Helm Diff version to v3.9.11 by @yxxhero in #1720 * update test to table driven with assertions & test GetMergedValues by @zhaque44 in #1721 * feat: update go version and adjust dependencies in Dockerfile and go.mod by @yxxhero in #1722 * feat: Update Docker image to ubuntu:24.10 by @yxxhero in #1726 * build(deps): bump github.com/zclconf/go-cty-yaml from 1.0.3 to 1.1.0 by @dependabot in #1723 * build(deps): bump golang.org/x/term from 0.24.0 to 0.25.0 by @dependabot in #1724 * feat(pkg/policy): improve TopKeys function handling by @yxxhero in #1730 * build(deps): bump helm.sh/helm/v3 from 3.16.1 to 3.16.2 by @dependabot in #1732 * chore: Update AGE var version by @zhaque44 in #1731 * feat(helm-version): Update helm version to v3.16.2 by @yxxhero in #1733 * fix: duration of delete failures are always 0s by @felipecrs in #1734 * [feature] add --skip-refresh to globals by @sstarcher in #1736 * build(deps): bump github.com/helmfile/vals from 0.37.5 to 0.37.6 by @dependabot in #1739 * build(deps): bump github.com/helmfile/chartify from 0.20.2 to 0.20.3 by @dependabot in #1738 * feat: improve summary for releases failed to delete by @felipecrs in #1735 * [feature] --skip-refresh to pass through to deps by @sstarcher in #1740 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/helmfile?expand=0&rev=121
121 lines
4.0 KiB
RPMSpec
121 lines
4.0 KiB
RPMSpec
#
|
|
# spec file for package helmfile
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
# 2021-2024 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 18529ab7c550bfa6d6eefddeb47418f1685f4a7f
|
|
Name: helmfile
|
|
Version: 0.169.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.13.1
|
|
Recommends: helm >= 3.14.0
|
|
BuildRequires: golang-packaging
|
|
BuildRequires: xz
|
|
BuildRequires: golang(API) >= 1.23
|
|
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.
|
|
|
|
%package bash-completion
|
|
Summary: Bash Completion for %{name}
|
|
Group: System/Shells
|
|
Requires: %{name} = %{version}
|
|
Supplements: (%{name} and 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: (%{name} and zsh)
|
|
BuildArch: noarch
|
|
|
|
%description zsh-completion
|
|
Zsh command line completion support for %{name}.
|
|
|
|
%package fish-completion
|
|
Summary: Fish Completion for %{name}
|
|
Group: System/Shells
|
|
Requires: %{name} = %{version}
|
|
Supplements: (%{name} and fish)
|
|
BuildArch: noarch
|
|
|
|
%description fish-completion
|
|
Fish command line completion support for %{name}.
|
|
|
|
%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
|
|
mkdir -p %{buildroot}%{_datarootdir}/bash-completion/completions
|
|
%{buildroot}/%{_bindir}/helmfile completion bash > %{buildroot}%{_datarootdir}/bash-completion/completions/%{name}
|
|
mkdir -p %{buildroot}%{_datarootdir}/zsh_completion.d
|
|
%{buildroot}/%{_bindir}/helmfile completion zsh > %{buildroot}%{_datarootdir}/zsh_completion.d/_%{name}
|
|
mkdir -p %{buildroot}%{_datadir}/fish/vendor_completions.d
|
|
%{buildroot}/%{_bindir}/helmfile completion fish > %{buildroot}%{_datarootdir}/fish/vendor_completions.d/%{name}.fish
|
|
|
|
%files
|
|
%doc README.md
|
|
%license LICENSE
|
|
%{_bindir}/helmfile
|
|
|
|
%files bash-completion
|
|
%dir %{_datarootdir}/bash-completion/completions/
|
|
%{_datarootdir}/bash-completion/completions/%{name}
|
|
|
|
%files zsh-completion
|
|
%dir %{_datarootdir}/zsh_completion.d/
|
|
%{_datarootdir}/zsh_completion.d/_%{name}
|
|
|
|
%files fish-completion
|
|
%dir %{_datarootdir}/fish
|
|
%dir %{_datarootdir}/fish/vendor_completions.d
|
|
%{_datarootdir}/fish/vendor_completions.d/%{name}.fish
|
|
|
|
%changelog
|