commit | d154b94b822708c915443ab76106bbf6e3b844ed | [log] [tgz] |
---|---|---|
author | Mathieu Binette <mbinette@google.com> | Tue Jan 22 17:06:44 2019 |
committer | Mathieu Binette <mbinette@google.com> | Tue Jan 22 23:32:57 2019 |
tree | e7b0c3e1c469f71b930bc130cbf6fddc667e2839 | |
parent | 174837ef39c0a74d17275a7e0d49bf2cce0df3ec [diff] |
Misc fixes for test scripts (minor changes) - Using python protos requires more dependencies in vpython files (both changes went in at the same time) - Missing return in ./run_tests.py (oops) - Missing an __init__.py file (stale pyc was laying around locally) - Missing import after moving code to a different file - Stale `self` reference after refactoring method - Install grpc-google-iam-admin-v1 instead of gapic- (grpc was pulled as a dependency to gapic) Intermittent failures: - Don't generate passwords that start with `/`, they're interpreted as a flag by `net user`: > The option /K~,A_QAZOZEWR%);DHFKT#~G#<J*@E= is unknown. - Increase RDS Test timeout - I've seen the 2008 AD client take just over 60mins to finish (30mins waiting for the AD, 30mins to join/setup RDS), which fails the test. Increased the timeout to 90mins. Change-Id: I1b8a198927fd17758eae27761a71b95dbdd7ea56 Reviewed-on: https://chromium-review.googlesource.com/c/1392509 Reviewed-by: Fei Ling <feiling@chromium.org>
Chrome Enterprise Lab is an inaccurately named set of tools for building enterprise labs quickly and easily. The labs so built can be used for system level end-to-end testing of Google Chrome/Chromium.
Have a peek at the Design document.
Also have a peek at the Code of Conduct.
Most of the code is in Go. See Guide to code to get a head start on the code in this repository.
Go: Download Go from the Go download page. This project requires Go 1.9.4 or later. The build will fail with prior versions.
Depot Tools: Used for managing the checkout and the contributor workflow.
Protocol Buffers Compiler: Protocol buffers are used extensively for wranging all the data that needs to be shuttled around. Can be installed automatically via ./build.py deps --install
.
Dep : Used for Go depedency management. This can be installed automatically by running ./build.py deps --install
from the root of the source tree.
Go support for Protocol Buffers : This can be installed automatically by running ./build.py deps --install
from the root of the source tree.
There are two ways to get the source. One is to use managed deps, and the other is to use plain go get
. The latter workflow doesn't quite work yet due to this repository not being integrated with go.chromium.org
. So this page only mentions the managed dependency workflow.
Clone this repository:
Assumes that $GOPATH
is a single path and not a :
delimited list.
mkdir -p ${GOPATH}/src/chromium.googlesource.com/enterprise cd ${GOPATH}/src/chromium.googlesource.com/enterprise git clone https://chromium.googlesource.com/enterprise/cel cd cel
Get the dependencies:
python build.py deps --install
Use the build script:
python build.py build
Also make sure the tests pass.
python build.py test
See CONTRIBUTING.