This repository has been archived by the owner on Feb 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduction of devcontainer and GitHub Codespaces for easier executi…
…on of btpsa (#429) * setup GitHub CodeSpace definition * rework of codespaces * enhancement of documentation
- Loading branch information
1 parent
4c1b712
commit d007d2c
Showing
8 changed files
with
138 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. | ||
{ | ||
"name": "BTP Setup Automator (Dev)", | ||
"image": "ghcr.io/sap-samples/btp-setup-automator:latest", | ||
"customizations": { | ||
"vscode": { | ||
"settings": { | ||
"python.defaultInterpreterPath": "/usr/local/bin/python3", | ||
"python.linting.enabled": true, | ||
"python.formatting.provider": "black", | ||
"python.linting.flake8Enabled": true, | ||
"python.linting.flake8Args": [ | ||
"--ignore=E501,F405,W504" | ||
], | ||
"python.linting.pylintEnabled": false | ||
}, | ||
"extensions": [ | ||
"ms-python.python", | ||
"ms-python.vscode-pylance" | ||
] | ||
}, | ||
"codespaces": { | ||
"openFiles": [ | ||
"parameters.json" | ||
] | ||
} | ||
}, | ||
"remoteUser": "user", | ||
"postCreateCommand": "cd /home/user && echo 'export PATH=\"$HOME/.local/bin:$PATH\"' >> ~/.profile && pip install flake8 black && source ~/.profile", | ||
"workspaceFolder": "/home/user", | ||
"hostRequirements": { | ||
"cpus": 2, | ||
"memory": "4gb", | ||
"storage": "32gb" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. | ||
{ | ||
"name": "BTP Setup Automator (Stable)", | ||
"image": "ghcr.io/sap-samples/btp-setup-automator:latest", | ||
"customizations": { | ||
"vscode": { | ||
"settings": { | ||
"python.defaultInterpreterPath": "/usr/local/bin/python3", | ||
"python.linting.enabled": true, | ||
"python.formatting.provider": "black", | ||
"python.linting.flake8Enabled": true, | ||
"python.linting.flake8Args": [ | ||
"--ignore=E501,F405,W504" | ||
], | ||
"python.linting.pylintEnabled": false | ||
}, | ||
"extensions": [ | ||
"ms-python.python", | ||
"ms-python.vscode-pylance" | ||
] | ||
}, | ||
"codespaces": { | ||
"openFiles": [ | ||
"parameters.json" | ||
] | ||
} | ||
}, | ||
"remoteUser": "user", | ||
"postCreateCommand": "cd /home/user && echo 'export PATH=\"$HOME/.local/bin:$PATH\"' >> ~/.profile && pip install flake8 black && source ~/.profile", | ||
"workspaceFolder": "/home/user", | ||
"hostRequirements": { | ||
"cpus": 2, | ||
"memory": "4gb", | ||
"storage": "32gb" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.