Skip to content

Commit 1d5aa38

Browse files
julesvanriegithub-actions
andauthored
Align gcloud install with official instructions (#6)
* Ignore .DS_Store files generated by macOS * 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.) * setup guides generated --------- Co-authored-by: github-actions <github-actions@github.com>
1 parent bc7fccf commit 1d5aa38

6 files changed

Lines changed: 16 additions & 20 deletions

File tree

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
.bundle/
22
vendor/
3+
.DS_Store

‎LINUX.md‎

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

414414
```bash
415+
sudo apt-get update && sudo apt-get install ca-certificates gnupg curl
416+
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg
415417
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
416-
sudo apt-get install apt-transport-https ca-certificates gnupg
417-
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -
418-
sudo apt-get update && sudo apt-get install google-cloud-sdk
419-
sudo apt-get install google-cloud-sdk-app-engine-python
418+
sudo apt-get update && sudo apt-get install google-cloud-cli
420419
```
421420

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

‎VM.md‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -535,11 +535,10 @@ gh auth status
535535

536536
Install the `gcloud` CLI to communicate with [Google Cloud Platform](https://cloud.google.com/) through your terminal:
537537
```bash
538+
sudo apt-get update && sudo apt-get install ca-certificates gnupg curl
539+
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg
538540
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
539-
sudo apt-get install apt-transport-https ca-certificates gnupg
540-
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -
541-
sudo apt-get update && sudo apt-get install google-cloud-sdk
542-
sudo apt-get install google-cloud-sdk-app-engine-python
541+
sudo apt-get update && sudo apt-get install google-cloud-cli
543542
```
544543
👉 [Install documentation](https://cloud.google.com/sdk/docs/install#deb)
545544

‎WINDOWS.md‎

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

857857
```bash
858+
sudo apt-get update && sudo apt-get install ca-certificates gnupg curl
859+
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg
858860
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
859-
sudo apt-get install apt-transport-https ca-certificates gnupg
860-
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -
861-
sudo apt-get update && sudo apt-get install google-cloud-sdk
862-
sudo apt-get install google-cloud-sdk-app-engine-python
861+
sudo apt-get update && sudo apt-get install google-cloud-cli
863862
```
864863

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

‎_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)