summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-10-03Revert "Add version command line option"Kevin Hilman2-7/+2
This reverts commit 2bc4acf27f841ee4e9554320ad03fa5d53f4b34b. Fails with: argparse.ArgumentError: argument --version/-v: conflicting option string(s): --version Change-Id: I93fa8b29f53f10e75c73833072d0d79700d31f22 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-10-03Add version command line optionLoys Ollivier2-2/+7
Add an option to specify the build version from the command line. The kernel_version in the metadata is updated accordingly in the job description if this option is used. Otherwise the default kernel_version is used. Change-Id: I2c8903548a232c9f42453f4f33058c1937fcb001 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-09-26Merge "[Test] Add service test definition"Jan-Simon Moeller1-1/+4
2017-09-26Renesas m3ulcb add metadataLoys Ollivier1-0/+2
Add metadata to the m3ulcb machine description. Change-Id: I0ef49e55414a18480e6ef21713d860fa3a1a5e23 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-09-26Sort machine and metadata definition fieldsLoys Ollivier6-24/+24
Sort the machine fields, metadata fields. Easier to go through them and search for fields. Change-Id: I657717fda116d78c5733bd1be4000645a3694713 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-09-26Add AGL metadata in job descriptionLoys Ollivier3-2/+20
These metadatas will be used in the frontend to display job's info related to AGL. Change-Id: I3eff231c42fa72a3920ed3583ecb79652ef5b201 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-09-22[Test] Add service test definitionLoys Ollivier1-1/+4
Add a new test definition. This test checks wether a list of services is running on the platform and reports the result for each service. Change-Id: I433da8387edd7c066296e1b4966ba867da58d239 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-09-21create-jobs: find templates with relative pathKevin Hilman1-2/+3
Change-Id: I89077a0e84fce087a1e72e3232fac3161b6c9da1 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-09-21Merge "rfs-image: provide command line options to setup the image name"Kevin Hilman5-7/+22
2017-09-20Merge "rootfs_type: remove nfs"Kevin Hilman3-10/+2
2017-09-19rfs-image: provide command line options to setup the image nameJerome Brunet5-7/+22
Provide 2 new command line options: --img-name and --img-ext These two options require one another since the name image will be composed from both of them in the following way: rfs_image = img_name + "-" + yocto-machine + "." + img_ext Change-Id: I2b6d174b4c141cea28ce63c3c7c7beae1a82ed4c Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
2017-09-19rootfs_type: remove nfsJerome Brunet3-10/+2
NFS is untested and not used at the moment. Remove it for now to avoid unnecessary issues Change-Id: Ide7f0663f3c31cde14dcda3c6e6694e22165bf49 Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
2017-09-15Add documentationLoys Ollivier1-0/+43
First documentation on how to use releng-scripts. Change-Id: I11aab3a725bb9a6c440cb579c9ec98cd8a7695c7 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-09-11templates: QEMU: use transfer_overlayKevin Hilman1-0/+3
Without transfer_overlay, LAVA will use libguestfs to insert the overlay into the rootfs. This will cause problems with rootfs that have security enabled, so use transfer_overlay to load the overlay after the rootfs has been booted. Tested with QEMU devices in lab-baylibre. Change-Id: Ib27e5e862c64e8b302fa486f113fed4fdc6f5e83 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-09-08Merge "create-jobs: Do not require jobid argument"Kevin Hilman1-1/+1
2017-09-08create-jobs: Do not require jobid argumentLoys Ollivier1-1/+1
Do not require jobid argument as it's too specific to one gerrit-based jobs URLs. Change-Id: I93342db3fabd7dc692e345f1fc1a8e5343b06537 Signed-off-by: Loys Ollivier <lollivier@baylibre.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-09-08Add callback option to command lineLoys Ollivier5-3/+60
The callback option takes one argument. It is the name of the file located in ./templates/callback/ that contains all the "secret" information such as the callback FQDN, lab name and token. A readme is provided: ./templates/callback/callback_readme.txt Change-Id: Id457d90eba0d1312e43246ca607289ad829fd55f Signed-off-by: Loys Ollivier <lollivier@baylibre.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-09-07rootfs_type: add default rootfs type for each deviceJerome Brunet8-4/+12
Add a default rootfs type for each device. the type can still be overridden from the command line. The 'boot' parameter is no longer required with this change Change-Id: I666287d83652bcd81d9619eee75bf9be292d936a Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-09-01initial snapshot: LAVA job creation based on templatesKevin Hilman17-0/+399
Change-Id: I5d545d3531f4c4190453724738076bd4eddfc4d6 Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Loys Ollivier <lollivier@baylibre.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2015-12-18Initial empty repositoryJan-Simon Moeller0-0/+0