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
ed100ce2
Commit
ed100ce2
authored
Sep 29, 2016
by
Adam Reese
Committed by
GitHub
Sep 29, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1251 from adamreese/feat/automate-release
feat(ci): automate release builds on circleci
parents
0a4fa219
94c30847
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
1 deletion
+21
-1
circle.yml
circle.yml
+21
-1
No files found.
circle.yml
View file @
ed100ce2
...
...
@@ -38,7 +38,27 @@ test:
parallel
:
true
deployment
:
gcr
:
release
:
tag
:
/.*/
commands
:
# setup gcloud tools
-
sudo /opt/google-cloud-sdk/bin/gcloud --quiet components update
-
echo "${GCLOUD_SERVICE_KEY}" | base64 --decode > "${HOME}/gcloud-service-key.json"
-
sudo /opt/google-cloud-sdk/bin/gcloud auth activate-service-account --key-file "${HOME}/gcloud-service-key.json"
-
sudo /opt/google-cloud-sdk/bin/gcloud config set project "${PROJECT_NAME}"
-
docker login -e 1234@5678.com -u _json_key -p "$(cat ${HOME}/gcloud-service-key.json)" https://gcr.io
# build canary tiller image and push
-
make docker-build VERSION="${CIRCLE_TAG}"
-
docker push "gcr.io/kubernetes-helm/tiller:${CIRCLE_TAG}"
-
docker push gcr.io/kubernetes-helm/tiller:canary
# build canary helm binaries and push
-
make build-cross
-
make dist VERSION="${CIRCLE_TAG}"
-
sudo /opt/google-cloud-sdk/bin/gsutil cp ./_dist/* "gs://${PROJECT_NAME}"
canary
:
branch
:
master
commands
:
# setup gcloud tools
...
...
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