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
95775d0c
Unverified
Commit
95775d0c
authored
May 10, 2019
by
Matthew Fisher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(ci): push release assets to Azure and GCS
Signed-off-by:
Matthew Fisher
<
matt.fisher@microsoft.com
>
parent
b496f85b
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
32 additions
and
21 deletions
+32
-21
deploy.sh
.circleci/deploy.sh
+13
-0
Makefile
Makefile
+1
-1
install.md
docs/install.md
+4
-4
install_faq.md
docs/install_faq.md
+1
-2
release_checklist.md
docs/release_checklist.md
+12
-13
get
scripts/get
+1
-1
No files found.
.circleci/deploy.sh
View file @
95775d0c
...
...
@@ -22,6 +22,8 @@ fi
:
${
GCLOUD_SERVICE_KEY
:?
"GCLOUD_SERVICE_KEY environment variable is not set"
}
:
${
PROJECT_NAME
:?
"PROJECT_NAME environment variable is not set"
}
:
${
AZURE_STORAGE_CONNECTION_STRING
:?
"AZURE_STORAGE_CONNECTION_STRING environment variable is not set"
}
:
${
AZURE_STORAGE_CONTAINER_NAME
:?
"AZURE_STORAGE_CONTAINER_NAME environment variable is not set"
}
VERSION
=
if
[[
-n
"
${
CIRCLE_TAG
:-}
"
]]
;
then
...
...
@@ -50,6 +52,14 @@ ${HOME}/google-cloud-sdk/bin/gcloud auth activate-service-account --key-file "${
${
HOME
}
/google-cloud-sdk/bin/gcloud config
set
project
"
${
PROJECT_NAME
}
"
docker login
-u
_json_key
-p
"
$(
cat
${
HOME
}
/gcloud-service-key.json
)
"
https://gcr.io
echo
"Installing Azure CLI"
apt update
apt
install
-y
apt-transport-https
echo
"deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ stretch main"
|
tee
/etc/apt/sources.list.d/azure-cli.list
curl
-L
https://packages.microsoft.com/keys/microsoft.asc | apt-key add
apt update
apt
install
-y
azure-cli
echo
"Building the tiller image"
make docker-build
VERSION
=
"
${
VERSION
}
"
...
...
@@ -62,3 +72,6 @@ make dist checksum VERSION="${VERSION}"
echo
"Pushing binaries to gs bucket"
${
HOME
}
/google-cloud-sdk/bin/gsutil
cp
./_dist/
*
"gs://
${
PROJECT_NAME
}
"
echo
"Pushing binaries to Azure"
az storage blob upload-batch
-s
_dist/
-d
"
$AZURE_STORAGE_CONTAINER_NAME
"
--pattern
'helm-*'
--connection-string
"
$AZURE_STORAGE_CONNECTION_STRING
"
Makefile
View file @
95775d0c
...
...
@@ -50,7 +50,7 @@ fetch-dist:
mkdir
-p
_dist
cd
_dist
&&
\
for
obj
in
${
TARGET_OBJS
}
;
do
\
curl
-sSL
-o
helm-
${
VERSION
}
-
$$
{
obj
}
https://
storage.googleapis.com/kubernetes-helm
/helm-
${
VERSION
}
-
$$
{
obj
}
;
\
curl
-sSL
-o
helm-
${
VERSION
}
-
$$
{
obj
}
https://
get.helm.sh
/helm-
${
VERSION
}
-
$$
{
obj
}
;
\
done
.PHONY
:
sign
...
...
docs/install.md
View file @
95775d0c
...
...
@@ -83,12 +83,12 @@ the latest master branch. They are not official releases, and may not be
stable. However, they offer the opportunity to test the cutting edge
features.
Canary Helm binaries are stored
in the
[
Kubernetes Helm GCS bucket
](
https://kubernetes-helm.storage.googleapis.com
)
.
Canary Helm binaries are stored
at
[
get.helm.sh
](
https://get.helm.sh
)
.
Here are links to the common builds:
-
[
Linux AMD64
](
https://
kubernetes-helm.storage.googleapis.com
/helm-canary-linux-amd64.tar.gz
)
-
[
macOS AMD64
](
https://
kubernetes-helm.storage.googleapis.com
/helm-canary-darwin-amd64.tar.gz
)
-
[
Experimental Windows AMD64
](
https://
kubernetes-helm.storage.googleapis.com
/helm-canary-windows-amd64.zip
)
-
[
Linux AMD64
](
https://
get.helm.sh
/helm-canary-linux-amd64.tar.gz
)
-
[
macOS AMD64
](
https://
get.helm.sh
/helm-canary-darwin-amd64.tar.gz
)
-
[
Experimental Windows AMD64
](
https://
get.helm.sh
/helm-canary-windows-amd64.zip
)
### From Source (Linux, macOS)
...
...
docs/install_faq.md
View file @
95775d0c
...
...
@@ -13,8 +13,7 @@ I want to know more about my downloading options.
**Q: I can't get to GitHub releases of the newest Helm. Where are they?**
A: We no longer use GitHub releases. Binaries are now stored in a
[
GCS public bucket
](
https://kubernetes-helm.storage.googleapis.com
)
.
Binaries are stored at
[
get.helm.sh
](
https://get.helm.sh
)
.
**Q: Why aren't there Debian/Fedora/... native packages of Helm?**
...
...
docs/release_checklist.md
View file @
95775d0c
...
...
@@ -195,25 +195,24 @@ CircleCI will automatically create a tagged release image and client binary to
test with.
For testers, the process to start testing after CircleCI finishes building the
artifacts involves the following steps to grab the client from Google Cloud
Storage:
artifacts involves the following steps to grab the client:
linux/amd64, using /bin/bash:
```
shell
wget https://
kubernetes-helm.storage.googleapis.com
/helm-
$RELEASE_CANDIDATE_NAME
-linux-amd64
.tar.gz
wget https://
get.helm.sh
/helm-
$RELEASE_CANDIDATE_NAME
-linux-amd64
.tar.gz
```
darwin/amd64, using Terminal.app:
```
shell
wget https://
kubernetes-helm.storage.googleapis.com
/helm-
$RELEASE_CANDIDATE_NAME
-darwin-amd64
.tar.gz
wget https://
get.helm.sh
/helm-
$RELEASE_CANDIDATE_NAME
-darwin-amd64
.tar.gz
```
windows/amd64, using PowerShell:
```
shell
PS C:
\>
Invoke-WebRequest
-Uri
"https://
kubernetes-helm.storage.googleapis.com
/helm-
$RELEASE_CANDIDATE_NAME
-windows-amd64.zip"
-OutFile
"helm-
$ReleaseCandidateName
-windows-amd64.zip"
PS C:
\>
Invoke-WebRequest
-Uri
"https://
get.helm.sh
/helm-
$RELEASE_CANDIDATE_NAME
-windows-amd64.zip"
-OutFile
"helm-
$ReleaseCandidateName
-windows-amd64.zip"
```
Then, unpack and move the binary to somewhere on your $PATH, or move it
...
...
@@ -322,14 +321,14 @@ The community keeps growing, and we'd love to see you there!
Download Helm X.Y. The common platform binaries are here:
-
[
MacOS amd64
](
https://
storage.googleapis.com/kubernetes-helm/helm-vX.Y.Z-darwin-amd64.tar.gz
)
(
[checksum](https://storage.googleapis.com/kubernetes-helm
/helm-vX.Y.Z-darwin-amd64.tar.gz.sha256
)
/ CHECKSUM_VAL)
-
[
Linux amd64
](
https://
storage.googleapis.com/kubernetes-helm/helm-vX.Y.Z-linux-amd64.tar.gz
)
(
[checksum](https://storage.googleapis.com/kubernetes-helm
/helm-vX.Y.Z-linux-amd64.tar.gz.sha256
)
/ CHECKSUM_VAL)
-
[
Linux arm
](
https://
storage.googleapis.com/kubernetes-helm/helm-vX.Y.Z-linux-arm.tar.gz
)
(
[checksum](https://storage.googleapis.com/kubernetes-helm
/helm-vX.Y.Z-linux-arm.tar.gz.sha256
)
/ CHECKSUM_VAL)
-
[
Linux arm64
](
https://
storage.googleapis.com/kubernetes-helm/helm-vX.Y.Z-linux-arm64.tar.gz
)
(
[checksum](https://storage.googleapis.com/kubernetes-helm
/helm-vX.Y.Z-linux-arm64.tar.gz.sha256
)
/ CHECKSUM_VAL)
-
[
Linux i386
](
https://
storage.googleapis.com/kubernetes-helm/helm-vX.Y.Z-linux-386.tar.gz
)
(
[checksum](https://storage.googleapis.com/kubernetes-helm
/helm-vX.Y.Z-linux-386.tar.gz.sha256
)
/ CHECKSUM_VAL)
-
[
Linux ppc64le
](
https://
storage.googleapis.com/kubernetes-helm/helm-vX.Y.Z-linux-ppc64le.tar.gz
)
(
[checksum](https://storage.googleapis.com/kubernetes-helm
/helm-vX.Y.Z-linux-ppc64le.tar.gz.sha256
)
/ CHECKSUM_VAL)
-
[
Linux s390x
](
https://
storage.googleapis.com/kubernetes-helm/helm-vX.Y.Z-linux-s390x.tar.gz
)
(
[checksum](https://storage.googleapis.com/kubernetes-helm
/helm-vX.Y.Z-linux-s390x.tar.gz.sha256
)
/ CHECKSUM_VAL)
-
[
Windows amd64
](
https://
storage.googleapis.com/kubernetes-helm/helm-vX.Y.Z-windows-amd64.zip
)
(
[checksum](https://storage.googleapis.com/kubernetes-helm
/helm-vX.Y.Z-windows-amd64.zip.sha256
)
/ CHECKSUM_VAL)
-
[
MacOS amd64
](
https://
get.helm.sh/helm-vX.Y.Z-darwin-amd64.tar.gz
)
(
[checksum](https://get.helm.sh
/helm-vX.Y.Z-darwin-amd64.tar.gz.sha256
)
/ CHECKSUM_VAL)
-
[
Linux amd64
](
https://
get.helm.sh/helm-vX.Y.Z-linux-amd64.tar.gz
)
(
[checksum](https://get.helm.sh
/helm-vX.Y.Z-linux-amd64.tar.gz.sha256
)
/ CHECKSUM_VAL)
-
[
Linux arm
](
https://
get.helm.sh/helm-vX.Y.Z-linux-arm.tar.gz
)
(
[checksum](https://get.helm.sh
/helm-vX.Y.Z-linux-arm.tar.gz.sha256
)
/ CHECKSUM_VAL)
-
[
Linux arm64
](
https://
get.helm.sh/helm-vX.Y.Z-linux-arm64.tar.gz
)
(
[checksum](https://get.helm.sh
/helm-vX.Y.Z-linux-arm64.tar.gz.sha256
)
/ CHECKSUM_VAL)
-
[
Linux i386
](
https://
get.helm.sh/helm-vX.Y.Z-linux-386.tar.gz
)
(
[checksum](https://get.helm.sh
/helm-vX.Y.Z-linux-386.tar.gz.sha256
)
/ CHECKSUM_VAL)
-
[
Linux ppc64le
](
https://
get.helm.sh/helm-vX.Y.Z-linux-ppc64le.tar.gz
)
(
[checksum](https://get.helm.sh
/helm-vX.Y.Z-linux-ppc64le.tar.gz.sha256
)
/ CHECKSUM_VAL)
-
[
Linux s390x
](
https://
get.helm.sh/helm-vX.Y.Z-linux-s390x.tar.gz
)
(
[checksum](https://get.helm.sh
/helm-vX.Y.Z-linux-s390x.tar.gz.sha256
)
/ CHECKSUM_VAL)
-
[
Windows amd64
](
https://
get.helm.sh/helm-vX.Y.Z-windows-amd64.zip
)
(
[checksum](https://get.helm.sh
/helm-vX.Y.Z-windows-amd64.zip.sha256
)
/ CHECKSUM_VAL)
Once you have the client installed, upgrade Tiller with
`helm init --upgrade`
.
...
...
scripts/get
View file @
95775d0c
...
...
@@ -111,7 +111,7 @@ checkHelmInstalledVersion() {
# for that binary.
downloadFile
()
{
HELM_DIST
=
"helm-
$TAG
-
$OS
-
$ARCH
.tar.gz"
DOWNLOAD_URL
=
"https://
kubernetes-helm.storage.googleapis.com
/
$HELM_DIST
"
DOWNLOAD_URL
=
"https://
get.helm.sh
/
$HELM_DIST
"
CHECKSUM_URL
=
"
$DOWNLOAD_URL
.sha256"
HELM_TMP_ROOT
=
"
$(
mktemp
-dt
helm-installer-XXXXXX
)
"
HELM_TMP_FILE
=
"
$HELM_TMP_ROOT
/
$HELM_DIST
"
...
...
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