Skip to content

Commit

Permalink
add circle ci build
Browse files Browse the repository at this point in the history
  • Loading branch information
BSWANG committed Nov 21, 2018
1 parent bbf36c0 commit 80ac43a
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Golang CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-go/ for more details
version: 2
jobs:
build:
docker:
# specify the version
- image: circleci/golang:1.10

# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
# - image: circleci/postgres:9.4

#### TEMPLATE_NOTE: go expects specific checkout path representing url
#### expecting it in the form of
#### /go/src/github.com/circleci/go-tool
#### /go/src/bitbucket.org/circleci/go-tool
working_directory: /go/src/github.com/AliyunContainerService/terway
steps:
- checkout

# specify any bash command here prefixed with `run: `
- run: go build -ldflags '-X "main.gitVer=HEAD" ' -o terwayd . && cd plugin && go build -o terway .
2 changes: 2 additions & 0 deletions README-zh_CN.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Terway 网络插件
CNI plugin for alibaba cloud VPC/ENI

[![CircleCI](https://circleci.com/gh/AliyunContainerService/terway.svg?style=svg)](https://circleci.com/gh/AliyunContainerService/terway)

[English](./README.md) | 简体中文

## 安装Kubernetes
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Terway CNI Network Plugin
CNI plugin for alibaba cloud VPC/ENI

[![CircleCI](https://circleci.com/gh/AliyunContainerService/terway.svg?style=svg)](https://circleci.com/gh/AliyunContainerService/terway)

English | [简体中文](./README-zh_CN.md)

## Try It:
Expand Down

0 comments on commit 80ac43a

Please sign in to comment.