aboutsummaryrefslogtreecommitdiffstats
path: root/jjb
AgeCommit message (Collapse)AuthorFilesLines
2019-03-20jjb/common: lava-labs: lavacli should not be fatalKevin Hilman1-1/+0
For now, the use of lavacli is for debug only, so failure to list devices with lavacli should not be fatal. To fix, remove the `continue` so if it fails, it fill fall through to the legacy use of lava-tool. Change-Id: Id55622e1b0f3d9c0e90673b24e8fa3642a15bee9 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2019-03-15jjb/common: lavacli: no username in URLKevin Hilman1-1/+1
Don't use a URL with a username in it for the lavacli config file. The lavacli config file already has a `username` field, and having it also in the URL makes lavacli fail. Change-Id: I88e8ce06519b0b09476d5a4bc693b95b40f20e59 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2019-03-14jjb/common: lava-labs-prepare: fix lavacli config errorKevin Hilman1-1/+1
lavacli doesn't like an empty config file. The first "identities add" will automatcially create the new config file, as long as the ~/.config dir exists. Change-Id: I337f8b6883362a0f01b58e34645c825a186ab7d7 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2019-03-11lava-labs-prepare: Fix lavacli auth add errorLoys Ollivier1-0/+1
lavacli is returning an error if the config file for adding identities does not exist. Create the file before using `lavacli auth add` Change-Id: I3928355055299ddbdd1d269d74a762a563577fb8 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2019-03-07Merge changes I81dfc60f,I56fe3edc,Ic1bf8296,Ifd68eb42,Iddf7394cJan-Simon Moeller2-6/+10
* changes: Use the --version argument Use the --branch argument Use the new --build-id argument Use the new --commit argument Modify the --build-version content
2019-03-07Merge "Use the build-info file"Jan-Simon Moeller2-0/+2
2019-03-05Fix timeoutJan-Simon Möller1-3/+3
The indentation was wrong for the timeout to be applied. Change-Id: Ie556d3e61400585770f476057921b9decb6185d8 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-03-05AGL-verify/ci-platform: add QEMU arm/arm64 buildsKevin Hilman1-9/+10
Change-Id: I0554333c0760af73e9b303acebd81c7050ed8b8e Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2019-02-27Use the --version argumentKhouloud Touil2-0/+2
This patch uses the --version argument that will contain the DIST_BB_AGLVERSION value that is extracted from the build-info file. Change-Id: I81dfc60f290db8983af9dfcc51f47a71c1a2b031 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-02-27Use the --branch argumentKhouloud Touil2-0/+2
This patch uses the --branch argument that will contain the DIST_BB_AGL_BRANCH value that is extracted from the build-info file. Change-Id: I56fe3edcfc73b0ce661181283f029026e2b37811 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-02-27Use the new --build-id argumentKhouloud Touil2-0/+2
This patch uses the new --build-id argument of create-jobs that will contain the DIST_BUILD_ID value that is extracted from the build-info file. Change-Id: Ic1bf82967a4cd94bce9701251d7f5a9700998271 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-02-27Use the new --commit argumentKhouloud Touil2-0/+2
This patch uses a new --commit argument that will contain the DIST_BUILD_HASH value that is extracted from the build-info file. These changes are in both files 'include-agl-run-test -short-guppy.sh' and 'include-agl-run-test-short.sh'. Change-Id: Ifd68eb4270f3540e1a379fac135d7f290374d1d7 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-02-27Modify the --build-version contentKhouloud Touil2-6/+2
Modify the --build-version content to take the DIST_BB_DISTRO_VERSION content which is going to be extracted from the build-info file in both files 'include-agl-run-test-short-guppy.sh' and 'include-agl-run-test-short.sh'. Change-Id: Iddf7394c624a5fdc08cddf806eaebb70456c4398 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-02-27Use the build-info fileKhouloud Touil2-0/+2
The build-info file contain a lot of useful informations that could be used differently. This commit adds a source command to use these informations in both files 'include-agl-run-test-short-guppy.sh'and 'include-agl-run-test-short.sh'. Change-Id: I67c216defbde6589901de24c674b840ba692a814 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-02-21Avoid any issues in the regexp for the triggerJan-Simon Möller1-2/+2
In case the gerrit comment contains a similar expression we might retrigger. Avoid a collision here and change the trigger keyword. Change-Id: I2f3477a666b3c8bce49175b7f52070b08ba4d710 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-02-21Merge "Display build-info"Jan-Simon Moeller1-0/+2
2019-02-19Merge "Enable the request of test report email"Jan-Simon Moeller1-0/+17
2019-02-15Update application job template for guppyJan-Simon Möller1-5/+5
Add guppy and change adapt the application repos. Change-Id: I4016532695e0ab5fdb9b670456c6b6fdd6e7f6f1 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-02-15Update timeoutsJan-Simon Möller1-3/+3
Change-Id: I30dcd5fb581870c094973171ef53257039ae8f2e Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-02-15Display build-infoKhouloud Touil1-0/+2
This patch displays the build-info file contents in order to use them later in creating test jobs. Change-Id: Iacfab0324152387f5d10ea45e4352c25448aa5cb Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-02-13Update doc generator for guppyJan-Simon Möller1-0/+6
Change-Id: I7301d1bfc14e31d272f16790762778aea43537bf Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-02-13Enable the request of test report emailKhouloud Touil1-0/+17
Add new feature to the ci-managmenet that will request to send test report email to the specified email addresses in the automotive- testreports list after a certain delay (1 hour=3600 sec). This commit is accomplished based on the work of Corentin Labbe <clabbe@baylibre.com>. Change-Id: I14350b13b5b6cf2550303999ced56055a392212b Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-02-08Add weston as a device tagKhouloud Touil1-1/+5
This patch check the name of the board and add the weston as a device tag if the board name doesn't include the "-nogfx" suffix. Change-Id: I26c69286078b2e7e6dd6447da5be4246bbbea4e7 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-02-07Merge "jjb: lava-labs-prepare: use lavacli to find devices and tags"Jan-Simon Moeller1-0/+27
2019-02-07jjb: Add new --device-tags argumentKhouloud Touil1-0/+1
This commit adds new --device-tags argument to the create_job process. The create_job will use the device tags to create the job template. Note, this commit will work only if the lavacli package is well configured. Change-Id: Ib9358daaaa9ecfbb0c261991b0d86b48796eb701 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-01-24jjb: lava-labs-prepare: use lavacli to find devices and tagsLoys Ollivier1-0/+27
lava-tool is deprecated. There is a new "Tags" feature in lavacli that we would like to leverage to create customize tests depending on tags. Include lavacli into the script dependencies. Use it to find devices and list corresponding tags. Note, for now it is not replacing lava-tool but only ran alongside to test the behavior. Change-Id: I29546f4109ce869f7f047639f46e4a9c4499a9b2 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2018-12-17jjb/common: fix flounder test plansKevin Hilman1-1/+0
releng-scripts no longer requires passing --tests, instead if has appropriate defaults based on CI or release builds. Change-Id: Iff32ff43818f939d798671691973251f8ffe3fb3 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-12-14Merge "Support BUILDONLY job parameter"Jan-Simon Moeller3-0/+18
2018-12-14Support BUILDONLY job parameterJan-Simon Möller3-0/+18
to select just a single machine. Change-Id: I76d884c800c7e130420e13b8d7d431803facfe7d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-12-12Fix git upload to githubJan-Simon Möller1-0/+3
by providing the required credentials. Change-Id: I6c33ec99624fd8acfe08cbb978271cff8def1422 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-12-11Remove obsolete storageboxJan-Simon Möller2-6/+0
Change-Id: I9371d524fcc151ac60896d71cd37702090e9a083 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-12-11Merge "Add github to known hosts"Jan-Simon Moeller1-1/+3
2018-12-11Merge "Add header in flounder lava submission"Jan-Simon Moeller1-0/+1
2018-12-11Commit guppy release jobs for sources and sandboxJan-Simon Möller4-0/+158
These are working now and can be committed. Change-Id: I39a979cde74f03cc19f125da82e72de0202b6aba Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-12-11Add header in flounder lava submissionJan-Simon Möller1-0/+1
so we find the TARGETMACHINE variable as well. Change-Id: I8c2b77f6d2050087a47c5eb7438c4eeba9108702 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-12-11Add github to known hostsJan-Simon Möller1-1/+3
and avoid key verification issue. Change-Id: If8b6023cf4bae141bf9eff3ee0b70b127282faa5 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-12-11Pull script from ci-managementJan-Simon Möller1-0/+2
Change-Id: I1a047cab0e50a27b2880b005961379bd3ca5deea Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-12-10docs: new job for multiversion documentation siteStephane Desneux5-0/+513
The generated website has two subfolders and a front page to let use chose between AGL versions: * master * flounder Bug-AGL: SPEC-1993 Change-Id: Ia8edd76f5f8119c2a4f29a2e36113aa2207e6031 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-12-03Merge "jjb/common: fix guppy test templates"Jan-Simon Moeller1-1/+0
2018-12-03Add header to test section of guppy snapshot buildJan-Simon Möller1-0/+1
This corrects a missing variable in the lava job submission. Change-Id: I0e60cd87b12f756df0fee49cbd1f96e14103615f Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-12-03jjb/common: fix guppy test templatesKevin Hilman1-1/+0
A previous change[1] moved to rely on test templates for test plans, instead of passing --test when using releng-scripts, however when this script was added for guppy[2], it was copied from an older version. Fix this version to not use --test either. [1] 142b04edc103 jjb/common: run-tests: rely on templates for test plans [2] b76de43474cf (gerrit/master) Add release job for guppy Change-Id: I98e00695ddb49a917cda40743b8c7328987ffe98 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-11-23Add agl-service-platform-infoJan-Simon Möller1-0/+1
Change-Id: I828150d345e0e8116a754b9c41f881c62e2c3e6a Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-11-22Merge "Comply to the SPEC-495"Jan-Simon Moeller3-12/+45
2018-11-20Comply to the SPEC-495Romain Forlot3-12/+45
The Applications from AGL framework should have a full packaging solution, Independent of yocto workflow. Unfortunately the build part of the Applications is only in documentation or in yocto recipes. The Applications build with AGL framework must be automated without any yocto recipes. Change-Id: Ibba27c037df55c1487f0bcc7fdb75e8572515d4f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-11-19jjb/common: run-test-short release: use TARGETMACHINEKevin Hilman2-2/+2
The "deploy/images" dir pushd to the downloads server does not have the -nogfx suffix. Therefore, use $TARGETMACHINE instead of $MACHINE when passing --url to releng-scripts so that the machine name is correct in the URL. Change-Id: I3403851fa9f89e2839c7311db5d2ca1f555da3b7 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-11-16Add release job for guppyJan-Simon Möller3-0/+209
Change-Id: I4bac3775da003dc677d50bafab88fc00b8754890 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-11-16Enhance mirror generationJan-Simon Möller1-12/+16
Change-Id: If7daff9fe1ca06f17cd1b31e4e526d92ce443c06 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-11-11jjb/common: run-tests: rely on templates for test plansKevin Hilman2-2/+0
Instead of always pasing "--tests all" rely on the templates in releng-scripts (templates/config) to determine the test plans to run based on --build-type. Change-Id: I7ac3b0a35f4cd3c45af9f2b28f8892fa31a04e2e Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-11-11jjb: lava-labs-prepare: only use lab-agl-coreKevin Hilman1-2/+1
We're now using a single LAVA master (lab-agl-core) with multiple remote LAVA workers, so ci-management/jjb scripts only need to submit jobs to one LAVA master. While here, remove the long-unused lab-baylibre-seattle Change-Id: I22f1ec039f7512809f0aac61b7ce5ea68131889b Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-11-11Merge "Add agl-service-voice-high to ci loop"Jan-Simon Moeller1-0/+1