mirror of
https://abf.rosa.ru/djam/flux2.git
synced 2025-02-23 15:22:55 +00:00
Imported from SRPM
This commit is contained in:
commit
7fd832f76b
2 changed files with 63 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
sources:
|
||||||
|
flux2-2.0.0.tar.gz: 9a94f5d1adbb6bbc01fc0532ad06874107d84139
|
61
flux2.spec
Normal file
61
flux2.spec
Normal file
|
@ -0,0 +1,61 @@
|
||||||
|
%define debug %nil
|
||||||
|
%define debug_package %nil
|
||||||
|
|
||||||
|
Name: flux2
|
||||||
|
Version: 2.0.0
|
||||||
|
Release: 1
|
||||||
|
Summary: Continuous delivery solution for Kubernetes
|
||||||
|
URL: https://fluxcd.io
|
||||||
|
Source0: https://github.com/fluxcd/flux2/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
|
License: ASL-2.0
|
||||||
|
Group: Development/Other
|
||||||
|
BuildRequires: go
|
||||||
|
BuildRequires: git-core
|
||||||
|
BuildRequires: upx
|
||||||
|
BuildRequires: kustomize
|
||||||
|
Provides: flux
|
||||||
|
|
||||||
|
%description
|
||||||
|
Flux is a tool for keeping Kubernetes clusters in sync with
|
||||||
|
sources of configuration (like Git repositories and OCI
|
||||||
|
artifacts), and automating updates to configuration when
|
||||||
|
there is new code to deploy.
|
||||||
|
|
||||||
|
Flux version 2 ("v2") is built from the ground up to use
|
||||||
|
Kubernetes' API extension system, and to integrate with
|
||||||
|
Prometheus and other core components of the Kubernetes
|
||||||
|
ecosystem. In version 2, Flux supports multi-tenancy and
|
||||||
|
support for syncing an arbitrary number of Git repositories,
|
||||||
|
among other long-requested features.
|
||||||
|
|
||||||
|
Flux v2 is constructed with the GitOps Toolkit, a set of
|
||||||
|
composable APIs and specialized tools for building
|
||||||
|
Continuous Delivery on top of Kubernetes.
|
||||||
|
|
||||||
|
Flux is a Cloud Native Computing Foundation (CNCF) project,
|
||||||
|
used in production by various organisations and cloud
|
||||||
|
providers.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%make VERSION=%{version} build
|
||||||
|
|
||||||
|
upx bin/flux
|
||||||
|
|
||||||
|
# gen completion
|
||||||
|
bin/flux completion bash > flux-completion.txt
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -Dm0755 bin/flux %{buildroot}%{_bindir}/flux
|
||||||
|
|
||||||
|
# install bash completion
|
||||||
|
install -Dm0644 flux-completion.txt %{buildroot}%{_datadir}/bash-completion/completions/flux
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md LICENSE
|
||||||
|
%{_bindir}/flux
|
||||||
|
%{_datadir}/bash-completion/completions/flux
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue