Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-11-22 00:57:06 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-11-22 00:57:06 +0300
commit7c4e425cafd3d882a9c5f2b46660fe12b47eb346 (patch)
treeefc0726fd938dc8ddb53c55228cdbe28df0c0c66
parent23fc7875a838b072b8869efada6f68a3a19fc9a6 (diff)
Fetch only one revision
-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