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
Léo-Paul Géneau
gitlab-ce
Commits
e6567bc1
Commit
e6567bc1
authored
Jun 04, 2016
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use gitlab-build-images for precache some of the dependencies
parent
2e6f816d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
36 deletions
+12
-36
.gitlab-ci.yml
.gitlab-ci.yml
+12
-22
scripts/prepare_build.sh
scripts/prepare_build.sh
+0
-14
No files found.
.gitlab-ci.yml
View file @
e6567bc1
image
:
"
ruby:2.1"
image
:
registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.1
services
:
-
mysql:latest
-
redis:
latest
-
redis:
alpine
cache
:
key
:
"
ruby21"
...
...
@@ -112,26 +112,16 @@ rspec 17 20: *knapsack
rspec 18 20
:
*knapsack
rspec 19 20
:
*knapsack
spinach 0 20
:
*knapsack
spinach 1 20
:
*knapsack
spinach 2 20
:
*knapsack
spinach 3 20
:
*knapsack
spinach 4 20
:
*knapsack
spinach 5 20
:
*knapsack
spinach 6 20
:
*knapsack
spinach 7 20
:
*knapsack
spinach 8 20
:
*knapsack
spinach 9 20
:
*knapsack
spinach 10 20
:
*knapsack
spinach 11 20
:
*knapsack
spinach 12 20
:
*knapsack
spinach 13 20
:
*knapsack
spinach 14 20
:
*knapsack
spinach 15 20
:
*knapsack
spinach 16 20
:
*knapsack
spinach 17 20
:
*knapsack
spinach 18 20
:
*knapsack
spinach 19 20
:
*knapsack
spinach 0 10
:
*knapsack
spinach 1 10
:
*knapsack
spinach 2 10
:
*knapsack
spinach 3 10
:
*knapsack
spinach 4 10
:
*knapsack
spinach 5 10
:
*knapsack
spinach 6 10
:
*knapsack
spinach 7 10
:
*knapsack
spinach 8 10
:
*knapsack
spinach 9 10
:
*knapsack
teaspoon
:
*exec
rubocop
:
*exec
...
...
scripts/prepare_build.sh
View file @
e6567bc1
...
...
@@ -12,20 +12,6 @@ retry() {
}
if
[
-f
/.dockerenv
]
||
[
-f
./dockerinit
]
;
then
mkdir
-p
vendor
# Install phantomjs package
pushd
vendor
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
dpkg
-i
phantomjs_1.9.8-0jessie_amd64.deb
popd
# Try to install packages
retry
'apt-get update -yqqq; apt-get -o dir::cache::archives="vendor/apt" install -y -qq --force-yes \
libicu-dev libkrb5-dev cmake nodejs postgresql-client mysql-client unzip'
cp
config/database.yml.mysql config/database.yml
sed
-i
's/username:.*/username: root/g'
config/database.yml
sed
-i
's/password:.*/password:/g'
config/database.yml
...
...
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