:tangerine: TAOS-CI (a.k.a LightSys) is an lightweight and efficient CI system to achieve "Review less, merge faster" with a tool-based review system. It is completely compatible with all GitHub repositories although TAOS-CI is designed & implemented for NNStreamer repository. (Homepage: https://taos-ci.github.io/)
Currently, we support the below acceleration methods as follows to accelerate git and GBS acitivty of the big repositories. We need to find additional methods continually.
ubuntu$ vi ./ci/taos/config/config-environment.sh
. . . OMISSION . . .
151 # Reference repository to speed up the exectuion time of the "git clone" command
152 REFERENCE_REPOSITORY="/var/www/html/$PRJ_REPO_UPSTREAM_LOCAL/"
153
154 # Specify RPM repo cache for accerating the GBS build speed of Tizen platform
155 REPOCACHE="/var/www/html/$PRJ_REPO_UPSTREAM_LOCAL/repo_cache/"
156
Currently, we support the below acceleration methods as follows to accelerate git and GBS acitivty of the big repositories. We need to find additional methods continually.
git clone
--reference
git clone --reference ~/gitcaches/your-repo.reference
If the reference repository is on the local machine, automatically setup .git/objects/info/alternates to obtain objects from the reference repository.
--single-branch
Since git 1.7.10, you can also limit the amount of history you clone by cloning a single branch, like so:
--depth
Provide an argument of -- depth 1 to the git clone command to copy only the latest revision of a repo:
gbs build
Use the .../GBS-ROOT/cache/ folder.
Reference