7.1 CI module in SQUAD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
7.2 Submitting test job requests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
7.3 Submitting test job watch requests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
7.4 Backend settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
7.5 Supported backends . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
7.5.1 LAVA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
7.5.2 TuxSuite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
7.6 Callbacks Triggers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
7.6.1 Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
7.6.2 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
7.7 Receiving Callbacks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
7.7.1 Use case: Tuxsuite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
8 API: Interacting with backend 31
8.1 Available APIs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
8.2 Native APIs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
8.2.1 data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
8.2.2 createbuild . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
8.2.3 submit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
8.2.4 submitjob . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
8.2.5 watchjob . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
8.2.6 resubmit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
8.2.7 forceresubmit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
8.3 REST APIs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
8.3.1 groups (/api/groups/) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
8.3.2 projects (/api/projects/) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
8.3.3 builds (/api/builds/) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
8.3.4 testjobs (/api/testjobs/) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
8.3.5 testruns (/api/testruns/) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
8.3.6 tests (/api/tests/) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
8.3.7 metrics (/api/metrics/) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
8.3.8 suites (/api/suites/) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
8.3.9 environments (/api/environments/) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
8.3.10 backends (/api/backends/) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
8.3.11 emailtemplates (/api/emailtemplates/) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
8.3.12 knownissues (/api/knownissues/) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
8.3.13 patchsources (/api/patchsources/) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
8.3.14 annotations (/api/annotations/) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
8.3.15 metricthresholds (/api/metricthresholds/) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
8.3.16 reports (/api/reports/) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
8.4 REST API Schema (for CLI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
8.5 SQUAD-Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
8.6 Badges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
8.7 Google Data Studio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
9 Use case: setup SQUAD with LAVA 41
9.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
9.2 Setting up a LAVA instance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
9.3 Creating a Backend for a LAVA instance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
9.4 Creating a Project in SQUAD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
9.5 Submitting and fetching test jobs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
9.6 Extra use cases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
10 Indices and tables 43
ii