53 lines
1.3 KiB
JSON
53 lines
1.3 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "GitOps(Update): access.yml",
|
|
"type": "shell",
|
|
"command": ".bin/gitops update access",
|
|
"group": "build",
|
|
"problemMatcher": [],
|
|
"detail": "Copy access.yml to $HOME"
|
|
},
|
|
{
|
|
"label": "GitOps(Update): authorized_keys",
|
|
"type": "shell",
|
|
"command": ".bin/gitops update authorized_keys",
|
|
"group": "build",
|
|
"problemMatcher": [],
|
|
"detail": "Copy authorized_keys to $HOME/.ssh"
|
|
},
|
|
{
|
|
"label": "GitOps(Update): podman_access.keys",
|
|
"type": "shell",
|
|
"command": ".bin/gitops update podman_access",
|
|
"group": "build",
|
|
"problemMatcher": [],
|
|
"detail": "Copy podman_access as authorized_keys to mypodmanuser:$HOME/.ssh"
|
|
},
|
|
{
|
|
"label": "Generate user keys",
|
|
"type": "shell",
|
|
"command": ".bin/generate-keys.sh ${input:workspace}",
|
|
"group": "build",
|
|
"problemMatcher": [],
|
|
"detail": "Generate user keys"
|
|
},
|
|
{
|
|
"label": "Cleanup worktree",
|
|
"type": "shell",
|
|
"command": "git clean -Xfd",
|
|
"problemMatcher": [],
|
|
"detail": "delete all untracked files listed in .gitignore"
|
|
}
|
|
],
|
|
"inputs": [
|
|
{
|
|
"id": "workspace",
|
|
"type": "promptString",
|
|
"description": "name of workspace",
|
|
"default": ""
|
|
}
|
|
]
|
|
}
|