diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2021-06-29 17:45:13 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2021-06-29 17:45:13 -0400 |
commit | ab185263fa43141ff325edb8dace25f99e685c3d (patch) | |
tree | b8a6d2c18eca8808d22097c8a509d4c73071dc72 /build.sh | |
parent | f9a6e31c763a32215819291bd21e792e03fb95dc (diff) |
SL-15500: Install git-hooks (and requirements) and run policy check
on the entire current (branch of the) viewer repo before starting any build.
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -280,6 +280,12 @@ python_cmd "$helpers/codeticket.py" addinput "Viewer Channel" "${viewer_channel} initialize_version # provided by buildscripts build.sh; sets version id +# install the git-hooks dependencies +pip_install -r "$git_hooks_checkout/requirements.txt" +# validate the branch we're about to build +python_cmd "$git_hooks_checkout/coding_policy_git.py" --all_files || \ + fatal "coding policy check failed" + # Now run the build succeeded=true last_built_variant= |