mirror of
https://github.com/kubesphere/kubekey.git
synced 2025-12-26 01:22:51 +00:00
add auto build and upload
Signed-off-by: shaowenchen <mail@chenshaowen.com>
This commit is contained in:
parent
a2687ea306
commit
eafabe9152
|
|
@ -0,0 +1,37 @@
|
|||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
- 'release*'
|
||||
tags:
|
||||
- 'v*'
|
||||
pull_request:
|
||||
branches:
|
||||
- 'master'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GO111MODULE: on
|
||||
steps:
|
||||
|
||||
- name: Set up Go 1.14
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: 1.14
|
||||
id: go
|
||||
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Build
|
||||
run: go build -v -o output/kk
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: kk
|
||||
path: output/kk
|
||||
|
|
@ -1,5 +1,7 @@
|
|||
# KubeKey
|
||||
|
||||
[](https://github.com/kubesphere/kubekey/actions?query=event%3Apush+branch%3Amaster+workflow%3ACI+)
|
||||
|
||||
> English | [中文](README_zh-CN.md)
|
||||
|
||||
Since v3.0, [KubeSphere](https://kubesphere.io) changes the ansible-based installer to the new installer called KubeKey that is developed in Go language. With KubeKey, you can install Kubernetes and KubeSphere separately or as a whole easily, efficiently and flexibly.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
# KubeKey
|
||||
|
||||
[](https://github.com/kubesphere/kubekey/actions?query=event%3Apush+branch%3Amaster+workflow%3ACI+)
|
||||
|
||||
> [English](README.md) | 中文
|
||||
|
||||
从 v3.0 开始,[KubeSphere](https://kubesphere.io) 将基于 ansible 的安装程序更改为使用 Go 语言开发的名为 KubeKey 的新安装程序。使用 KubeKey,您可以轻松、高效、灵活地单独或整体安装 Kubernetes 和 KubeSphere。
|
||||
|
|
|
|||
Loading…
Reference in New Issue