add auto build and upload

Signed-off-by: shaowenchen <mail@chenshaowen.com>
This commit is contained in:
shaowenchen 2020-07-10 08:49:30 +08:00
parent a2687ea306
commit eafabe9152
No known key found for this signature in database
GPG Key ID: 971ADB7A66C8B6B1
3 changed files with 41 additions and 0 deletions

37
.github/workflows/ci.yml vendored Normal file
View File

@ -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

View File

@ -1,5 +1,7 @@
# KubeKey
[![CI](https://github.com/kubesphere/kubekey/workflows/CI/badge.svg?branch=master&event=push)](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.

View File

@ -1,5 +1,7 @@
# KubeKey
[![CI](https://github.com/kubesphere/kubekey/workflows/CI/badge.svg?branch=master&event=push)](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。