summaryrefslogtreecommitdiffstats
path: root/utils/agljobtemplate.py
AgeCommit message (Collapse)AuthorFilesLines
2017-10-06New arguments to specify build artifacts namesLoys Ollivier1-1/+11
Added new command line arguments to specifiy build artifacts names: - "--rootfs-img": for the rootfs file name - "--kernel-img": for the kernel name - "--dtb-img": for the dtb file name - "--modules-img": for the modules file name Change-Id: I665dee2b326aeaaf35148345f0501e49950ba9aa Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-10-04Add build_version command line optionLoys Ollivier1-1/+4
Add an option to specify the build version from the command line. The kernel_version in the job metadata is updated accordingly if this option is used. Otherwise the default kernel_version is used. Change-Id: Ifc73405d23cb48f48be3d558588bbd20b5063552 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-10-03Revert "Add version command line option"Kevin Hilman1-4/+1
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 Ollivier1-1/+4
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-19rfs-image: provide command line options to setup the image nameJerome Brunet1-1/+4
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 Brunet1-1/+1
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-08Add callback option to command lineLoys Ollivier1-2/+24
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 Brunet1-2/+4
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 Hilman1-0/+73
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>