Age | Commit message (Collapse) | Author | Files | Lines |
|
Use the new qemu for dual-screen capability.
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I97a4d303bbc452902a4b555d00f05b0685e0e2de
|
|
This patch convert releng-scripts to python3.
While at it, let's creating requirements.txt for specifying depencies
yaml and jinja2.
Change-Id: Iba7b45b10fd7e1336bf1e4a73e0e6275392e373c
Bug-AGL: SPEC-3408
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
Allow the tool to generate jobs against the prerelease location.
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I7f00ee52ad85b2aecc52679da4e98857a5dd59cb
|
|
Add new argument --build-tags to be used in the job template and to
be passed to the tests to be run along with using --device-tags.
Bug-AGL: SPEC-2721
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
Change-Id: I2fb4c3d0cb8cd1d0e3c36c1df55185cb4dde43c3
|
|
I have assumed that only master is used for appfw but it is false.
Some app review are done against non-master branch.
This patch adds a way to change the branch used via --app-branch.
Bug-AGL: SPEC-1850
Change-Id: I10c8ad0e5a08158f9c2295692e4b3c266b97b14e
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
This patch adds a new parameter application_url which permit to adds a
location where to download apps and test them.
The applications_url could also be generated via
app-changeid/app-patchset.
Change-Id: I88d91b5e6e30b5ab5d72e8181b15b0f561bea72d
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
This patch fixes the error check to permit the job creation when
inserting only the --url arguement and not the branch/version or the
changeid/patchsetm, to grant the job creation with a custom url.
Change-Id: I625e13cacee8da6df569ab90038318c0994ec1c6
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
|
|
This patch adds a new build-id arguement that will fill the
'kernel_defconfig' in the metadata field with the build id extracted
from the build-info file.
Change-Id: I77bcc253a41d67d97afd7db32b8c8560d4309145
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
|
|
Change the use of the --branch argument to display in the vsc_branch
metadata field the AGL branch used in the build and get ride of the hard
coded value "agl-branch".
Change-Id: I9ff371248569c40ab9980347da14110e5227e1db
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
|
|
Add new vcs_commit arguement that will display in the metadeta field
the build hash information.
Change-Id: I079dfb8efda2ce82677e867804b3937d5a1f13c2
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
|
|
This patch separates the --branch/--changeid and --version/--patchset
arguments to use each one of them differently. As well it renames
url_branch to changeid and url_version patchset.
It modifies also the error check to follow the other changes and be sure
that the needed arguments are well inserted.
Change-Id: If64ae3620b1519fc391e79d954247938cffcb491
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
|
|
utils/create-jobs: Add the --device-tags argument
Add new --device-tags arguement to create a job that contain the device
tags as parameters.
utils/agljobtemplate: Add the device_tags to the job
Add the device_tags to the job in order to be used later in the test scripts
to determine which test case should be runned or not.
Change-Id: If22fb40b2ddf1a7c0496a59d4318e633028495b9
Signed-off-by: Khouloud Touil <ktouil@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>
|
|
* changes:
templates: fix the rootfs name for m3ulcb and rpi3 daily builds
utils: define test-plans based on build-type
utils: change the url / build behavior scheme
|
|
As the list of test is expending, we want to be able to specify test
plans grouping several test definitions. These test plans are build type
specific.
Create a config file that specifies the test plans for each build type.
If the user does not specify the tests to run then use the default ones
for the build-type.
Change-Id: Ied4e9f80d3e42787174189cd08499a2906e500ef
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
This is the first patch of the serie to differentiate builds and urls. As
of now we were using the --url option to specify a build-type.
Add a new option --build-type which specifies which type of build it is.
From this build-type if no url is specified, the url can be defaulted by
a configuration file.
This configuration file is specific per user, e.g. AGL, others...
Change-Id: I9ce801a7518b78ee859c6c3bbcad3a89e884e832
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
'--callback-from' is mandatory but not '--callback-to'. Fix this and
allow specifying only 'from' without 'to'.
Fixes: 5c6cf2bf9c09 ("utils: Verify that callback options are correct")
Change-Id: I0706950cee4ede00cdbe7a3d1ade5500cc568502
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
Coding style changes to follow pep8 coding guidelines.
Change-Id: I9a9e542fb1e24da699639e0c3fd8bf98ad51aa79
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
|
|
When using callbacks, the user must specify '--callback-to' and
'--callback-from'. Make these two arguments mutually dependant. If one
is specified, the other becomes mandatory as well.
Edit exceptions returns so they give meaningful information to the user
in case something went wrong while reading from the callback
configuration file.
Change-Id: Iaa0de0b6f01ba605407db2f37c3da97aa0cacbc2
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: I89077a0e84fce087a1e72e3232fac3161b6c9da1
Signed-off-by: Kevin Hilman <khilman@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>
|
|
|
|
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>
|
|
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>
|