summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-11-21 22:57:06 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2016-11-21 22:57:06 +0100
commit7c4e425cafd3d882a9c5f2b46660fe12b47eb346 (patch)
treeefc0726fd938dc8ddb53c55228cdbe28df0c0c66 /.gitlab-ci.yml
parent23fc7875a838b072b8869efada6f68a3a19fc9a6 (diff)
downloadgitlab-ce-7c4e425cafd3d882a9c5f2b46660fe12b47eb346.tar.gz
Fetch only one revision
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c520e7a2927..84db51f1546 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -41,9 +41,8 @@ migration paths:
variables:
SETUP_DB: "false"
script:
- - git checkout HEAD .
- - git fetch --tags
- - git checkout v8.5.9
+ - git fetch origin v8.5.9
+ - git checkout -f FETCH_HEAD
- cp config/resque.yml.example config/resque.yml
- sed -i 's/localhost/redis/g' config/resque.yml
- bundle install --without postgres production --jobs $(nproc) ${FLAGS[@]} --retry=3