stable_version2
For more info, see: go/stable_version
stable_version2
is a script to validate ChromeOS lab stable_version config.
Automated testing
To run the tests for stable_version2
, run:
make test
Manual testing
First, build stable_version2
:
make stable_version2
Then, run: ./stable_version2 validate-config ~/chromiumos/infra/config/lab_platform/generated/stable_versions.cfg
stable_versions.cfg
is available as
part of the ChromiumOS repo.
For the above command, the exact path to your local copy of
stable_versions.cfg
might be different depending on how your folders are set
up. You can also copy the stable_versions.cfg
file somewhere else and manually
make changes for testing.
To test against a prod config, you can use the -remote-file
flag:
stable_version2 validate-config -remote-file
Authentiction
If you need to login, run:
./stable_version2 login
Deployment
stable_version2
is deployed onto ChromeOS bots running infra presubmit through
CIPD.