Skip to content

Commit 8c0343b

Browse files
committed
Use local path for deployment as tmp is wiped on Cloud Shell
1 parent 7685a35 commit 8c0343b

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

examples/machine-learning/build-service-images/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ command for grabbing logs, e.g.:
5858
infrastructure (VPC), please perform following:
5959
6060
```sh
61-
gcluster destroy /tmp/build_a3m-slurm-image/roll --auto-approve
62-
gcluster destroy /tmp/build_common-slurm-image/roll --auto-approve
61+
gcluster destroy build_a3m-slurm-image/$USER-a3m-slurm-image/ --auto-approve
62+
gcluster destroy build_common-slurm-image/$USER-a3m-slurm-image/ --auto-approve
6363
```

examples/machine-learning/build-service-images/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ if [[ ! -d "$RECIPE" ]]; then
3030
fi
3131

3232
readonly FAMILY="$RECIPE-$SUFFIX"
33-
LONG_DEPLOYMENT_NAME="$USER-roll-$FAMILY"
33+
LONG_DEPLOYMENT_NAME="$USER-$FAMILY"
3434
readonly DEPLOYMENT_NAME="${LONG_DEPLOYMENT_NAME:0:31}"
3535

36-
readonly OUT_DIR="/tmp/build_$FAMILY"
36+
readonly OUT_DIR="./build_$FAMILY"
3737

3838
echo "Building image in family: $FAMILY"
3939
gcluster deploy "$RECIPE"/blueprint.yaml \

0 commit comments

Comments
 (0)