devcontainer (#2483)

This commit is contained in:
Ryan Merolle 2024-11-08 10:16:33 -05:00 committed by GitHub
parent 34452044c8
commit f2b9db7ad6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 53 additions and 13 deletions

View File

@ -0,0 +1,29 @@
{
"name": "netbox_devicetype-library",
"image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye",
"remoteEnv": {
"HISTSIZE": "10000",
"HISTFILESIZE": "20000"
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "pip install -r requirements.txt",
// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
"DavidAnson.vscode-markdownlint",
"Tyriar.sort-lines",
"charliermarsh.ruff",
"esbenp.prettier-vscode",
"ms-python.python",
"ms-vscode-remote.vscode-remote-extensionpack",
"redhat.vscode-yaml"
]
}
}
}

View File

@ -1,25 +1,36 @@
---
version: 2
updates:
- package-ecosystem: pip
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: monthly
time: '02:00'
timezone: America/New_York
interval: "monthly"
time: "02:00"
timezone: "America/New_York"
labels:
- dependencies
target-branch: master
- "dependencies"
target-branch: "master"
assignees:
- "danner26"
- "danner26"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: monthly
time: '02:00'
timezone: America/New_York
interval: "monthly"
time: "02:00"
timezone: "America/New_York"
labels:
- dependencies
target-branch: master
- "dependencies"
target-branch: "master"
assignees:
- "danner26"
- "danner26"
- package-ecosystem: "devcontainers"
directory: "/"
schedule:
interval: "monthly"
time: "02:00"
timezone: "America/New_York"
labels:
- "dependencies"
target-branch: "master"
assignees:
- "danner26"