Skip to content

Commit 65ae1bb

Browse files
committed
Align gcloud install with official instructions
Fixes the DA part of lewagon/teachers#3932 The instructions are now fully aligned with the official instructions from Google. Also in the same order. Also added the `apt-get update`. In the normal setup it's superfluous because we did it in a prior step, but it's good to have it here if ever one needs to do it at another time (e.g. in Part Time / Flex where we do Google Cloud in a later phase). Also removed the CLI for App Engine, which is not used in DA. (It originates from copying the original DS Setup.)
1 parent 656f4fa commit 65ae1bb

2 files changed

Lines changed: 6 additions & 8 deletions

File tree

‎_partials/es/ubuntu_gcloud.md‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33
Instala la CLI de `gcloud` para comunicar con [Google Cloud Platform](https://cloud.google.com/) a través de la terminal:
44

55
```bash
6+
sudo apt-get update && sudo apt-get install ca-certificates gnupg curl
7+
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg
68
echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
7-
sudo apt-get install apt-transport-https ca-certificates gnupg
8-
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -
9-
sudo apt-get update && sudo apt-get install google-cloud-sdk
10-
sudo apt-get install google-cloud-sdk-app-engine-python
9+
sudo apt-get update && sudo apt-get install google-cloud-cli
1110
```
1211

1312
👉 [Documentación para la instalación](https://cloud.google.com/sdk/docs/install#deb)

‎_partials/ubuntu_gcloud.md‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33
Install the `gcloud` CLI to communicate with [Google Cloud Platform](https://cloud.google.com/) through your terminal:
44

55
```bash
6+
sudo apt-get update && sudo apt-get install ca-certificates gnupg curl
7+
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg
68
echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
7-
sudo apt-get install apt-transport-https ca-certificates gnupg
8-
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -
9-
sudo apt-get update && sudo apt-get install google-cloud-sdk
10-
sudo apt-get install google-cloud-sdk-app-engine-python
9+
sudo apt-get update && sudo apt-get install google-cloud-cli
1110
```
1211

1312
👉 [Install documentation](https://cloud.google.com/sdk/docs/install#deb)

0 commit comments

Comments
 (0)