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

Conversation

@screamyao
Copy link

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
Copy link

msftclas commented Apr 5, 2019

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