tast: Use CLOUDBOTS_LAB_DOMAIN env var to determine cloudbot existence

BUG=b:349673605
TEST=unittest

Change-Id: I8375ebf4b479b376cb497b3e391d7e8d98db7605
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tast/+/5660500
Tested-by: Garry Wang <xianuowang@chromium.org>
Commit-Queue: Garry Wang <xianuowang@chromium.org>
Reviewed-by: Seewai Fu <seewaifu@google.com>
(cherry picked from commit 0d923e86d6ae772784dac3586132f0c1a1889efe)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tast/+/5685712
Auto-Submit: Garry Wang <xianuowang@chromium.org>
1 file changed
tree: 66c3169c8e18a27d8ba3f54661b5033d64441b4d
  1. docs/
  2. src/
  3. tools/
  4. .gitignore
  5. DIR_METADATA
  6. fast_build.sh
  7. go.mod
  8. go.sum
  9. LICENSE
  10. navbar.md
  11. OWNERS
  12. PRESUBMIT.cfg
  13. PRESUBMIT.py
  14. README.md
  15. unblocked_terms.txt
README.md

Tast (go/tast)

Tast logo with Go gopher with green rubber PASS stamp

Tast is an integration-testing system for ChromeOS. Its focus is on maintainability, speed, and ease of interpreting and reproducing test results. It supports building, deploying, and running tests. It doesn't implement other functionality like managing labs of devices used for testing, scheduling tests, or storing test results.

For more information, see the list of documentation.

Directory structure

This repository is organized in accordance with the Go in ChromiumOS suggestions.

  • src/chromiumos/
    • cmd/local_test_runner/ - main package for the local_test_runner executable used to execute local test bundles on-device.
    • cmd/remote_test_runner/ - main package for the remote_test_runner executable used to execute remote test bundles on the host system.
    • cmd/tast/ - main package for the tast executable used to build and run tests.
      • ... - Packages used only by the tast executable.
    • tast/... - Common packages shared by multiple executables.

Tests are located in the tast-tests repository.

Notes about the logo

The Go gopher concept and design was originally created by Renee French and is covered by the Creative Commons Attribution 3.0 license. The Tast logo above is also covered by the Creative Commons Attribution 3.0 license.