From c05b7091c8fb63b3b47f247e70457d9d67bc1b6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=BChnel?= Date: Mon, 4 Nov 2019 14:48:00 +0100 Subject: [PATCH] added gcloud to windows playbook --- docs/playbooks.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/playbooks.md b/docs/playbooks.md index 5aa7ddf..59a0333 100644 --- a/docs/playbooks.md +++ b/docs/playbooks.md @@ -62,7 +62,8 @@ These are the steps to set up the build server on a clean infrastructure: If you want to build/update/test docker container for Windows, you need to do this on a Windows machine. Here are the instructions to set up such a machine on GCP. General hints: -* Do *not ever ever* use paths with white spaces in them. +* Use a GCP instance with "presistent SSD". This is much faster the the "persistent Disk". +* Try to avoid paths with white spaces in them. * You need to [configure Internet Explorer to allow downloads](https://improveandrepeat.com/2018/03/internet-explorer-on-windows-server-enable-file-downloads/). * Install Chrome, as Internet Explorer is a bit outdated. * Install a nice IDE to edit Dockerfiles and scripts. [VS Code](https://code.visualstudio.com/Download) is a good option. @@ -78,5 +79,7 @@ General hints: * You will need a DockerHub account to download the installer. * Select "use Windows containers" during installation. * Start the "Docker Desktop" application, it will set up the required services for you. +6. Install [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/). +7. Install [gcloud](https://cloud.google.com/sdk/docs/quickstart-windows) and set it up according to the instructions. Then run `gcloud auth configure-docker` to authorize docker to push images. Check your installation by running "docker build ." in the `containers/agent_windows` folder. \ No newline at end of file