Skip to content

Commit

Permalink
Update dev env instructions
Browse files Browse the repository at this point in the history
Change-Id: I17b48e9ac55735827762347dc8c3f68811cf4861
  • Loading branch information
Leo committed Dec 2, 2021
1 parent 0c74719 commit a00cafa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions DEVELOP.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ You can then use our regular Git and Gerrit workflow as detailed in [Submit chan
After cloning the repo, run the setup script. It expects to run as a regular user account with sudo permissions.
It installs Go, Minikube, Tilt and any other dependencies required for Wormhole development:

cd wormhole
scripts/dev-setup.sh

You then need to close and re-open your session to apply the new environment.
Expand Down
4 changes: 2 additions & 2 deletions scripts/dev-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ GO=1.17.3
. /etc/profile.d/local_go.sh

# Install Docker and add ourselves to Docker group
if [[ ! -d /var/lib/docker ]]; then
if [[ ! -f /usr/bin/docker ]]; then
TMP=$(mktemp -d)
(
cd "$TMP"
Expand Down Expand Up @@ -104,7 +104,7 @@ function use-namespace {
export DOCKER_BUILDKIT=1
alias start-recommended-minikube="minikube start --driver=docker --kubernetes-version=v1.22.3 --cpus=16 --memory=16G --disk-size=120g"
alias start-recommended-minikube="minikube start --driver=docker --kubernetes-version=v1.22.3 --cpus=16 --memory=16G --disk-size=120g && kubectl config set-context --current --namespace=wormhole"
EOF

cat <<EOF
Expand Down

0 comments on commit a00cafa

Please sign in to comment.