Allow run workflow command to execute quality gate
Current situation
When using quality gate service in a GitLab pipeline, one must first run the workflow with the respective command, retrieve its ID into a variable, then pass this variable to the get qualitygate
command. It will be interesting to have the possibility to get the quality gate results for a workflow by simply executing run workflow
command.
Desired outcome
If the opentf-ctl run workflow
command contains the --mode
option, the respective quality gate will be applied to the workflow upon its successful completion.
Another get qualitygate
command options can also be passed to the run workflow
command, as --plugin
option, etc.