Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
8aed1035
Commit
8aed1035
authored
Sep 07, 2017
by
Maciej Kwiek
Committed by
GitHub
Sep 07, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2838 from nebril/circle2
CircleCI 2 config
parents
1ac5cd78
4e970172
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
52 deletions
+46
-52
config.yml
.circleci/config.yml
+46
-0
circle.yml
circle.yml
+0
-52
No files found.
.circleci/config.yml
0 → 100644
View file @
8aed1035
version
:
2
jobs
:
build
:
working_directory
:
/go/src/k8s.io/helm
parallelism
:
3
docker
:
-
image
:
golang:1.8
environment
:
PROJECT_NAME
:
"
kubernetes-helm"
steps
:
-
checkout
-
run
:
name
:
install dependencies
command
:
make bootstrap
-
run
:
name
:
go env
command
:
go env
-
save_cache
:
key
:
vendor-{{ checksum "glide.yaml" }}-{{ checksum "glide.lock" }}
paths
:
-
vendor
-
run
:
name
:
test
command
:
./scripts/ci.sh
deployment
:
working_directory
:
/go/src/k8s.io/helm
docker
:
-
image
:
golang:1.8
environment
:
PROJECT_NAME
:
"
kubernetes-helm"
filters
:
tags
:
only
:
/.*/
branches
:
only
:
master
steps
:
-
checkout
-
restore_cache
:
keys
:
-
vendor-{{ checksum "glide.yaml" }}-{{ checksum "glide.lock" }}
-
run
:
name
:
go env
command
:
go env
-
deploy
:
name
:
deploy
command
:
./scripts/ci/deploy.sh
circle.yml
deleted
100644 → 0
View file @
1ac5cd78
machine
:
pre
:
-
curl -sSL https://s3.amazonaws.com/circle-downloads/install-circleci-docker.sh | bash -s -- 1.10.0
environment
:
GOVERSION
:
"
1.8.3"
GOPATH
:
"
${HOME}/.go_workspace"
WORKDIR
:
"
${GOPATH}/src/k8s.io/helm"
PROJECT_NAME
:
"
kubernetes-helm"
services
:
-
docker
dependencies
:
cache_directories
:
-
"
~/.glide"
pre
:
# remove old go files
-
sudo rm -rf /usr/local/go
-
rm -rf "$GOPATH"
override
:
# install go
-
wget "https://storage.googleapis.com/golang/go${GOVERSION}.linux-amd64.tar.gz" -O "${HOME}/go${GOVERSION}.tar.gz"
-
sudo tar -C /usr/local -xzf "${HOME}/go${GOVERSION}.tar.gz"
# move repository to the canonical import path
-
mkdir -p "$(dirname ${WORKDIR})"
-
cp -R "${HOME}/helm" "${WORKDIR}"
# install dependencies
-
cd "${WORKDIR}" && make bootstrap
post
:
-
go env
test
:
override
:
-
cd "${WORKDIR}" && ./scripts/ci.sh
:
parallel
:
true
deployment
:
release
:
tag
:
/.*/
commands
:
-
cd "${WORKDIR}" && ./scripts/ci/deploy.sh
canary
:
branch
:
master
commands
:
-
cd "${WORKDIR}" && ./scripts/ci/deploy.sh
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment