helmfile/helmfile.spec
Manfred Hollstein d9f4b6f3d9 Accepting request 999016 from home:manfred-h:devel:kubic
- autocomplete files have been removed; obsolete bash-completion
  and zsh-completion sub-packages.
- Update to version 0.145.3:
  * Bump github.com/hashicorp/go-version from 1.4.0 to 1.6.0 by
    @dependabot in #183
  * fix doc link error and style error by @yxxhero in #217
  * fix(doc): add missing version field in the release template
    example by @lemeurherve in #228
  * update readme about image repo and fix link error by @yxxhero
    in #224
  * fix: use helm secrets view rather than helm secrets dec to
    decrypt by @philomory in #201
  * add Go lint by @yxxhero in #169
  * Include the working helmfile ver in the bug report by
    @mumoshu in #237
  * update Readmd.md by @yxxhero in #236
  * feat: bump chartify to v0.10.0 to support OCI registry for adhoc
    dependencies by @toVersus in #238
  * on canary build, version should show "0.0.0-dev" by @itscaro in
    #162
  * Add integration test for #238 with local docker registry as a
    OCI-based helm chart repo by @mumoshu in #239
  * chore: clean up snapshot test by @toVersus in #241
  * doc: getting start adds repositories configuration by @xiaomudk
    in #240
  * Use cobra by @yxxhero in #234
  * E2E helmfile-template testing with local chart repo server by
    @mumoshu in #245
  * correct --help cli arg regression by @jouve in #252
  * revert environment long option from --env to --environment by
    @jouve in #250
  * test: Add unit tests for ChartExport by @xiaomudk in #256
  * test: Add unit tests for ChartPull by @xiaomudk in #257
  * fix: OCI Url and Version parse error by @xiaomudk in #258
  * Implement readDirEntries method by @vasicvuk in #254
  * remove selector override in cmd/apply by @jouve in #266
  * update doccs/index.md about CLI ref by @yxxhero in #264
  * fix: needs error with context that includes slash by @sergeief
    in #268
  * Bump k8s.io/apimachinery from 0.23.4 to 0.24.3 by @dependabot
    in #230
  * Add flags about need for lint subcmd by @yxxhero in #273
  * fix go.mod by @yxxhero in #275
  * Refactor cobra flag default values for readability by @yxxhero
    in #274
  * build(deps): bump go.uber.org/zap from 1.21.0 to 1.22.0 by
    @dependabot in #280
  * Add file existence check for remote values by @kuzaxak in #284
  * Update ArchLinux installation instructions by @AnatolyRugalev
    in #282
  * Fix Inclusion of Releases for Other Environments by @dackroyd
    in #276
  * Cleanup pkg/config/config.go by @yxxhero in #287
  * update golang lint by @yxxhero in #288
  * Refactor 'images' workflow, include Ubuntu image to push by
    @pathob in #262
  * build(deps): bump github.com/mattn/go-isatty from 0.0.14 to
    0.0.16 by @dependabot in #293
  * fix tag miss in docker build by @yxxhero in #294

OBS-URL: https://build.opensuse.org/request/show/999016
OBS-URL: https://build.opensuse.org/package/show/devel:kubic/helmfile?expand=0&rev=60
2022-08-24 10:02:04 +00:00

66 lines
2.0 KiB
RPMSpec

#
# spec file for package helmfile
#
# Copyright (c) 2022 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 e44a915d4024a161d2a5642cf078038ea314fc72
Name: helmfile
Version: 0.145.3
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
BuildRequires: golang-packaging
BuildRequires: xz
BuildRequires: golang(API) >= 1.16
Obsoletes: %{name}-bash-completion
Obsoletes: %{name}-zsh-completion
%{go_nostrip}
%{go_provides}
%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
go build -mod=vendor -buildmode=pie
%install
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