Update the CI spreadsheet with information from latest CI runs.
The program looks for errored machines in machines.json
and in openstack_nodes.log
. If it finds any, it directly prints Provisioned VM in ERROR state
.
The rules are coded in pkg/rca/rule.go
. When new rules are coded, and add them to the batch in pkg/rca/rca.go
.
go build ./cmd/cireport
Get your credentials.json
file from https://console.developers.google.com/apis/credentials and save it at the root of your git checkout.
On the first run of gazelle, it will prompt you for granting access. Visit the URL and paste the result in your terminal.
$ ./cireport --help
Usage of ./cireport:
-id string
Job ID. If unset, it consists of all new runs since last time the spreadsheet was updated.
-job string
Full name of the test job (e.g. periodic-ci-shiftstack-shiftstack-ci-main-periodic-4.7-e2e-openstack-serial). All known jobs if unset.
-user string
Username to use for CI Cop
Update the spreadsheet with all latest results for all jobs, with CI Cop Axel Foley:
./cireport -user "Axel Foley"
Update the spreadsheet with latest results for the parallel conformance suite on 4.7:
./cireport -job periodic-ci-shiftstack-shiftstack-ci-main-periodic-4.7-e2e-openstack-parallel
Add results for job 345 for the 4.7 serial suite:
./cireport -job periodic-ci-shiftstack-shiftstack-ci-main-periodic-4.7-e2e-openstack-serial -id 345