- Update to version 0.152.0: What's Changed: * build(deps): bump golang.org/x/net from 0.5.0 to 0.7.0 by @dependabot in #704 * optimize logger code by @yxxhero in #706 * Use Masterminds/semver/v3 instead of hashicorp/go-version by @johejo in #712 * fix cobra issue by @yxxhero in #715 * issue with in process label will never be considered stale by @yxxhero in #716 * fix: update file help message by @yxxhero in #714 * build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 by @dependabot in #717 * build(deps): bump k8s.io/apimachinery from 0.26.1 to 0.26.2 by @dependabot in #720 * fix build-in objects docs by @yxxhero in #719 * fix get template func by @yxxhero in #721 * v1: Fix --state-values-set to override values of environments colocated with releases by @yxxhero in #705 * build(deps): bump golang.org/x/term from 0.5.0 to 0.6.0 by @dependabot in #728 * fix: improve set and values flags help message by @yxxhero in #724 * build(deps): bump go.uber.org/multierr from 1.9.0 to 1.10.0 by @dependabot in #731 * bump helm to 3.11.2 by @yxxhero in #733 * build(deps): bump github.com/helmfile/vals from 0.22.0 to 0.23.0 by @dependabot in #735 * clean: helm v2 logic code by @yxxhero in #736 * clean: optimize postrenderer code by @yxxhero in #738 * fix concurrency issue by @yxxhero in #742 * build(deps): bump github.com/hashicorp/go-getter from 1.7.0 to 1.7.1 by @dependabot in #745 * bump mergo to 0.3.14 by @yxxhero in #751 * chore(ci): use docker/metadata-action by @rmoreas in #756 * build(deps): bump k8s.io/apimachinery from 0.26.2 to 0.26.3 by @dependabot in #758 * bump chartify to v0.14.0 by @yxxhero in #759 * feat: use new helm version parse function by @yxxhero in #760 * build(deps): bump github.com/imdario/mergo from 0.3.14 to 0.3.15 by @dependabot in #762 * chore(release): add latest tag only on release tags by @rmoreas in #766 * fix: formatting of YAML samples in 1.0 proposal doc by @smlx in #767 * feat: use offical goccy/go-yaml by @yxxhero in #769 * fix: goccy/go-yaml tests by @yxxhero in #770 * remove unnecessary remote.Locate() by @itscaro in #565 OBS-URL: https://build.opensuse.org/request/show/1075532 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/helmfile?expand=0&rev=80
72 lines
2.3 KiB
RPMSpec
72 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package helmfile
|
|
#
|
|
# Copyright (c) 2023 SUSE LLC
|
|
# 2021 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 5650661a882e73b0c4c6dff55e33bff8d7cae493
|
|
Name: helmfile
|
|
Version: 0.152.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.11.1
|
|
Recommends: helm >= 3.11.2
|
|
BuildRequires: golang-packaging
|
|
BuildRequires: xz
|
|
BuildRequires: golang(API) >= 1.19
|
|
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.
|
|
|
|
%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
|
|
|
|
%files
|
|
%doc README.md
|
|
%license LICENSE
|
|
%{_bindir}/helmfile
|
|
|
|
%changelog
|