Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
GitLab
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
projects.thm.de
GitLab
Commits
e275b6d2
Commit
e275b6d2
authored
May 22, 2016
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix yml
parent
77f8deec
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
Rakefile
Rakefile
+1
-1
No files found.
.gitlab-ci.yml
View file @
e275b6d2
...
...
@@ -22,6 +22,7 @@ before_script:
-
cp config/gitlab.yml.example config/gitlab.yml
-
bundle --version
-
retry bundle install --without postgres production --jobs $(nproc) "${FLAGS[@]}"
-
retry gem install knapsack-gitlab
-
'
[
"$USE_DB"
!=
"true"
]
||
bundle
exec
rake
db:drop
db:create
db:schema:load
db:migrate'
stages
:
...
...
@@ -49,7 +50,6 @@ prepare:
-
JOB_NAME=( $CI_BUILD_NAME )
-
export CI_NODE_INDEX=${JOB_NAME[1]}
-
export CI_NODE_TOTAL=${JOB_NAME[2]}
-
gem install knapsack
-
knapsack ${JOB_NAME[0]}
.exec
:
&exec
...
...
Rakefile
View file @
e275b6d2
...
...
@@ -3,7 +3,7 @@
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
require
File
.
expand_path
(
'../config/application'
,
__FILE__
)
require
'knapsack
-gitlab
'
require
'knapsack'
relative_url_conf
=
File
.
expand_path
(
'../config/initializers/relative_url'
,
__FILE__
)
require
relative_url_conf
if
File
.
exist?
(
"
#{
relative_url_conf
}
.rb"
)
...
...
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