crospts: Add upload results tarball to GS bucket to run_crospts.py
Compress the CrosPTS tast test results folder to a tarball file. The
tarball will be uploaded to GS bucket if the credential is valid for
remote bucket. The credential will be validated before tast run.
BUG=b:322255161
TEST=./run_crospts.py -c ~/.service-account.json -u
chromeos-moblab-<partner> -p ctxclock <DUT>
TEST=./run_crospts.py -c ~/.invalied-service-account.json -u
chromeos-moblab-<partner> -p ctxclock <DUT>
Change-Id: I4be71428e8ccb88fb818e567847986fedc2c96a8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crospts/+/5246789
Reviewed-by: David Stevens <stevensd@chromium.org>
Tested-by: Darren Wu <darrenwu@chromium.org>
Commit-Queue: Darren Wu <darrenwu@chromium.org>
1 file changed