Compare commits

...
Author SHA1 Message Date
Andrew Ferlitsch 16bdff1877 fix: enable service 2023-06-05 22:01:07 +00:00
Andrew Ferlitsch 40ce8f7b1e fix: unique repo name 2023-06-05 21:14:41 +00:00
Andrew Ferlitsch 3dcaa82ba2 fix: cleanup AR 2023-06-05 20:27:42 +00:00
Andrew Ferlitsch e37d4d0cc6 fix: cleanup AR 2023-06-05 20:25:29 +00:00
2 changed files with 9 additions and 4 deletions
@@ -68,7 +68,6 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "9f34250c9e39"
@@ -1006,7 +1005,9 @@
},
"outputs": [],
"source": [
"PRIVATE_REPO = \"my-docker-repo\"\n",
"PRIVATE_REPO = \"my-docker-repo-unique\"\n",
"\n",
"! gcloud services enable artifactregistry.googleapis.com\n",
"\n",
"! gcloud artifacts repositories create {PRIVATE_REPO} --repository-format=docker --location={REGION} --description=\"Docker repository\"\n",
"\n",
@@ -1308,7 +1309,9 @@
" ! gsutil rm -r $BUCKET_URI\n",
"\n",
"if delete_tensorboard or os.getenv(\"IS_TESTING\"):\n",
" tensorboard.delete()"
" tensorboard.delete()\n",
"\n",
"! gcloud artifacts repositories delete {PRIVATE_REPO} --location={REGION}"
]
}
],
@@ -1512,7 +1512,9 @@
" ! gsutil rm -r $BUCKET_URI\n",
"\n",
"if delete_tensorboard or os.getenv(\"IS_TESTING\"):\n",
" tensorboard.delete()"
" tensorboard.delete()\n",
"\n",
"! gcloud artifacts repositories delete {PRIVATE_REPO} --location={REGION}"
]
}
],