Граф коммитов

8 Коммитов

Автор SHA1 Сообщение Дата
Jeremy Meng 248f41709d
[engsys] update devcontainer.json (#26793)
Move "settings" and "extensions" inside `customizations/vscode` as
suggested at https://containers.dev/supporting
2023-08-11 20:20:09 +00:00
Timo van Veenendaal 64e26475b4
[engsys] Add bootstrap script for Codespaces (#26177)
### Describe the problem that is addressed by this PR

Adds a script `init.sh` to bootstrap new Codespaces. At the moment, the
script does the following:
- Installs Node LTS based on the version in `.nvmrc` and sets it as the
default Node version
- Installs Rush and Autorest
- Runs `rush update`
- Installs Powershell (for running engsys scripts and asset sync
migration)
2023-06-13 12:59:50 -07:00
Timo van Veenendaal 48f4f2be18
Add permission for `Azure/azure-sdk-assets` to `devcontainer.json` (#24963) 2023-02-23 18:17:42 +00:00
Maor Leger 6e16d9180a
[codespaces] - use prebuilt docker image (#20629)
### Packages impacted by this PR
N/A

### Issues associated with this PR
N/A

### Describe the problem that is addressed by this PR
Our codespaces setup uses a custom Dockerfile in order to configure docker-in-codespaces and install rush.
But nowadays the default image installs docker by default and we can move installing rush to a post-create-script
instead of building the container.

All-in-all this reduces the time to start by over 50%, avoiding the need to build a custom image every time and reusing the
prebuilt default image. It also reduces the amount of code we have to maintain. 

From 1 minute and 7 seconds to 23 seconds before the file tree shows up. I just picked that event arbitrarily.

Resolves #17011
2022-03-02 10:22:59 -08:00
Jeremy Meng c776973e57
Fix codespace docker permission issue (#17306)
in `1-linux` we need `--privileged` in devcontainer's `runArgs`
2021-08-27 16:27:07 +00:00
Jeremy Meng 227bbcd6b3
Bump devcontainer version to 1-linux (#17009)
to have more recent vresions of development tools.
2021-08-20 20:34:15 +00:00
Maor Leger b194f0d59c
Fix codespaces container creation (#13338)
The base image now contains the same logic for installing Docker, 
so by the time our custom file ran Docker was already installed which 
causes Codespaces creation to error.

This commit does a few things:

1. It restores our ability to use codespaces for development
2. It installs rush globally
3. It disables Oryx's default behavior for node since it conflicts with `rush`
2021-01-22 08:52:15 -08:00
Mitch Denny 9c1576eba5
Remote container configuration. (#11885) 2020-10-17 09:29:30 +11:00