Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37831333
en ru br
Репозитории ALT

Группа :: Development/Tools
Пакет: helmfile

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: helmfile
Version: 0.157.0
Release: alt1

Summary: Deploy Kubernetes Helm Charts

License: MIT
Group: Development/Tools
Url: https://github.com/helmfile/helmfile

# Source-url: https://github.com/helmfile/helmfile/archive/refs/tags/v%version.tar.gz

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: %name-%version.tar

Source1: %name-development-%version.tar

BuildRequires(pre): rpm-macros-golang
# systemd macro
BuildRequires(pre): rpm-build-compat

ExclusiveArch: %go_arches

#BuildRequires: golang-packaging

BuildRequires: xz
BuildRequires: golang >= 1.19

Requires: helm >= 3.11.1

%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 -a1

%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
%_bindir/helmfile

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin