summaryrefslogtreecommitdiff
path: root/scripts/prepare_build.sh
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-06-12 23:05:19 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-06-12 23:05:19 +0200
commitb43c6c43b4098f0633f24fbdc0ff249e3e6d4edc (patch)
tree244344924a0aebb529ef65fa2c66568dedfbfd3f /scripts/prepare_build.sh
parent8d243f9bdacea1909bf503eb715bd437c3b48aa7 (diff)
downloadgitlab-ce-b43c6c43b4098f0633f24fbdc0ff249e3e6d4edc.tar.gz
Cache only apt and ruby from vendorcache-apt-and-ruby-only
Since introduction of gitignore the vendor folder contains also gitignores which affects detection when to update a cache. We explicitly cache only apt and ruby folders.
Diffstat (limited to 'scripts/prepare_build.sh')
-rwxr-xr-xscripts/prepare_build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/prepare_build.sh b/scripts/prepare_build.sh
index d6fb1a34e8c..7e71a030901 100755
--- a/scripts/prepare_build.sh
+++ b/scripts/prepare_build.sh
@@ -16,10 +16,10 @@ retry() {
}
if [ -f /.dockerenv ] || [ -f ./dockerinit ]; then
- mkdir -p vendor
+ mkdir -p vendor/apt
# Install phantomjs package
- pushd vendor
+ pushd vendor/apt
if [ ! -e phantomjs_1.9.8-0jessie_amd64.deb ]; then
wget -q https://gitlab.com/axil/phantomjs-debian/raw/master/phantomjs_1.9.8-0jessie_amd64.deb
fi