debian-forge-composer/test/cases
Tomáš Hozza d1325aaf45 Test/API/GCP: don't set gcloud format to JSON by default
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>
2023-02-22 12:17:36 +01:00
..
api Test/API/GCP: don't set gcloud format to JSON by default 2023-02-22 12:17:36 +01:00
api.sh test: adapt to shellcheck v0.9.0 2022-12-13 13:55:53 +01:00
aws.sh test/cases: move CIV options into a variable 2023-02-15 17:23:35 +01:00
aws_s3.sh test: adapt to shellcheck v0.9.0 2022-12-13 13:55:53 +01:00
azure.sh test/cases: move CIV options into a variable 2023-02-15 17:23:35 +01:00
azure_hyperv_gen2.sh Test Azure images on HyperV Gen1 and Gen2 2021-06-22 13:44:19 +03:00
base_tests.sh provision.sh: don't start local worker and Weldr with TLS auth 2022-08-04 11:55:43 +02:00
container-embedding.sh test: move greenprint and redprint functions to shared_lib.sh 2022-09-13 16:06:19 +01:00
container-upload.sh test: move greenprint and redprint functions to shared_lib.sh 2022-09-13 16:06:19 +01:00
cross-distro.sh provision.sh: add none authentication method for on-premise scenario 2022-08-04 11:55:43 +02:00
diff-manifests.sh diff-manifests.sh: Use shared_lib for greenprint and redprint 2022-11-15 12:00:00 +01:00
filesystem.sh test: move greenprint and redprint functions to shared_lib.sh 2022-09-13 16:06:19 +01:00
gcp.sh test: adapt to shellcheck v0.9.0 2022-12-13 13:55:53 +01:00
generic_s3.sh test: adapt to shellcheck v0.9.0 2022-12-13 13:55:53 +01:00
generic_s3_http.sh Upload to HTTPS S3 - Support self signed certificate 2022-05-26 13:46:00 +03:00
generic_s3_https_insecure.sh Upload to HTTPS S3 - Support self signed certificate 2022-05-26 13:46:00 +03:00
generic_s3_https_secure.sh Upload to HTTPS S3 - Support self signed certificate 2022-05-26 13:46:00 +03:00
image_tests.sh provision.sh: add none authentication method for on-premise scenario 2022-08-04 11:55:43 +02:00
installers.sh test: move greenprint and redprint functions to shared_lib.sh 2022-09-13 16:06:19 +01:00
koji.sh Build latest 8.8 and 9.2 development versions in Koji 2023-01-10 00:28:23 +01:00
libvirt.sh provision.sh: add none authentication method for on-premise scenario 2022-08-04 11:55:43 +02:00
manifest_tests.sh provision.sh: add none authentication method for on-premise scenario 2022-08-04 11:55:43 +02:00
minimal-raw.sh test: Add minimal-raw image test 2023-02-06 17:58:05 +01:00
multi-tenancy.sh Update more test conditions based on code review 2023-01-10 00:28:23 +01:00
oscap.sh Adjust tests for 8.8 and 9.2 2023-01-10 00:28:23 +01:00
ostree-ng.sh test: use kernel-rt-core in ostree tests for CS8 2023-01-18 11:50:35 +01:00
ostree-raw-image.sh test/cases: add ignition test to edge-raw-image 2023-02-07 13:30:22 +01:00
ostree-rebase-bios.sh test: use kernel-rt-core in ostree tests for CS8 2023-01-18 11:50:35 +01:00
ostree-rebase-uefi.sh test: use kernel-rt-core in ostree tests for CS8 2023-01-18 11:50:35 +01:00
ostree-simplified-installer.sh test/cases: add ignition test to edge-raw-image 2023-02-07 13:30:22 +01:00
ostree.sh Update boot location for Fedora 37 edge-commit 2023-02-21 09:46:27 +01:00
regression-bigiso.sh test: new weldr client compatibility for test scripts 2022-09-13 16:06:19 +01:00
regression-composer-works-behind-satellite-fallback.sh test: move greenprint and redprint functions to shared_lib.sh 2022-09-13 16:06:19 +01:00
regression-composer-works-behind-satellite.sh test: move greenprint and redprint functions to shared_lib.sh 2022-09-13 16:06:19 +01:00
regression-excluded-dependency.sh test: new weldr client compatibility for test scripts 2022-09-13 16:06:19 +01:00
regression-include-excluded-packages.sh test: new weldr client compatibility for test scripts 2022-09-13 16:06:19 +01:00
regression-insecure-repo.sh test: move greenprint and redprint functions to shared_lib.sh 2022-09-13 16:06:19 +01:00
regression-no-explicit-rootfs-definition.sh test: new weldr client compatibility for test scripts 2022-09-13 16:06:19 +01:00
regression-old-worker-new-composer.sh test: adapt to shellcheck v0.9.0 2022-12-13 13:55:53 +01:00
shared_lib.sh tools: silence version comparison in get_build_info() 2022-11-23 13:35:57 +01:00
upgrade8to9.sh Adjust tests for 8.8 and 9.2 2023-01-10 00:28:23 +01:00
vmware.sh Specify additional package in blueprint for tests 2022-09-13 18:56:00 +02:00