Age | Commit message (Collapse) | Author | Files | Lines |
|
This mitigates slower downloads.
Change-Id: I4e18f133097e8a3c32889fcc30a076ad24b882f9
Signed-off-by: build.automotivelinux.org <jenkins@automotivelinux.org>
|
|
Whenever --device-tags are passed, a "tags:" section is added to the
job with all of the tags passed on the command-line.
To facilitate this, the device_tags list is passed directly from
python to the jinja templates, and iteration is done in jinja
instead of a string created in python.
Also, while here, ensure that tags are always passed lower-cased.
IMPORTANT: this implies that any tags in LAVA labs that are upper-case
will *never* be used.
Change-Id: I8f274098a69e34c32c5ed2d1c430eca0d364bcc5
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
The kernelci-backend is now more strict about enforcing valid and
required keys in the metadata. The field `vcs.url` was already a
duplicate of `git.url` but now `vcs.url` is no longer considered
valid, and using it causes callbacks to be refused by the backend.
Fix it by using git.url instead.
Change-Id: I768229f3fabc8d127f68f4c33bd6ae22c1f654c4
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
This patch adds a new metadata field git.url, this is a link back to the
AGL gerrit.
Change-Id: I7f7b5fff79198fac7814004ab99b3687cf92125c
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
|
|
Upstream kernelci backend has a new required metadata field:
job.build_environment.
Eventually, we can use this to describe the yocto environment. For now,
let's just use our "AGL-yocto" default string.
Change-Id: If4b39c8f0cda49d9ced866eb6fc24fe56b203442
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
To aid with better reporting, recent versions of the kernelci-backend
require a few more metadatata fields for test results.
The new required fields are test.plan, device.type and git.commit.
Change-Id: I89cbddee019ae1e8b91b54a2d174aac4feaf769e
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
LAVA jobs can now submit multiple callbacks per job.
Update the create-jobs tool and its underlying templates to support this
feature.
- Callback templates are now split in two file and follow LAVA specification:
'section' and 'subsection'.
- create-jobs tool supports multiple arguments for the '--callback-to' option.
- Default configuration for callback targets can now be a list of targets.
Change-Id: I36c502c0bb5b54010ce32a53ba78a6be5e6a1642
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
Use new "callbacks" syntax (note plural) so that in the future,
additional callbacks can be added.
Change-Id: Ic793aa591d427bcda45ffbba91e8ea2fadfa6157
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
the emulated runs (qemu*) take quite some time.
Extend the timeout.
Change-Id: I9fc924930655d11902fa3e7b224f5239af58d594
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Change-Id: Ib28d25e1efd0033458fa9ae787610a8de9f5d275
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Set kernel_tree (used by kernelCI UI) to AGL-yocto instead of
AGL-kernel-tree which doesn't really have much meaning.
Change-Id: Ie2a3a8040f5da4c23de90bd9492f4742d8a3b84e
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
The rootfs filename has changed for the daily builds. Change the default
to the new filename for both platforms.
Change-Id: I44ae29902d882ab6f38dc14bba11cc8aee88f8c2
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
New callback procedure. Now the arguments are:
- '--callback-from' LAVA lab
- '--callback-to' kCI instance
This new procedure helps differentiating the lab and the kCI target.
Callback config files updated accordingly.
Documentation on callback updated.
Change-Id: I41b9dc86e33783f1d6a8164fc783557c81678c7f
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
- Machine is now a mandatory argument: --machine
- Change in the URL scheme usage:
Now the argument is --url, it should be used with --branch & --version
(or --changeid and --patchset which are aliases).
The default url is the latest AGL release (dab - 4.0.2)
- Build version is derived from the URL, branch and version if not set
through command line.
Example usage:
./utils/create-jobs.py --machine m3ulcb
./utils/create-jobs.py --machine qemux86-64
./utils/create-jobs.py --url release --branch eel --version 4.99.1 --machine m3ulcb
./utils/create-jobs.py --url release --branch eel --version 4.99.1 --machine qemux86-64
./utils/create-jobs.py --url daily --branch master --version latest --machine m3ulcb
./utils/create-jobs.py --url daily --branch master --version latest --machine raspberrypi3
./utils/create-jobs.py --url ci --changeid 11533 --patchset 2 --machine raspberrypi3
./utils/create-jobs.py --url ci --changeid 11533 --patchset 2 --machine m3ulcb
./utils/create-jobs.py --url http://baylibre.com/pub/agl/ci/raspberrypi3 --machine raspberrypi3
Update the README.md following changes on the url scheme and --machine
argument.
Bug-AGL: SPEC-975
Change-Id: Idd0d539627d56e8d28e1e4990570a929b3fa0f5d
Signed-off-by: lollivier <lollivier@baylibre.com>
|
|
Depending on the boot type (ramdisk or nbd), specify a boot method.
This change helps defining the correct boot type automatically from
the boot protocol (ramdisk or nbd).
Tested with m3ulcb (nbd) and raspberrypi3 (ramdisk).
Change-Id: I84845c2fa94b32cd53c91a5330b25505e7b60930
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
This reverts commit 364641197bfe95512555abc36b7b62ac48166aaf.
Unfortunately, NBD jobs do not work with the new kernel type, so we can't remove the old boot type (at least until NBD is fixed.)
Change-Id: If9a64135ef75771a90655fdc4c6429d9b494fcf0
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Boot type is deprecated in lava v2.
Replaced by kernel_type and define it from the kernel image name.
Change-Id: I6bcb326b5fb8b0230a9d519485741209bfab8ef2
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|