helmfile/helmfile.spec
Manfred Hollstein da5fe1c320 - Update to version 0.169.2:
* build(deps): bump github.com/helmfile/vals from 0.37.6 to 0.37.7
    by @dependabot in #1747
  * build(deps): bump k8s.io/apimachinery from 0.31.1 to 0.31.2 by
    @dependabot in #1754
  * Reset extra args before running 'dependency build' by @baurmatt
    in #1751
  * Introducing Helmfile Guru on Gurubase.io by @kursataktas in #1748
  * feat: add skip json schema validation during the install /upgrade
    of a Chart by @zhaque44 in #1737
  * fix(maputil): prevent nil value overwrite by @ban11111 in #1755
  * build(deps): bump github.com/goccy/go-yaml from 1.12.0 to
    1.13.0 by @dependabot in #1759
  * fix: this url doesn't work anymore by @zekena2 in #1760
  * build(deps): bump github.com/goccy/go-yaml from 1.13.0 to
    1.13.1 by @dependabot in #1762
  * build(deps): bump github.com/goccy/go-yaml from 1.13.1 to
    1.13.2 by @dependabot in #1763
  * build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.0 to
    4.5.1 by @dependabot in #1767
  * build(deps): bump github.com/helmfile/vals from 0.37.7 to
    0.37.8 by @dependabot in #1764
  * build(deps): bump github.com/goccy/go-yaml from 1.13.2 to
    1.13.4 by @dependabot in #1765
  * fix(integration-tests): read correct minikube status (#1768)
    by @ceriath in #1769
  * build(deps): bump github.com/goccy/go-yaml from 1.13.4 to
    1.13.5 by @dependabot in #1770
  * Add integration tests for #1749 by @baurmatt in #1766
  * fix: update acme chart URL in input.yaml by @yxxhero in #1773
  * build(deps): bump github.com/goccy/go-yaml from 1.13.5 to
    1.13.6 by @dependabot in #1771
  * build(deps): bump golang.org/x/sync from 0.8.0 to 0.9.0 by
    @dependabot in #1775
  * build(deps): bump golang.org/x/term from 0.25.0 to 0.26.0
    by @dependabot in #1774
  * Revive dead badge links by @eggplants in #1776
  * feat: refactor label creation in state.go by @yxxhero in #1758
  * docs: Add Gurubase badge to README-zh_CN by @yxxhero in #1777
  * build(deps): bump github.com/goccy/go-yaml from 1.13.6 to
    1.13.9 by @dependabot in #1781
  * build(deps): bump github.com/goccy/go-yaml from 1.13.9 to
    1.14.0 by @dependabot in #1782
  * build(deps): bump github.com/goccy/go-yaml from 1.14.0 to
    1.14.3 by @dependabot in #1788
  * build(deps): bump helm.sh/helm/v3 from 3.16.2 to 3.16.3 by
    @dependabot in #1786
  * fix: update helm-diff to version 3.9.12 in CI and Dockerfiles
    by @yxxhero in #1792
  * build: update Helm version to v3.16.3 in CI and Dockerfiles
    by @yxxhero in #1791
  * feat: add HELMFILE_INTERACTIVE env var to enable interactive
    mode by @thevops in #1787
  * build(deps): bump github.com/hashicorp/hcl/v2 from 2.22.0 to
    2.23.0 by @dependabot in #1793
  * build(deps): bump github.com/Masterminds/semver/v3 from 3.3.0
    to 3.3.1 by @dependabot in #1795
  * chore: update with testify/assert assertion and table driven
    tests for fs.go by @zhaque44 in #1794
  * build(deps): bump k8s.io/apimachinery from 0.31.2 to 0.31.3
    by @dependabot in #1798
  * build(deps): bump github.com/stretchr/testify from 1.9.0 to
    1.10.0 by @dependabot in #1800
  * build(deps): bump github.com/goccy/go-yaml from 1.14.3 to
    1.15.0 by @dependabot in #1804
  * build(deps): bump github.com/goccy/go-yaml from 1.15.0 to
    1.15.1 by @dependabot in #1807
  * build(deps): bump github.com/zclconf/go-cty from 1.15.0 to
    1.15.1 by @dependabot in #1806
  * update example chart URL in remote-secrets doc by @daveneeley
    in #1809
  * build(deps): bump github.com/goccy/go-yaml from 1.15.1 to
    1.15.3 by @dependabot in #1811
  * build(deps): bump github.com/goccy/go-yaml from 1.15.3 to
    1.15.6 by @dependabot in #1812
  * fix: inject global values in Chartify by @xabufr in #1805
  * build(deps): bump github.com/helmfile/vals from 0.37.8 to
    0.38.0 by @dependabot in #1814
  * build(deps): bump github.com/helmfile/chartify from 0.20.3 to
    0.20.4 by @dependabot in #1815
  * build(deps): bump golang.org/x/sync from 0.9.0 to 0.10.0 by
    @dependabot in #1816

OBS-URL: https://build.opensuse.org/package/show/devel:kubic/helmfile?expand=0&rev=125
2024-12-06 07:07:10 +00:00

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 370b0043580ed637ee17d80c93155e167899984d
Name: helmfile
Version: 0.169.2
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.3
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