-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Hello
I am trying to run the command locally on my computer as follows:
./vendor/bin/flex_exec -- run php -v
I get the following error:
ERROR: (gcloud.container) Invalid choice: 'builds'.
Maybe you meant:
gcloud builds submit
gcloud config get-value
gcloud config list
gcloud config set
gcloud config unset
To search the help text of gcloud commands, run:
gcloud help -- SEARCH_TERMS
In ContainerExec.php line 113:
Failed to run the command
This is the code snippet affected.
list($result, $cmdOutput) = $this->gcloud->exec(
[
'container',
'builds',
'submit',
"--config=$this->workdir/cloudbuild.yaml",
"$this->workdir"
]
);
file_put_contents(
"$this->workdir/cloudbuild.log",
implode(PHP_EOL, $cmdOutput)
);
if ($result !== 0) {
throw new \RuntimeException("Failed to run the command");
}
markkimsal
Metadata
Metadata
Assignees
Labels
No labels