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
f7f9b835
Commit
f7f9b835
authored
Dec 11, 2015
by
Brendan Melville
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding script to push the client and a simple install script.
parent
593e95f9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
60 additions
and
0 deletions
+60
-0
get-install.sh
get-install.sh
+33
-0
dm-push.sh
hack/dm-push.sh
+27
-0
No files found.
get-install.sh
0 → 100755
View file @
f7f9b835
#!/usr/bin/env bash
set
-euo
pipefail
PLATFORM
=
$(
uname
|
tr
'[:upper:]'
'[:lower:]'
)
ARCH
=
$(
uname
-m
)
STORAGE_URL
=
http://get-dm.storage.googleapis.com
ZIP
=
dm-latest-
${
PLATFORM
}
-
${
ARCH
}
.zip
echo
"Downloading
${
ZIP
}
..."
curl
-Ls
"
${
STORAGE_URL
}
/
${
ZIP
}
"
-O
unzip
-qo
${
ZIP
}
rm
${
ZIP
}
chmod
+x dm
cat
<<
EOF
dm is now available in your current directory.
Before using it, please install the Deployment Manager service in your
kubernetes cluster by running
$
kubectl create -f install.yaml
To get started, run:
$
./dm
EOF
hack/dm-push.sh
0 → 100755
View file @
f7f9b835
#!/usr/bin/env bash
#
# Run this from deployment-manager root to build and push the dm client into
# the publicly readable GCS bucket gs://get-dm.
#
# Must have EDIT permissions on the dm-k8s-testing GCP project.
set
-euo
pipefail
PLATFORM
=
$(
uname
|
tr
'[:upper:]'
'[:lower:]'
)
ARCH
=
$(
uname
-m
)
STORAGE_BUCKET
=
gs://get-dm
ZIP
=
dm-latest-
${
PLATFORM
}
-
${
ARCH
}
.zip
echo
"Building..."
make
echo
"Zipping
${
ZIP
}
..."
zip
-j
${
ZIP
}
${
GOPATH
}
/bin/dm
echo
"Uploading
${
ZIP
}
to
${
STORAGE_BUCKET
}
..."
gsutil
cp
${
ZIP
}
${
STORAGE_BUCKET
}
rm
${
ZIP
}
echo
"Done."
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