aboutsummaryrefslogtreecommitdiffstats
path: root/jjb
AgeCommit message (Collapse)AuthorFilesLines
2017-07-19Also pull submodules and add autobuild supportJan-Simon Möller2-10/+18
Enable automatically pulling the submodules when cloning and use the autobuild script if present. Change-Id: Ib5641cb8d8c3c849c2c9bbcdacd287e9d01b6805 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-07-19Add agl-service-bluetooth and agl-service-wifi to ci app buildsJan-Simon Möller1-0/+2
Change-Id: I834757d147e333e87767671b7b0f0086ab85c46b Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-07-19Merge "jjb/common: run-test-rsync: fix empty variables"Jan-Simon Moeller1-2/+5
2017-07-19jjb/common: run-test-short: QEMU: increase boot timeoutKevin Hilman1-0/+2
QEMU jobs in some labs can be slow, especially when LAVA servers are busy and the rootfs has lots to do before reaching a login prompt. Increase the timeout to reach a login prompt to 5 minutes (from 2 minutes) to allow plenty of time. Change-Id: I71738a521d7fed8ae8bd9288a9f503dd00f94c92 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-07-19jjb/common: run-test-rsync: fix empty variablesKevin Hilman1-2/+5
Some variables are allowed to exist, but be empty (e.g. $DEVICE_DTB for QEMU builds.) If the variable is empty, do not attempt to copy. Change-Id: I89850402a225766496e5c2b5b9a45ffa6ec11815 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-07-17Merge "jjb/common: add LAVA templating for QEMU"Jan-Simon Moeller2-6/+50
2017-07-13jjb/common: remove unused TESTJOBFILEKevin Hilman3-25/+0
Individual machines are allowed to have their own LAVA templates, but they are not used, and completely overwritten by a default template. Since they are unused, remove them for clarity. Change-Id: Ib9196ac52dca7ef1891625a98399c70e3027abbb Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-07-13jjb/common: add LAVA templating for QEMUKevin Hilman2-6/+50
LAVA jobs for QEMU have some slight differences compared to u-boot jobs. Add templating to support QEMU jobs for any arch. Change-Id: I6ef8e92cc169d8365f0ba1cb568b961d49e2a74f Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-07-07run-test-prepare: fix device environment overridesKevin Hilman1-1/+1
Machines can override the default environment settings in their hwtest.short.environment files. However, the grep/sed procesing done does not ignore lines that are commented out, causing an extra '#' to be part of the variable name. To fix, ensure the grep for the variable name matches the beginning of the line, so commented lines will be ignored. Change-Id: Ibf4281c3126c95670346bee74043d670e6d58654 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-07-07run-test-short: fix set -x for debugKevin Hilman1-2/+1
Change-Id: Idf5356fd5f86de4a0d6b4afc82ef3d4d6706f437 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-07-06run-test-short: add set +x for debugKevin Hilman1-1/+2
Change-Id: Id409ecaabe9320ac20424dae0559515a7bbe8ef7 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-06-30Add triggers for m3ulcbJan-Simon Möller1-0/+8
Change-Id: Iafb8d22e5b39b5a035d6df473467acdfb20bef32 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-06-28ci-AGL-verify: add machine: m3ulcb-nogfxKevin Hilman1-0/+1
Change-Id: I509cda0b9a6fb97f0139e1406b8706d29c3212c3 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-06-28Merge "allow override of DEVICE_URL_PREFIX"Jan-Simon Moeller1-1/+1
2017-06-28Merge "fix NBD rootfs default compression"Jan-Simon Moeller1-1/+1
2017-06-26allow override of DEVICE_URL_PREFIXKevin Hilman1-1/+1
To facilitate local testing with customized upload location, allow override of DEVICE_URL_PREFIX. Note that this patch does not change the default. Change-Id: I998cb518f2288cc8f820f0dcfdb609f0845fb44b Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-06-26fix NBD rootfs default compressionKevin Hilman1-1/+1
LAVA expects "compression: false" instead of "compression: none". Change-Id: I620c28a1cae3d40fbf20ab575666f7915ea26c0a Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-06-16Add packer verify and merge jobs for AGLAnil Belur3-1/+189
Packer jobs are designed to rebuild new minon images regularly. These jobs are also triggered on changes submitted to the templates or provision scripts. New images generated by packer must be manually updated on Jenkins. Change-Id: Ie2e7dbcbc57148693ad1cf4179ceda2f7a3c9d1a Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
2017-06-10Fix typo in urlJan-Simon Möller1-1/+1
Change-Id: I4978e1335bb038c2f2258d05e2b2563b076043e7 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-06-09Add trigger for merge+abandon and adapt jobsJan-Simon Möller3-8/+22
Change-Id: I5b7fb39f8133e2c35e5db8d30a6e910f7ea82536 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-06-09Relay upload location back to gerritJan-Simon Möller1-1/+1
Change-Id: I07bc88db8f0b1c91a864967b021aee17a86dbdd4 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-06-09Update application build to support multiarch builds and uploadJan-Simon Möller7-35/+138
Change-Id: I1998a8a0ae8ad16029fb834e87f06cdc760426d1 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-06-08Build and upload app to CI folderJan-Simon Möller2-121/+116
Change-Id: Ie7947c1a8472826a4f6ee1f4ce6ccaed56945f7c Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-06-08Rename -merge to -remove-artifacts and trigger also when change is abandonedJan-Simon Möller2-3/+22
Change-Id: I0c4dde2c8ce02d2e0a89449ab3a12e7a84bff762 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-06-08Remove artifacts after successful mergeJan-Simon Möller2-87/+131
Change-Id: Ic039856f7003d2f3c7a22a14d4f6bbf8db44b83a Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-06-08Fix git checkout and be less verboseJan-Simon Möller7-10/+23
Change-Id: I7d2b374f1ee0fe0d96c984c3e757f2fd49dd6a22 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-06-08Enable ci builds for all appsJan-Simon Möller2-28/+29
Change-Id: I43ec8cc5c9f06af0bb57aa16e8c31bb02550b41f Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-31Fix typo and upload mechanismJan-Simon Möller2-4/+6
Change-Id: I4e7494eec84102cc59fe917b01193ff0bdc8b893 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-30Release jobs for dab.Jan-Simon Möller4-0/+155
Change-Id: I4be4521171b15025488af09226dc8e82ec6cdf7a Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-30SSTATE per branch + defaulttuneJan-Simon Möller3-3/+11
Change-Id: I5ef987616cdeb8a1d9d5c7fdc4d52ff1110bcdbd Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-29Change sstate locationJan-Simon Möller1-2/+2
Change-Id: I23aba5a38886bf3988622d588d938887287b73fe Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-27Add credential tokensJan-Simon Möller1-0/+17
Change-Id: Ifafe949787658c5f3dd4cf51bfb918e1bf61d8e0 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-26Change from old url to new lab urlJan-Simon Möller1-4/+4
Change-Id: I0afdf7ce41b0b8c4a7f0716dcf6508ad35ee6650 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-26Handle nogfx targets with different crosssdk image and add new lava-tool setupJan-Simon Möller3-38/+13
Change-Id: Ieb624d96b0901415ab2ac05d3c436fe8e135bf5e Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-25Improve repo init for release buildsJan-Simon Möller1-1/+6
Change-Id: I67a2d48ae689a8a9fc8145dad83873aa0789c7fa Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-25Prepare rc1 build for dabJan-Simon Möller2-0/+9
Change-Id: I8c820256949b1fba9035a04f67ad5761ee73e73e Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-23Merge "Extend app build train"Jan-Simon Moeller3-18/+71
2017-05-23ci-platform: use updated LAVA authKevin Hilman2-19/+5
LAVA authentiticaion setup is now done in a dedicated script (include-agl-lava-labs-prepare.sh), remove it from run-test-short.sh as it's no longer needed. While at it, rename porter.automotivelinux.org to its new name: lava.automotivelinux.org Change-Id: Ifd7b701c9d76abdeb02f3d242f0b32c26d448749 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-05-23Extend app build trainJan-Simon Möller3-18/+71
Change-Id: I893e2cc94ef8c69c1e44293ae824df24300c0889 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-23Update gitignore fileJan-Simon Möller1-0/+1
Change-Id: I2b61e1278b8f72286e517f0b19a7e8ce2cfbfd70 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-23Fix typo in credential sectionJan-Simon Möller1-1/+1
Change-Id: Ib691e9ce7ad78b23878d82483e04e5a9608a63cf Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-23Merge "ci-platform-jjb: CIBT: add support for multiple LAVA labs"Jan-Simon Moeller2-0/+60
2017-05-23Merge "ci-platform-jjb: enable more user/token pairs"Jan-Simon Moeller1-0/+12
2017-05-23Add initial job template for application builds within jenkinsJan-Simon Möller4-0/+733
This adds the necessary plumbing to build applications for the 3-4 different target architectures for applications within jenkins as CI builds. Change-Id: I263c3ba25fa6dbea78d305ff453cca1106724316 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-23ci-platform-jjb: enable more user/token pairsKevin Hilman1-0/+12
Setup more user/token pairs in order to ease expanding boot testing (CIBT) to multiple LAVA labs Change-Id: I78a9aae829d551f282ed3f2b23d2652070fc2918 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-05-22ci-platform-jjb: CIBT: add support for multiple LAVA labsKevin Hilman2-0/+60
Currently, support for boot testing using LAVA is hard-coded to a single LAVA lab (in include-agl-run-test-short.sh) Add an additional step/script for preparing the authentication environment for multiple LAVA labs. Once validated, the LAVA support can be removed from the "run-test-short" script. Change-Id: I5faa12b5234369d63ad392ec8dc47a5542856c5a Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-05-22Merge "Add release job for a DD snapshot build."Jan-Simon Moeller2-0/+143
2017-05-22Add release job for a DD snapshot build.Jan-Simon Möller2-0/+143
Change-Id: Ic000c0193d91d134cfab1e0e1895c25954197efd Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-22Merge "Change to crosssdk image from populate_sdk"Jan-Simon Moeller2-1/+3
2017-05-22Change to crosssdk image from populate_sdkJan-Simon Möller2-1/+3
Change-Id: Ie2684e4d27cde5f62d4ed4988f6f543b52f2946c Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>