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
Show 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
...
@@ -22,6 +22,8 @@ fi
:
${
GCLOUD_SERVICE_KEY
:?
"GCLOUD_SERVICE_KEY environment variable is not set"
}
:
${
GCLOUD_SERVICE_KEY
:?
"GCLOUD_SERVICE_KEY environment variable is not set"
}
:
${
PROJECT_NAME
:?
"PROJECT_NAME 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
=
VERSION
=
if
[[
-n
"
${
CIRCLE_TAG
:-}
"
]]
;
then
if
[[
-n
"
${
CIRCLE_TAG
:-}
"
]]
;
then
...
@@ -50,6 +52,14 @@ ${HOME}/google-cloud-sdk/bin/gcloud auth activate-service-account --key-file "${
...
@@ -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
}
"
${
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
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"
echo
"Building the tiller image"
make docker-build
VERSION
=
"
${
VERSION
}
"
make docker-build
VERSION
=
"
${
VERSION
}
"
...
@@ -62,3 +72,6 @@ make dist checksum VERSION="${VERSION}"
...
@@ -62,3 +72,6 @@ make dist checksum VERSION="${VERSION}"
echo
"Pushing binaries to gs bucket"
echo
"Pushing binaries to gs bucket"
${
HOME
}
/google-cloud-sdk/bin/gsutil
cp
./_dist/
*
"gs://
${
PROJECT_NAME
}
"
${
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:
...
@@ -50,7 +50,7 @@ fetch-dist:
mkdir
-p
_dist
mkdir
-p
_dist
cd
_dist
&&
\
cd
_dist
&&
\
for
obj
in
${
TARGET_OBJS
}
;
do
\
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
done
.PHONY
:
sign
.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
...
@@ -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
stable. However, they offer the opportunity to test the cutting edge
features.
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:
Here are links to the common builds:
-
[
Linux AMD64
](
https://
kubernetes-helm.storage.googleapis.com
/helm-canary-linux-amd64.tar.gz
)
-
[
Linux AMD64
](
https://
get.helm.sh
/helm-canary-linux-amd64.tar.gz
)
-
[
macOS AMD64
](
https://
kubernetes-helm.storage.googleapis.com
/helm-canary-darwin-amd64.tar.gz
)
-
[
macOS AMD64
](
https://
get.helm.sh
/helm-canary-darwin-amd64.tar.gz
)
-
[
Experimental Windows AMD64
](
https://
kubernetes-helm.storage.googleapis.com
/helm-canary-windows-amd64.zip
)
-
[
Experimental Windows AMD64
](
https://
get.helm.sh
/helm-canary-windows-amd64.zip
)
### From Source (Linux, macOS)
### From Source (Linux, macOS)
...
...
docs/install_faq.md
View file @
95775d0c
...
@@ -13,8 +13,7 @@ I want to know more about my downloading options.
...
@@ -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?**
**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
Binaries are stored at
[
get.helm.sh
](
https://get.helm.sh
)
.
[
GCS public bucket
](
https://kubernetes-helm.storage.googleapis.com
)
.
**Q: Why aren't there Debian/Fedora/... native packages of Helm?**
**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
...
@@ -195,25 +195,24 @@ CircleCI will automatically create a tagged release image and client binary to
test with.
test with.
For testers, the process to start testing after CircleCI finishes building the
For testers, the process to start testing after CircleCI finishes building the
artifacts involves the following steps to grab the client from Google Cloud
artifacts involves the following steps to grab the client:
Storage:
linux/amd64, using /bin/bash:
linux/amd64, using /bin/bash:
```
shell
```
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:
darwin/amd64, using Terminal.app:
```
shell
```
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:
windows/amd64, using PowerShell:
```
shell
```
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
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!
...
@@ -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:
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)
-
[
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://
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 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://
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 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://
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 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://
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 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://
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 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://
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)
-
[
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://
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)
-
[
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`
.
Once you have the client installed, upgrade Tiller with
`helm init --upgrade`
.
...
...
scripts/get
View file @
95775d0c
...
@@ -111,7 +111,7 @@ checkHelmInstalledVersion() {
...
@@ -111,7 +111,7 @@ checkHelmInstalledVersion() {
# for that binary.
# for that binary.
downloadFile
()
{
downloadFile
()
{
HELM_DIST
=
"helm-
$TAG
-
$OS
-
$ARCH
.tar.gz"
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"
CHECKSUM_URL
=
"
$DOWNLOAD_URL
.sha256"
HELM_TMP_ROOT
=
"
$(
mktemp
-dt
helm-installer-XXXXXX
)
"
HELM_TMP_ROOT
=
"
$(
mktemp
-dt
helm-installer-XXXXXX
)
"
HELM_TMP_FILE
=
"
$HELM_TMP_ROOT
/
$HELM_DIST
"
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