forked from pool/helmfile
- Update to version 0.164.0: What's Changed * build(deps): bump github.com/aws/aws-sdk-go from 1.51.6 to 1.51.7 by @dependabot in #1429 * build(deps): bump github.com/aws/aws-sdk-go from 1.51.7 to 1.51.8 by @dependabot in #1430 * build(deps): bump github.com/aws/aws-sdk-go from 1.51.8 to 1.51.9 by @dependabot in #1432 * build(deps): bump github.com/aws/aws-sdk-go from 1.51.9 to 1.51.10 by @dependabot in #1433 * remove HELMFILE_SKIP_INSECURE_TEMPLATE_FUNCTIONS for v1 by @yxxhero in #1434 * build(deps): bump github.com/aws/aws-sdk-go from 1.51.10 to 1.51.11 by @dependabot in #1435 * build(deps): bump github.com/aws/aws-sdk-go from 1.51.11 to 1.51.12 by @dependabot in #1436 * build(deps): bump github.com/aws/aws-sdk-go from 1.51.12 to 1.51.13 by @dependabot in #1438 * build(deps): bump github.com/aws/aws-sdk-go from 1.51.13 to 1.51.14 by @dependabot in #1439 * build(deps): bump golang.org/x/sync from 0.6.0 to 0.7.0 by @dependabot in #1441 * build(deps): bump github.com/helmfile/vals from 0.36.0 to 0.37.0 by @dependabot in #1440 * build(deps): bump golang.org/x/term from 0.18.0 to 0.19.0 by @dependabot in #1444 * build(deps): bump github.com/aws/aws-sdk-go from 1.51.14 to 1.51.15 by @dependabot in #1443 * Misc documentation fixes by @StarlessNights in #1442 * update deps versions by @yxxhero in #1446 * build(deps): bump github.com/aws/aws-sdk-go from 1.51.15 to 1.51.16 by @dependabot in #1447 * build(deps): bump github.com/aws/aws-sdk-go from 1.51.16 to 1.51.17 by @dependabot in #1448 * build(deps): bump helm.sh/helm/v3 from 3.14.3 to 3.14.4 by @dependabot in #1451 * build(deps): bump github.com/aws/aws-sdk-go from 1.51.17 to 1.51.19 by @dependabot in #1450 * build(deps): bump github.com/aws/aws-sdk-go from 1.51.19 to 1.51.20 by @dependabot in #1452 * bump helm to v3.14.4 by @yxxhero in #1453 * build(deps): bump helm-git from v0.15.1 to v0.16.0 (minor) by @maxime1907 in #1455 * build(deps): bump github.com/aws/aws-sdk-go from 1.51.20 to 1.51.21 by @dependabot in #1456 * build(deps): bump github.com/hashicorp/go-getter from 1.7.3 to 1.7.4 by @dependabot in #1457 * build(deps): bump k8s.io/apimachinery from 0.29.3 to 0.29.4 by @dependabot in #1463 * build(deps): bump github.com/aws/aws-sdk-go from 1.51.21 to 1.51.22 by @dependabot in #1462 * add NAMESPACE filed for diff by @yxxhero in #1460 * build(deps): bump github.com/aws/aws-sdk-go from 1.51.22 to 1.51.23 by @dependabot in #1466 * build(deps): bump k8s.io/apimachinery from 0.29.4 to 0.30.0 by @dependabot in #1465 * chore(docs): update heading by @josephgardner in #1470 * build(deps): bump github.com/aws/aws-sdk-go from 1.51.23 to 1.51.24 by @dependabot in #1469 * build(deps): bump github.com/helmfile/chartify from 0.18.1 to 0.19.0 by @dependabot in #1468 * Feature/support env hcl and interpolations by @XT-Phate in #1423 * build(deps): bump github.com/hashicorp/hcl/v2 from 2.19.1 to 2.20.1 by @dependabot in #1475 * build(deps): bump github.com/aws/aws-sdk-go from 1.51.24 to 1.51.25 by @dependabot in #1476 * build(deps): bump github.com/zclconf/go-cty from 1.14.3 to 1.14.4 by @dependabot in #1474 * build(deps): bump github.com/aws/aws-sdk-go from 1.51.25 to 1.51.26 by @dependabot in #1478 * build(deps): bump github.com/aws/aws-sdk-go from 1.51.26 to 1.51.27 by @dependabot in #1480 * build(deps): bump golangci/golangci-lint-action from 4 to 5 by @dependabot in #1482 * build(deps): bump github.com/aws/aws-sdk-go from 1.51.27 to 1.51.28 by @dependabot in #1481 * build(deps): bump github.com/aws/aws-sdk-go from 1.51.28 to 1.51.29 by @dependabot in #1485 * Update DAG with dependencies by @vlpav030 in #1477 * build(deps): bump github.com/aws/aws-sdk-go from 1.51.29 to 1.51.30 by @dependabot in #1486 * build(deps): bump github.com/helmfile/chartify from 0.19.0 to 0.20.0 by @dependabot in #1487 * build(deps): bump github.com/aws/aws-sdk-go from 1.51.30 to 1.51.31 by @dependabot in #1488 * build(deps): bump github.com/aws/aws-sdk-go from 1.51.31 to 1.51.32 by @dependabot in #1489 OBS-URL: https://build.opensuse.org/request/show/1171547 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/helmfile?expand=0&rev=109
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 7637ecd22960d5077a9ecd08a85a563c8ccf0101
|
|
Name: helmfile
|
|
Version: 0.164.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.22
|
|
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
|