Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.

Shell script to create env variables in case of cloud shell timeout#55

Open
screamyao wants to merge 19 commits into
Azure:masterfrom
evillgenius75:master
Open

Shell script to create env variables in case of cloud shell timeout#55
screamyao wants to merge 19 commits into
Azure:masterfrom
evillgenius75:master

Conversation

@screamyao

Copy link
Copy Markdown

Create a shell script to generate environment variables in case of cloud shell timeout

  1. Create env.sh file under ~
nano ~/env.sh
  1. Copy & paste below and save
#!bin/bash
export PATH="$PATH:~/ks_0.13.1_linux_amd64/"
echo "PATH=$PATH"
export KUBEFLOW_SRC=$(realpath kubeflow)
echo "KUBEFLOW_SRC=$KUBEFLOW_SRC"
export KUBEFLOW_TAG=v0.4.1
echo "KUBEFLOW_TAG=$KUBEFLOW_TAG"
export KFAPP=mykubeflowapp
echo "KFAPP=$KFAPP"
  1. Change permission to executable
chmod +x ~/env.sh
  1. Run below to set the variables in case of cloud shell timeout
source ~/env.sh

@msftclas

msftclas commented Apr 5, 2019

Copy link
Copy Markdown

CLA assistant check
All CLA requirements met.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants