Skip to content

Commit

Permalink
Add Kaggle env var
Browse files Browse the repository at this point in the history
  • Loading branch information
sampathweb committed Feb 26, 2024
1 parent c15d9b2 commit 2b4bf1d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .kokoro/github/ubuntu/gpu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@ export KAGGLE_USERNAME="$(cat ${KOKORO_KEYSTORE_DIR}/73361_keras_kaggle_username

if [[ -z "${KAGGLE_KEY}" ]]; then
echo "KAGGLE_KEY is NOT set"
exit 1
fi

set -x

if [[ -z "${KAGGLE_USERNAME}" ]]; then
echo "KAGGLE_USERNAME is NOT set"
exit 1
fi

set -x

cd "${KOKORO_ROOT}/"

sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1
Expand Down

0 comments on commit 2b4bf1d

Please sign in to comment.