Commit 66cd46bd authored by Rémi Duraffort's avatar Rémi Duraffort Committed by Neil Williams

LAVA-1167 document the 'history' feature

This allow to remove .git directory from the overlay.

Change-Id: I655124cd468e76444ffef24216eb06c1b2ebb4ee
parent 3555256f
......@@ -124,6 +124,30 @@ will fail.
shallow: False
Removing git history
********************
The size of the overlay can be an issue for jobs running on small devices.
By default, when cloning test definition from a git repository, LAVA will keep
the **.git** directory.
If needed, this directory can be removed from the overlay by setting
``history`` to **false**.
.. code-block:: yaml
- test:
failure_retry: 3
timeout:
minutes: 10
name: kvm-basic-singlenode
definitions:
- repository: http://git.linaro.org/lava-team/lava-functional-tests.git
from: git
path: lava-test-shell/single-node/singlenode03.yaml
name: singlenode-advanced
history: False
Sharing the contents of test definitions
****************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment