!4 Add building resources for kubekey

From: @feynmanzhou
Reviewed-by: @imjoey,@calvinyu
Signed-off-by: @calvinyu
This commit is contained in:
openeuler-ci-bot 2021-08-11 08:22:46 +00:00 committed by Gitee
commit ee25abb595
3 changed files with 43 additions and 0 deletions

BIN
kubekey-v1.2.0.tar.gz Normal file

Binary file not shown.

39
kubekey.spec Normal file
View File

@ -0,0 +1,39 @@
%define debug_package %{nil}
Name: kubekey
Summary: Install Kubernetes only, both Kubernetes and KubeSphere, and related cloud-native add-ons, it supports all-in-one, multi-node, and HA.
Version: v1.2.0
Release: 1
License: Apache-2.0
URL: https://gitee.com/openeuler/kubekey
Source0: https://github.com/kubesphere/kubekey/releases/download/%{version}-openEuler/kubekey-%{version}.tar.gz
BuildRequires: git go
Requires: socat
Requires: conntrack
%description
Install Kubernetes only, both Kubernetes and KubeSphere, and related cloud-native add-ons, it supports all-in-one, multi-node, and HA.
%prep
%setup
%build
bash -x build.sh -p
%install
mkdir -p $RPM_BUILD_ROOT/usr/local/bin
cp output/kk $RPM_BUILD_ROOT/usr/local/bin
%files
/usr/local/bin/kk
%changelog
* Fri Aug 6 2021 guofeng <guofeng@yunify.com> v1.2.0-1
- Init package

4
kubekey.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: kubesphere/kubekey
tag_prefix: ^v
separator: .