forked from pool/helmfile
Manfred Hollstein
ba393f983c
- Update to version 0.158.0: What's Changed * feat: add an option to set a custom kustomize binary by @alessiodionisi in #1012 * feat: bump helm to 3.13.0 by @yxxhero in #1044 * feat: skip deps when installed is false by @yxxhero in #1054 * feat: add duration to failed releases summary by @felipecrs in #1066 * feat: bump helm version to 3.13.1 of tests by @yxxhero in #1068 * feat: support most remote urls by @xiaomudk in #1061 * Add diffArgs to helmDefaults by @yktakaha4 in #1019 * Fix symlink behaviour by @reegnz in #1020 * fix: security/dependabot/33 by @yxxhero in #1025 * by @lucasfcnunes in #1028 * optimize OCI chart version check by @yxxhero in #1052 * optimize flag logic about wait by @yxxhero in #1051 * doc: remote Environment values support more protocols by @xiaomudk in #1089 * add more tests for Desired func by @yxxhero in #1082 * upgrade helm in dockerfile images by @jouve in #1067 * replace all mozilla/sops with getsops/sops * test: fix running tests locally by @felipecrs in #1088 * build(deps): bump docker/login-action from 2 to 3 by @dependabot in #1018 * build(deps): bump docker/metadata-action from 4 to 5 by @dependabot in #1017 * build(deps): bump docker/build-push-action from 4 to 5 by @dependabot in #1016 * build(deps): bump docker/setup-qemu-action from 2 to 3 by @dependabot in #1015 * build(deps): bump goreleaser/goreleaser-action from 4 to 5 by @dependabot in #1014 * build(deps): bump docker/setup-buildx-action from 2 to 3 by @dependabot in #1022 * build(deps): bump go.uber.org/zap from 1.25.0 to 1.26.0 by @dependabot in #1032 * build(deps): bump github.com/goccy/go-yaml from 1.11.0 to 1.11.2 by @dependabot in #1031 * build(deps): bump golang.org/x/term from 0.11.0 to 0.12.0 by @dependabot in #1033 * build(deps): bump helm.sh/helm/v3 from 3.12.3 to 3.13.0 by @dependabot in #1045 * build(deps): bump github.com/cyphar/filepath-securejoin from 0.2.3 to 0.2.4 by @dependabot in #1026 * build(deps): bump github.com/helmfile/vals from 0.27.1 to 0.28.0 by @dependabot in #1048 * build(deps): bump golang.org/x/term from 0.12.0 to 0.13.0 by @dependabot in #1055 * build(deps): bump golang.org/x/sync from 0.3.0 to 0.4.0 by @dependabot in #1056 * build(deps): bump github.com/hashicorp/go-getter from 1.7.2 to 1.7.3 by @dependabot in #1058 * build(deps): bump gitpython from 3.1.35 to 3.1.37 in /docs by @dependabot in #1059 * build(deps): bump github.com/google/go-cmp from 0.5.9 to 0.6.0 by @dependabot in #1060 * build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 by @dependabot in #1063 * build(deps): bump helm.sh/helm/v3 from 3.13.0 to 3.13.1 by @dependabot in #1065 * build(deps): bump github.com/helmfile/vals from 0.28.0 to 0.28.1 by @dependabot in #1071 * build(deps): bump github.com/aws/aws-sdk-go from 1.44.251 to 1.45.27 by @dependabot in #1076 * build(deps): bump github.com/aws/aws-sdk-go from 1.45.27 to 1.45.28 by @dependabot in #1083 * build(deps): bump k8s.io/apimachinery from 0.28.2 to 0.28.3 by @dependabot in #1084 * build(deps): bump github.com/aws/aws-sdk-go from 1.45.28 to 1.46.0 by @dependabot in #1085 - Use go1.21 for building. - Bump helm to v3.13.1 OBS-URL: https://build.opensuse.org/request/show/1119974 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/helmfile?expand=0&rev=90
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 9596790a51f9a2c32b66c44cd8b9850c4aa2d7ef
|
|
Name: helmfile
|
|
Version: 0.158.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.13.1
|
|
BuildRequires: golang-packaging
|
|
BuildRequires: xz
|
|
BuildRequires: golang(API) >= 1.21
|
|
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
|