paper-material
Go HTML JavaScript Python Shell Makefile Other
Latest commit 25b1f38 Feb 24, 2017 @jcgregorio jcgregorio Fix font on push.skia.org.
BUG=skia:

Change-Id: I7ce83e2470bef444f4d992ec1d537780faed23ee
Reviewed-on: https://skia-review.googlesource.com/8974
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
Permalink
Failed to load latest commit information.
android_ingest Move android ingest and perf to prom and common init. Jan 20, 2017
android_stats/go/android_stats Move (nearly) all glog calls to sklog and make Fuzzer use cloud logging Dec 20, 2016
appengine_scripts/skia-tree-status Create rotation for Skia Android Dec 8, 2016
autoroll [autoroll] Fix gitcookies path Feb 24, 2017
bash Revert untracked files check. Dec 20, 2016
blamer Move (nearly) all glog calls to sklog and make Fuzzer use cloud logging Dec 20, 2016
chromeextensions Merge skia-swarming extension into skia-dev Feb 9, 2017
comments Move (nearly) all glog calls to sklog and make Fuzzer use cloud logging Dec 20, 2016
compute_engine_scripts Turn down influxdb and alerts.skia.org. Feb 24, 2017
cq_watcher Update CQ Watcher Prom alerts to reflect new series and update PROD.md Feb 15, 2017
ct Remove confusing error messages when syncing Skia on CT bots during L… Feb 22, 2017
datahopper Enable Prometheus reporting of metrics for Datahopper. Jan 25, 2017
datahopper_internal Move datahopper_internal to cloudlogging, add prometheus metrics, use… Feb 6, 2017
debugger debugger: Move to a different port than Prometheus. Feb 1, 2017
doc Add loginstatus to docs, fixes a 404 on fiddles. Feb 17, 2017
fiddle fiddle: document daily backups. Feb 21, 2017
flakiness/go Add flakiness tool Feb 23, 2017
fuzzer Directly use the defines Feb 21, 2017
get_service_account Move (nearly) all glog calls to sklog and make Fuzzer use cloud logging Dec 20, 2016
go [autoroll] Add Gerrit support Feb 24, 2017
golden Fix UI bugs Feb 24, 2017
grafana grafana: Update to version 4.0.2. Dec 19, 2016
grandcentral Turn down grandcentral. Feb 6, 2017
imageinfo Move fiddle/imageinfo/debugger to cloudlogging/prometheus, common init. Jan 25, 2017
infra Reland "CQ config: add gerrit CQAbility verifier." Feb 22, 2017
logmetrics fix logmetrics flags Jan 20, 2017
misc Move (nearly) all glog calls to sklog and make Fuzzer use cloud logging Dec 20, 2016
nsqd This adds the admin console to the NSQ setup. That way we can see how… Nov 9, 2015
pdfium Added README files to document pdfium usage Jul 11, 2016
perdiff Move (nearly) all glog calls to sklog and make Fuzzer use cloud logging Dec 20, 2016
perf Perf: CORS issue with requests from status.skia.org. Feb 24, 2017
prober Turn down influxdb and alerts.skia.org. Feb 24, 2017
prometheus skia-alerts server is gone, don't monitor its pulld. Feb 24, 2017
proxy Move corpproxy to using common Init and simple login. Jan 19, 2017
pulld common.Init: Fix JWT flag. Feb 23, 2017
push Fix font on push.skia.org. Feb 24, 2017
ragemon Move (nearly) all glog calls to sklog and make Fuzzer use cloud logging Dec 20, 2016
res Push: Save space by removing the redundant machine column. Feb 24, 2017
scripts Add roll_recipe_deps program Jan 18, 2017
site_config Remove transitioned buildslaves Dec 2, 2016
skfe SKFE: Redirect alerts.skia.org to promalerts.skia.org. Feb 24, 2017
skolo Skolo: Fix makefile for router push. Feb 23, 2017
status Status: Remove influx. Feb 24, 2017
task_scheduler [task scheduler] Make TaskSpec attempts configurable Feb 22, 2017
tools How repaint is used has changed in telemetry make corresponding chang… Apr 17, 2015
tracedb Remove influx from gold, ingestion and tracedb Feb 24, 2017
webtools Fix missing architecture in fuzzer-fe Oct 13, 2016
.gitattributes golden/pdfxform a pdf rasterization server Jul 9, 2015
.gitignore Install the alertmanager. Jan 5, 2017
DEPS Switch recipe to use bot_update Oct 26, 2016
LICENSE Start loading the BigQuery data and serving it to the UI. Jun 16, 2014
Makefile Remove alertserver and logserver code. Feb 24, 2017
PRESUBMIT.py Move (nearly) all glog calls to sklog and make Fuzzer use cloud logging Dec 20, 2016
README.md Remove missing target from Makefile. Jan 18, 2017
STYLEGUIDE.md Add naming note to styleguide Aug 29, 2016
codereview.settings Changing CODE_REVIEW_SERVER breaks Rietveld uploads Sep 9, 2016
launch.md pull: Move logging to journalctl. Move to port 10000. Jan 19, 2017
run_unittests Re-implement run_unittests in Go, use goroutines to test in parallel Jun 23, 2015
run_unittests.go Remove alertserver and logserver code. Feb 24, 2017
whitespace.txt Test CL 2 Feb 9, 2017
whitespace2.txt Test CL 2.2 Feb 9, 2017

README.md

Skia-Buildbot Repository

This repo contains infrastructure code for Skia.

Getting the Source Code

The main source code repository is a Git repository hosted at https://skia.googlesource.com/buildbot. Although it is possible to check out this repository directly with git clone or using gclient fetch, it is preferred to use go get so that the code is arranged correctly for Go. If this is your first time working on Go code, read about the GOPATH environment variable. Make sure that $GOPATH/bin comes before /usr/bin in your PATH. If you have GOPATH set, run:

$ go get -u -t go.skia.org/infra/...

This fetches the repository into your $GOPATH directory along with all the Go dependencies. Note: go.skia.org is a custom import path and will only work if used like the examples here.

Install Node.js (not as root) and add the bin dir to your path. Optionally run npm install npm -g, as suggested by the npm getting started doc.

Install other dependencies:

$ sudo apt-get install python-django
$ go get github.com/kisielk/errcheck \
  golang.org/x/tools/cmd/goimports \
  github.com/luci/luci-go/client/cmd/isolate
$ npm install -g polylint bower

Build from GOPATH:

$ cd $GOPATH/src/go.skia.org/infra/
$ make all

Database Setup for Testing

Tests which use the database package's testutils require you to have a MySQL instance running with a database named "sk_testing" and users called "readwrite" and "test_root" with appropriate permissions for sk_testing. The 'setup_test_db' script in 'go/database' is included for convenience in setting up this test database and user.

Go tests require a local installation of MySQL. For a Debian based distro:

$ sudo apt-get install mysql-client mysql-server

Leave the root password blank.

Then, to set up local versions of the production databases:

$ cd $GOPATH/src/go.skia.org/infra/go/database
$ ./setup_test_db

Running unit tests

Install Cloud SDK.

Use this command to run the presubmit tests:

$ ./run_unittests --small