Skip to content

Commit

Permalink
Merge pull request #1 from AndrienkoAleksandr/devfilev2
Browse files Browse the repository at this point in the history
Add devfile v2
  • Loading branch information
svor authored Nov 25, 2021
2 parents 62a1883 + 99a70d9 commit 9317e24
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .theia/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "bashdb",
"request": "launch",
"name": "Bash-Debug main.sh",
"cwd": "${workspaceFolder}",
"program": "${workspaceFolder}/main.sh"
}
]
}
9 changes: 9 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"rogalmic.bash-debug",
"timonwong.shellcheck",
"mads-hartmann.bash-ide-vscode"
]
}
19 changes: 19 additions & 0 deletions devfile.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
schemaVersion: 2.1.0
metadata:
name: bash
components:
- name: tools
container:
image: quay.io/devfile/universal-developer-image:ubi8-latest
memoryLimit: 3Gi
commands:
- id: run-main-script
exec:
label: "Run main.sh script"
component: tools
workingDir: '${PROJECTS_ROOT}/bash-1'
commandLine: |
./main.sh
group:
kind: run
isDefault: true

0 comments on commit 9317e24

Please sign in to comment.