Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
a84c9718
Commit
a84c9718
authored
Oct 25, 2016
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve redis config tasks for migration paths job
parent
d0f0bad2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
.gitlab-ci.yml
.gitlab-ci.yml
+5
-4
No files found.
.gitlab-ci.yml
View file @
a84c9718
...
...
@@ -279,19 +279,20 @@ bundler:audit:
migration paths
:
stage
:
test
<<
:
*use-db
variables
:
SETUP_DB
:
"
false"
only
:
-
master@gitlab-org/gitlab-ce
script
:
-
git checkout HEAD .
-
git fetch --tags
-
git checkout v8.5.9
-
mv config/resque.yml config/resque.yml.new
-
'
echo
test:
unix:/var/opt/gitlab/redis/redis.socket
>
config/resque.yml'
-
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
-
rake db:drop db:create db:schema:load db:seed_fu
-
git checkout $CI_BUILD_REF
-
rm config/resque.yml
-
mv config/resque.yml.new config/resque.yml
-
source scripts/prepare_build.sh
-
rake db:migrate
coverage
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment