Skip to content

Commit f8b7f17

Browse files
authored
Update devcontainer
1 parent 5447d48 commit f8b7f17

File tree

5 files changed

+42
-14
lines changed

5 files changed

+42
-14
lines changed

.devcontainer/devcontainer.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060
"python.testing.pytestEnabled": true,
6161
"editor.formatOnType": true,
6262
"ruff.lint.enable": true,
63-
"ruff.lint.run": "onType",
6463
"mypy.enabled": true,
6564
"[python]": {
6665
"editor.defaultFormatter": "ms-python.black-formatter"
@@ -78,8 +77,4 @@
7877
}
7978
}
8079
}
81-
// Configure tool-specific properties.
82-
// "customizations": {},
83-
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
84-
// "remoteUser": "root"
8580
}

.devcontainer/otf-addons/devcontainer.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,7 @@
33
{
44
"name": "Python 3 - OTF Addons",
55
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6-
"build": {
7-
"dockerfile": "Dockerfile",
8-
"context": "..",
9-
"args": {
10-
"VARIANT": "3.11",
11-
// Options
12-
"INSTALL_NODE": "false"
13-
}
14-
},
6+
"image": "mcr.microsoft.com/devcontainers/python:3.11",
157
"features": {
168
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
179
},
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
3+
# Download each of the otf-addons repositories
4+
5+
for repo in $(cat otf-addons.txt); do
6+
echo "Downloading $repo"
7+
git clone https://github.com/adammcdonagh/otf-addons-$repo.git /workspaces/otf-addons-$repo
8+
done
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
o365
2+
aws
3+
vault
4+
gcp
5+
winrm

all-addons.code-workspace

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"folders": [
3+
{
4+
"path": "."
5+
},
6+
{
7+
"path": "../otf-addons-o365"
8+
},
9+
{
10+
"path": "../otf-addons-aws"
11+
},
12+
{
13+
"path": "../otf-addons-vault"
14+
},
15+
{
16+
"path": "../otf-addons-winrm"
17+
},
18+
{
19+
"path": "../otf-addons-gcp"
20+
}
21+
],
22+
"settings": {
23+
"files.associations": {
24+
"*.json": "jsonc"
25+
},
26+
"ruff.lint.enable": true
27+
}
28+
}

0 commit comments

Comments
 (0)