summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2018-06-26 10:31:43 +0100
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2018-06-28 12:49:58 +0100
commit8450b79c705d25af217702164ef11fd6c5974b3c (patch)
treea180553484deec7a34264b90ac4630ffb89bd9a5
parent9e2e7e11591ccec655feeb809daad19b58aed74b (diff)
downloaddefinitions-8450b79c705d25af217702164ef11fd6c5974b3c.tar.gz
WORKAROUND: limit the number of fetchers to 1
There is a bug in buildstream when we are fetching the same thing multiple times https://gitlab.com/BuildStream/buildstream/issues/5 There is an issue in the pipelines when we are fetching delta/linux to build different packages for different jobs, so this will limit to fetch this package maximum of 12 times at the same time.
-rw-r--r--.gitlab-ci.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d6002ded..8778f772 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -52,6 +52,9 @@ variables:
echo " baserock:" >> ~/.config/buildstream.conf
echo " artifacts:" >> ~/.config/buildstream.conf
echo " url: ssh://ostree@ostree.baserock.org:22200/cache" >> ~/.config/buildstream.conf
+ echo "scheduler:" >> ~/.config/buildstream.conf
+ echo " fetchers: 1" >> ~/.config/buildstream.conf
+ echo " on-error: quit" >> ~/.config/buildstream.conf
fi
cat ~/.config/buildstream.conf