]> git.ipfire.org Git - thirdparty/bind9.git/commit
Tweak the way ccache is used during CI
authorMichał Kępień <michal@isc.org>
Fri, 9 Mar 2018 13:09:26 +0000 (14:09 +0100)
committerOndřej Surý <ondrej@sury.org>
Fri, 9 Mar 2018 16:28:44 +0000 (12:28 -0400)
commit09004c25a8e99043f232d647a672094ff7445105
tree431740d19e747c015285a8f5bb9c06872d83429b
parent8dd99563d15247cbdb5ba51891e96b3ea73cf8cb
Tweak the way ccache is used during CI

Our current CI configuration causes ccache data to be zipped after each
job and also included in build artifacts, which will quickly become
infeasible as ccache data grows.  Instead of asking gitlab-runner to
preserve ccache data between jobs, keep a separate ccache directory on
each runner, expecting it to be accessible at /ccache when a CI job is
run.  As this requires gitlab-runner to be configured in a specific way,
do not use ccache at all in case the ccache directory is not found while
building.
.gitlab-ci.yml