mirror of
https://github.com/SourceFellows/gobuch.git
synced 2024-10-22 22:05:35 +00:00
43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
|
{
|
||
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||
|
// for the documentation about the tasks.json format
|
||
|
"version": "2.0.0",
|
||
|
"presentation": {
|
||
|
"panel": "shared",
|
||
|
"showReuseMessage": true,
|
||
|
},
|
||
|
"tasks": [
|
||
|
{
|
||
|
"group": "build",
|
||
|
"label": "Build container image using local Docker",
|
||
|
"type": "process",
|
||
|
"command": "skaffold",
|
||
|
"args": [
|
||
|
"build",
|
||
|
"-p=no-push"
|
||
|
],
|
||
|
"problemMatcher": [],
|
||
|
},
|
||
|
{
|
||
|
"label": "Deploy to Kubernetes cluster",
|
||
|
"type": "process",
|
||
|
"command": "skaffold",
|
||
|
"args": [
|
||
|
"run"
|
||
|
],
|
||
|
"problemMatcher": [],
|
||
|
},
|
||
|
{
|
||
|
"label": "View application logs on Kubernetes",
|
||
|
"type": "process",
|
||
|
"command": "kubectl",
|
||
|
"args": [
|
||
|
"logs",
|
||
|
"--selector",
|
||
|
"app=hello-world"
|
||
|
],
|
||
|
"problemMatcher": [],
|
||
|
}
|
||
|
]
|
||
|
}
|