Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions api/lab-bundle-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,7 @@ attribute | required | type | notes
------------------- | -------- | ----- | -----
permissions | ✓ | array | Array of project/roles(array) pairs
startup_script.path | | path | Relative path to a file with the script contents.
version | | int | Major version of the resource.

```yaml
- type: cloud_terminal
Expand All @@ -539,6 +540,7 @@ startup_script.path | | path | Relative path to a file with the script
- roles/editor
startup_script:
path: startup.sh
version: 1
```

Note: Due to a limitation in Qwiklabs, you must specify `roles/editor` on
Expand Down Expand Up @@ -646,12 +648,14 @@ running `git clone`) or modify the associated GCP project by running `gcloud`,
attribute | required | type | notes
------------------- | -------- | ---- | -----
startup_script.path | | path | Relative path to a file with the script contents.
version | | int | Major version of the resource.

```yaml
- type: linux_terminal
id: terminal
startup_script:
path: startup.sh
version: 1
```

###### Variants for Linux Terminal
Expand All @@ -675,6 +679,7 @@ attribute | required | type | notes
------------------- | -------- | ----- | -----
permissions | ✓ | array | Array of project/roles(array) pairs
startup_script.path | | path | Relative path to a file with the script contents.
version | | int | Major version of the resource.

```yaml
- type: looker_instance
Expand All @@ -685,6 +690,7 @@ startup_script.path | | path | Relative path to a file with the script
- roles/editor
startup_script:
path: startup.sh
version: 1
```

Note: Even though the spec supports any number of projects with any number
Expand Down Expand Up @@ -807,6 +813,7 @@ attribute | required | type | notes
------------------- | -------- | ---- | -----
startup_script.path | | path | Relative path to a file with the script contents.
student_files | | path | Relative path to a directory student file contents.
version | | int | Major version of the resource.

```yaml
- type: ide
Expand All @@ -815,6 +822,7 @@ student_files | | path | Relative path to a directory student fil
path: startup/startup.sh
student_files:
- path: student_files
version: 1
```

###### Student Files
Expand All @@ -838,6 +846,7 @@ attribute | required | type | notes
------------------- | -------- | ---- | -----
startup_script.path | | path | Relative path to a file with the script contents.
student_files | | path | Relative path to a directory student file contents.
version | | int | Major version of the resource.

```yaml
- type: jupyter_notebook
Expand All @@ -846,6 +855,7 @@ student_files | | path | Relative path to a directory student fil
path: startup/startup.sh
student_files:
- path: student_files
version: 1
```

<!-- TODO(b/273306870): Replace the jovyan work directory with a qwiklabs work directory. -->
Expand Down Expand Up @@ -933,13 +943,15 @@ is necessary to calculate the score.
attribute | required | type | notes
------------------- | -------- | ---- | -----
startup_script.path | | path | Relative path to a file with the script contents.
version | | int | Major version of the resource.

```yaml
- type: windows_vm
variant: it_cert
id: vm
startup_script:
path: startup.ps1
version: 1
```

###### Variants for Windows VM
Expand Down
12 changes: 12 additions & 0 deletions github-lab-bundle-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,7 @@ attribute | required | type | notes
------------------- | -------- | ----- | -----
permissions | ✓ | array | Array of project/roles(array) pairs
startup_script.path | | path | Relative path to a file with the script contents.
version | | int | Major version of the resource.

```yaml
- type: cloud_terminal
Expand All @@ -586,6 +587,7 @@ startup_script.path | | path | Relative path to a file with the script
- roles/editor
startup_script:
path: startup.sh
version: 1
```

Note: Due to a limitation in Qwiklabs, you must specify `roles/editor` on
Expand Down Expand Up @@ -681,12 +683,14 @@ running `git clone`) or modify the associated GCP project by running `gcloud`,
attribute | required | type | notes
------------------- | -------- | ---- | -----
startup_script.path | | path | Relative path to a file with the script contents.
version | | int | Major version of the resource.

```yaml
- type: linux_terminal
id: terminal
startup_script:
path: startup.sh
version: 1
```

###### Variants for Linux Terminal
Expand All @@ -710,6 +714,7 @@ attribute | required | type | notes
------------------- | -------- | ----- | -----
permissions | ✓ | array | Array of project/roles(array) pairs
startup_script.path | | path | Relative path to a file with the script contents.
version | | int | Major version of the resource.

```yaml
- type: looker_instance
Expand All @@ -720,6 +725,7 @@ startup_script.path | | path | Relative path to a file with the script
- roles/editor
startup_script:
path: startup.sh
version: 1
```

Note: Even though the spec supports any number of projects with any number
Expand Down Expand Up @@ -836,6 +842,7 @@ attribute | required | type | notes
------------------- | -------- | ---- | -----
startup_script.path | | path | Relative path to a file with the script contents.
student_files | | path | Relative path to a directory student file contents.
version | | int | Major version of the resource.

```yaml
- type: ide
Expand All @@ -844,6 +851,7 @@ student_files | | path | Relative path to a directory student fil
path: startup/startup.sh
student_files:
- path: student_files
version: 1
```

###### Student Files
Expand All @@ -867,6 +875,7 @@ attribute | required | type | notes
------------------- | -------- | ---- | -----
startup_script.path | | path | Relative path to a file with the script contents.
student_files | | path | Relative path to a directory student file contents.
version | | int | Major version of the resource.

```yaml
- type: jupyter_notebook
Expand All @@ -875,6 +884,7 @@ student_files | | path | Relative path to a directory student fil
path: startup/startup.sh
student_files:
- path: student_files
version: 1
```

<!-- TODO(b/273306870): Replace the jovyan work directory with a qwiklabs work directory. -->
Expand Down Expand Up @@ -962,13 +972,15 @@ is necessary to calculate the score.
attribute | required | type | notes
------------------- | -------- | ---- | -----
startup_script.path | | path | Relative path to a file with the script contents.
version | | int | Major version of the resource.

```yaml
- type: windows_vm
variant: it_cert
id: vm
startup_script:
path: startup.ps1
version: 1
```

###### Variants for Windows VM
Expand Down