Created
November 30, 2020 12:30
-
-
Save pentium10/b5c260f060dcdbe8a9882189bf59f9e7 to your computer and use it in GitHub Desktop.
Sample VSCode tasks for Workflows deploy
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
{ | |
// See https://go.microsoft.com/fwlink/?LinkId=733558 | |
// for the documentation about the tasks.json format | |
// | |
// Sample VSCode tasks for Workflows deploy | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "workflow: run", | |
"type": "shell", | |
"command": "gcloud beta workflows deploy ${fileBasenameNoExtension} --source=${file};gcloud beta workflows execute ${fileBasenameNoExtension};gcloud beta workflows executions describe-last", | |
"problemMatcher": [], | |
}, | |
{ | |
"label": "workflow: deploy", | |
"type": "shell", | |
"command": "gcloud beta workflows deploy ${fileBasenameNoExtension} --source=${file}", | |
"problemMatcher": [], | |
"group": { | |
"kind": "build", | |
"isDefault": true | |
}, | |
}, | |
{ | |
"label": "workflow: execute", | |
"type": "shell", | |
"command": "gcloud beta workflows execute ${fileBasenameNoExtension}", | |
"problemMatcher": [], | |
}, | |
{ | |
"label": "workflow: describe-last", | |
"type": "shell", | |
"command": "gcloud beta workflows executions describe-last", | |
"problemMatcher": [], | |
}, | |
{ | |
"label": "workflow: list", | |
"type": "shell", | |
"command": "gcloud beta workflows list", | |
"problemMatcher": [], | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment