|
1 | 1 | { |
2 | 2 | "$schema": "https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainer.base.schema.json", |
3 | | - "name": "series_scanner devContainer", |
| 3 | + "name": "renamarr devContainer", |
4 | 4 | "build": { |
5 | 5 | "dockerfile": "Dockerfile" |
6 | 6 | }, |
7 | 7 | "features": { |
8 | 8 | "ghcr.io/devcontainers/features/docker-in-docker:2": {}, |
9 | 9 | "ghcr.io/devcontainers-contrib/features/zsh-plugins:0": { |
10 | | - "plugins": "git zsh-syntax-highlighting zsh-autosuggestions poetry poetry-env gpg-agent", |
| 10 | + "plugins": "git gpg-agent helm kind kubectl poetry poetry-env zsh-autosuggestions zsh-syntax-highlighting", |
11 | 11 | "omzPlugins": "https://github.com/zsh-users/zsh-syntax-highlighting https://github.com/zsh-users/zsh-autosuggestions" |
12 | 12 | }, |
13 | 13 | "ghcr.io/stuartleeks/dev-container-features/shell-history:0": {}, |
14 | | - "ghcr.io/devcontainers/features/github-cli:1": {} |
| 14 | + "ghcr.io/devcontainers/features/github-cli:1": {}, |
| 15 | + "ghcr.io/devcontainers/features/kubectl-helm-minikube:1": { |
| 16 | + "minikube": "none" // use kind instead |
| 17 | + }, |
| 18 | + "ghcr.io/devcontainers-contrib/features/kubectx-kubens:1": {}, |
| 19 | + "ghcr.io/mpriscella/features/kind:1": {}, |
| 20 | + "ghcr.io/mpriscella/features/helm-chart-testing:1": {} |
15 | 21 | }, |
16 | 22 | "containerEnv": { |
17 | 23 | "LOGURU_LEVEL": "DEBUG", |
18 | | - "GH_TOKEN": "${localEnv:GH_TOKEN}" |
| 24 | + "GH_TOKEN": "${localEnv:GH_TOKEN}", |
19 | 25 | }, |
20 | | - "mounts": [ |
21 | | - "source=${localWorkspaceFolder}/config.yml,target=/config/config.yml,type=bind,consistency=cached" |
22 | | - ], |
| 26 | + "mounts": [], |
23 | 27 | "postCreateCommand": "zsh .devcontainer/postCreateCommand.sh", |
24 | 28 | "customizations": { |
25 | 29 | "vscode": { |
26 | 30 | "settings": { |
27 | 31 | "editor.formatOnSave": true, |
| 32 | + "editor.tabSize": 2, |
28 | 33 | "terminal.integrated.defaultProfile.linux": "zsh", |
29 | 34 | "terminal.integrated.profiles.linux": { |
30 | 35 | "zsh": { |
31 | | - "path": "/usr/bin/zsh" |
| 36 | + "path": "/bin/zsh" |
32 | 37 | } |
33 | 38 | }, |
34 | 39 | "files": { |
35 | 40 | "eol": "\n", |
36 | 41 | "trimFinalNewlines": true, |
37 | 42 | "trimTrailingWhitespace": true, |
38 | 43 | "trimTrailingWhitespaceInRegexAndStrings": true, |
39 | | - "insertFinalNewline": true |
| 44 | + "insertFinalNewline": true, |
| 45 | + "associations": { |
| 46 | + "**/templates/*.yaml": "jinja-yaml", |
| 47 | + "*.tpl": "jinja-yaml" |
| 48 | + } |
40 | 49 | }, |
41 | | - "vscode-yaml-sort.sortArrays": true, |
42 | 50 | "git": { |
43 | 51 | "enableCommitSigning": true, |
44 | 52 | "autofetch": true |
45 | 53 | }, |
46 | | - "source.organizeImports": true, |
47 | 54 | "[python]": { |
48 | 55 | "editor.formatOnSave": true, |
| 56 | + "editor.tabSize": 4, |
49 | 57 | "editor.codeActionsOnSave": { |
50 | 58 | "source.fixAll": "explicit", |
51 | 59 | "source.organizeImports": "explicit" |
|
71 | 79 | ] |
72 | 80 | } |
73 | 81 | }, |
| 82 | + "gitlens": { |
| 83 | + "plusFeatures.enabled": "false", |
| 84 | + "showWelcomeOnInstall": "false", |
| 85 | + "showWhatsNewAfterUpgrades": "false" |
| 86 | + }, |
74 | 87 | "ruff.codeAction.disableRuleComment": { |
75 | 88 | "enable": false |
76 | 89 | }, |
| 90 | + "yaml.schemas": { |
| 91 | + "https://json.schemastore.org/yamllint.json": "*.y(a)?ml" |
| 92 | + }, |
77 | 93 | "[jsonc]": { |
78 | 94 | "editor.defaultFormatter": "vscode.json-language-features" |
79 | 95 | }, |
|
86 | 102 | }, |
87 | 103 | "extensions": [ |
88 | 104 | "charliermarsh.ruff", |
| 105 | + "eamodio.gitlens", |
| 106 | + "elagil.pre-commit-helper", |
89 | 107 | "KevinRose.vsc-python-indent", |
90 | 108 | "ms-python.debugpy", |
91 | 109 | "ms-python.python", |
|
94 | 112 | "njpwerner.autodocstring", |
95 | 113 | "njqdev.vscode-python-typehint", |
96 | 114 | "oderwat.indent-rainbow", |
| 115 | + "redhat.vscode-yaml", |
| 116 | + "samuelcolvin.jinjahtml", |
| 117 | + "Tim-Koehler.helm-intellisense", |
97 | 118 | "VisualStudioExptTeam.vscodeintellicode", |
98 | 119 | "yzhang.markdown-all-in-one" |
99 | 120 | ] |
|
0 commit comments