workspaces/.vscode/tasks.json

72 lines
2.2 KiB
JSON

{
"version": "2.0.0",
"tasks": [
{
"label": "Build workspace image",
"type": "shell",
"command": "${workspaceFolder}/build-workspace.sh",
"group": "build",
"problemMatcher": [],
"detail": "build podman image using buildah"
},
{
"label": "Clean dangling images",
"type": "shell",
"command": "${workspaceFolder}/.bin/clean_dangling_images.sh",
"problemMatcher": [],
"detail": "Clean podman images"
},
{
"label": "Tag image",
"type": "shell",
"command": "podman tag localhost/analytics-backend-workspace:latest localhost:5100/analytics-backend-workspace:latest",
"problemMatcher": [],
"detail": "Tag podman image to localhost 5100"
},
{
"label": "Push image",
"type": "shell",
"command": "podman push --tls-verify=false localhost:5100/analytics-backend-workspace:latest",
"problemMatcher": [],
"detail": "Push podman image to localhost 5100"
},
{
"label": "Copy ssh_router.sh",
"type": "shell",
"command": "sudo cp ssh_router.sh /home/infilytics/ && sudo chown -R infilytics:infilytics /home/infilytics/ssh_router.sh",
"problemMatcher": [],
"detail": "Copy ssh_router.sh to /home/infilytics"
},
{
"label": "Copy access.yml",
"type": "shell",
"command": "sudo cp access.yml /home/infilytics/ && sudo chown -R infilytics:infilytics /home/infilytics/access.yml",
"problemMatcher": [],
"detail": "Copy access.yml to /home/infilytics"
},
{
"label": "Create home tarball",
"type": "shell",
"command": "${workspaceFolder}/.bin/create-home-tarball.sh",
"problemMatcher": [],
"detail": "create home.tar.gz from .config .local .ssh start.sh"
},
{
"label": "Start a tmux test session",
"type": "shell",
"group": "test",
"command": "${workspaceFolder}/.bin/test-tmux.sh",
"problemMatcher": [],
"detail": "run tmux with project room as home"
},
{
"label": "Delete .gitignore files",
"type": "shell",
"command": "git clean -Xfd",
"problemMatcher": [],
"detail": "delete all untracked files listed in .gitignore"
}
],
"inputs": []
}