Previously, the `--format=json` was always set in the `$GCP_CMD`. This was working OK in general, but it is creating issues when using `$GCP_CMD compute ssh` to execute commands on the provisioned VM. In such case, an extra `[]` is added to the output, which then causes various checks to fail, since the captured stdout is different than expected. Instead remove the `--format=json` by default from `$GCP_CMD` and use it explicitly only in cases when `jq` is used to parse the command's output. In all other cases, it should be OK to not set the output format to JSON and it is very much desirable to do so when SSH-ing to the VM. Also by default pass the `--quiet` option to `gcloud` when using it from the container. This was previously done only when using the tool installed on the system. Signed-off-by: Tomáš Hozza <thozza@redhat.com> |
||
|---|---|---|
| .. | ||
| common | ||
| aws.s3.sh | ||
| aws.sh | ||
| azure.sh | ||
| container.registry.sh | ||
| gcp.sh | ||
| generic.s3.sh | ||