Skip to content

Commit

Permalink
Merge pull request #195 from vespa-engine/tgm/remove-docker-cloud-fro…
Browse files Browse the repository at this point in the history
…m-package

VespaDocker and VespaCloud now only available from deployment module
  • Loading branch information
Thiago G. Martins authored Aug 27, 2021
2 parents 8b498ff + fb76f7d commit 55efef1
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 713 deletions.
2 changes: 1 addition & 1 deletion docs/sphinx/source/create-and-deploy-vespa-cloud.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
"outputs": [],
"source": [
"import os\n",
"from vespa.package import VespaCloud\n",
"from vespa.deployment import VespaCloud\n",
"\n",
"vespa_cloud = VespaCloud(\n",
" tenant=\"vespa-team\",\n",
Expand Down
2 changes: 1 addition & 1 deletion docs/sphinx/source/create-and-deploy-vespa-docker.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
"outputs": [],
"source": [
"import os\n",
"from vespa.package import VespaDocker\n",
"from vespa.deployment import VespaDocker\n",
"\n",
"disk_folder = os.path.join(os.getenv(\"WORK_DIR\"), \"sample_application\")\n",
"vespa_docker = VespaDocker(port=8089, disk_folder=disk_folder)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
],
"source": [
"import os\n",
"from vespa.package import VespaDocker\n",
"from vespa.deployment import VespaDocker\n",
"\n",
"disk_folder = os.path.join(os.getenv(\"WORK_DIR\"), \"sample_application\") # specify your desired absolute path here\n",
"vespa_docker = VespaDocker(\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"source": [
"# this is a hidden cell. It will not show on the documentation HTML.\n",
"import os\n",
"from vespa.package import VespaDocker\n",
"from vespa.deployment import VespaDocker\n",
"from vespa.gallery import QuestionAnswering\n",
"\n",
"app_package = QuestionAnswering()\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
],
"source": [
"import os\n",
"from vespa.package import VespaDocker\n",
"from vespa.deployment import VespaDocker\n",
"\n",
"disk_folder = os.path.join(os.getenv(\"WORK_DIR\"), \"sample_application\")\n",
"vespa_docker = VespaDocker(\n",
Expand Down Expand Up @@ -344,7 +344,7 @@
],
"source": [
"import os\n",
"from vespa.package import VespaDocker\n",
"from vespa.deployment import VespaDocker\n",
"\n",
"disk_folder_news = os.path.join(os.getenv(\"WORK_DIR\"), \"sample-apps/news/app-3-searching/\")\n",
"vespa_docker_news = VespaDocker(\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@
],
"source": [
"import os\n",
"from vespa.package import VespaDocker\n",
"from vespa.deployment import VespaDocker\n",
"\n",
"disk_folder = os.path.join(os.getenv(\"WORK_DIR\"), \"sample_application\")\n",
"vespa_docker = VespaDocker(\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
],
"source": [
"import os\n",
"from vespa.package import VespaDocker\n",
"from vespa.deployment import VespaDocker\n",
"\n",
"disk_folder = os.path.join(os.getenv(\"WORK_DIR\"), \"sample_application\")\n",
"vespa_docker = VespaDocker(port=8089, disk_folder=disk_folder)\n",
Expand Down
Loading

0 comments on commit 55efef1

Please sign in to comment.