Repository

October 3, 2018 ยท View on GitHub

With the repository configuration you can define how InfraBox should clone your git repository.

{
    "version": 1,
    "jobs": [{
        "type": "docker",
        ...
        "repository": {
            "clone": true,
            "full_history": false,
            "submodules": true
        }
    }]
}
NameRequiredTypeDefaultDescription
clonefalsebooleantrueSet to false if the git repository should not be cloned
full_historyfalsebooleanfalseBy default InfraBox does not fetch the full git history to speed up builds. If you need the full history set it to true
submodulesfalsebooleantrueSet to true if submodules should be cloned