Age | Commit message (Collapse) | Author |
|
Closes: #85 - create, add, remove, list and show Tags on
existing Devices.
Signed-off-by: Neil Williams <neil.williams@linaro.org>
|
|
Include advice on when and how often to blacken files.
Signed-off-by: Neil Williams <neil.williams@linaro.org>
|
|
Found in the folowing job https://git.lavasoftware.org/gtucker/lava/-/jobs/3254
Fix lava/ci-images#6
|
|
Thanks to shell syntax, we should split this in two lines in order to exit the
script if listing the requirements fail for any reason.
|
|
This typo prevents scripts from installing the required dependencies.
Fix #107
|
|
Reduce the noise in the SAST report further.
Override bandit warnings in lava-dispatcher as bandit is
overly based on a web UI mindset.
Add overrides and fixes for files in ./share/
Signed-off-by: Neil Williams <neil.williams@linaro.org>
|
|
Update for some occurrences of W604 but exclude files
where this is unrealistic.
Ignore W504 as this currently conflicts with black.
Signed-off-by: Neil Williams <neil.williams@linaro.org>
|
|
Signed-off-by: Neil Williams <neil.williams@linaro.org>
|
|
Ensure unit tests are testing the same behaviour
as the rest of the source code and
also reduce the amount of noise in the SAST report
so that genuine issues are easier to find.
Signed-off-by: Neil Williams <neil.williams@linaro.org>
|
|
Signed-off-by: Neil Williams <neil.williams@linaro.org>
|
|
Signed-off-by: Neil Williams <neil.williams@linaro.org>
|
|
Jinja2 autoescape defaults to False but this default is
likely to change. Autoescape behaviour is predicated on
HTML for XSS vulnerabilities, so would be set by Django
in handling the UI templates. HTML (escaped or not) would
be either invalid YAML or ignored comments.
Autoescape also has a performance penalty when enabled,
so set to False now to protect against the future
change in the default in jinja2.
Signed-off-by: Neil Williams <neil.williams@linaro.org>
|
|
Signed-off-by: Neil Williams <neil.williams@linaro.org>
|
|
Variable 'start' was being overwritten, causing an error.
Signed-off-by: Neil Williams <neil.williams@linaro.org>
|
|
|
|
Closes: #104 Add a verbose option to add details of the
device and the job result test case.
Signed-off-by: Neil Williams <neil.williams@linaro.org>
|
|
Fix up some artifacts of merge conflicts in the merged branch.
Signed-off-by: Neil Williams <neil.williams@linaro.org>
|
|
Every docker images built from master will be pushed as
lava/lava/master:GIT_DESCRIBE
For tags, the corresponding image will be available at lava/lava:GIT_TAG.
|
|
This allows to simplify the gitlab-ci definition and to run the scripts manualy
if needed.
|
|
We are now using 4 stages: test, analyze, build and publish.
|
|
|
|
Add a section on using lavacli for device dictionaries.
Signed-off-by: Neil Williams <neil.williams@linaro.org>
|
|
Developer builds may need to use the dependency requirements
of a suite other than the current default of unstable.
Signed-off-by: Neil Williams <neil.williams@linaro.org>
|
|
Fix link in CONTRIBUTING.md
Tweaks to wording in naming conventions
|
|
|
|
Signed-off-by: Neil Williams <neil.williams@linaro.org>
|
|
Expand the start of the current Developer Guide to include
the Contribution Guide.
Change advice on branches and workflow to the Community
Project workflow in gitlab.
Update references to files in the git repo.
Update README for GitLab
Update the support page for lavasoftware.org
Update README for GitLab
Make it clearer that the CoC is not just for communications on mailing
lists etc., but for all behaviour around the LSCP.
Signed-off-by: Neil Williams <neil.williams@linaro.org>
|
|
|
|
|
|
The package should come from stretch-backports instead of stretch.
|
|
Signed-off-by: Neil Williams <neil.williams@linaro.org>
|
|
Remove system dependencies from requirements support as the CI images
do not need this list. Retain support for future usage.
Signed-off-by: Neil Williams <neil.williams@linaro.org>
|
|
Avoid duplicating listings by conditionally repeating the
call for the dependencies.
If used for package building, create a combined list
covering backports and the corresponding stable suite.
If used with --names, only output the dependencies which
need to be installed from backports and require a second
call by the user to get the list of dependencies needed
from the corresponding stable branch. (The call to install
from backports requires different command line options.)
Refactor to put this specialist knowledge into a specific
function for Debian, allow for other functions for other
distributions.
Signed-off-by: Neil Williams <neil.williams@linaro.org>
|
|
Improve error handling. Closes: #98
Signed-off-by: Neil Williams <neil.williams@linaro.org>
|
|
Let LXC protocol calls use lists as in base contained
an error as self relates to a Protocol object, not
an Action.
Signed-off-by: Neil Williams <neil.williams@linaro.org>
|
|
When iterating over, using generator expression will use less memory than list
comprehension.
|
|
|
|
Found by running "make -C doc/v2 linkcheck"
|
|
Ensure the connection is picked up from the correct
namespace when setting the shared namespace data.
Closes: #82
Signed-off-by: Neil Williams <neil.williams@linaro.org>
|
|
Provide support for admin operations in an LXC to fix
problems when running a lot of IoT jobs.
Signed-off-by: Neil Williams <neil.williams@linaro.org>
|
|
Signed-off-by: Neil Williams <neil.williams@linaro.org>
|
|
Allow CI processes like LXC and Docker to obtain a list of
binary package names for a specified suite of a specified
distribution instead of duplicating the knowledge in the
Pypi requirements files. Include system dependencies which
are not Python.
Signed-off-by: Neil Williams <neil.williams@linaro.org>
|
|
In python3, all classes are inheriting from object by default.
|
|
Closes: #100
Signed-off-by: Neil Williams <neil.williams@linaro.org>
|
|
|
|
Some packages are missing in Debian 10.
Also use the new ci-images where pytest coverage is already installed.
|
|
On my machine, the server test suite is now taking 30s instead of 100s.
|
|
pre-power and pre-os commands can be lists, allow the
LXC protocols to use the commands as lists.
Signed-off-by: Neil Williams <neil.williams@linaro.org>
|
|
Use files.lavasoftware.org and add sha256sum checks.
Update prompts to stretch.
Signed-off-by: Neil Williams <neil.williams@linaro.org>
|
|
Ensure get_recent_jobs_for_device_type can return data
if job.actual_device has not been assigned, e.g. whilst
in Submitted.
Move the hostname check inside the loop
Signed-off-by: Neil Williams <neil.williams@linaro.org>
|