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
Tatuya Kamada
gitlab-ce
Commits
6e701990
Commit
6e701990
authored
Nov 16, 2016
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: Move rake assets:precompile and cloning gitlab-{shell,test} to the prepare stage
parent
4d59a9e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
.gitlab-ci.yml
.gitlab-ci.yml
+13
-2
No files found.
.gitlab-ci.yml
View file @
6e701990
...
...
@@ -71,11 +71,23 @@ update-knapsack:
-
mysql:latest
-
redis:alpine
setup-test-env
:
<<
:
*use-db
stage
:
prepare
script
:
-
bundle exec rake assets:precompile 2>/dev/null
-
bundle exec ruby -Ispec -e 'require "spec_helper" ; TestEnv.init'
artifacts
:
expire_in
:
7d
paths
:
-
public/assets
-
tmp/tests
.rspec-knapsack
:
&rspec-knapsack
stage
:
test
<<
:
*use-db
script
:
-
bundle exec rake assets:precompile 2>/dev/null
-
JOB_NAME=( $CI_BUILD_NAME )
-
export CI_NODE_INDEX=${JOB_NAME[1]}
-
export CI_NODE_TOTAL=${JOB_NAME[2]}
...
...
@@ -93,7 +105,6 @@ update-knapsack:
stage
:
test
<<
:
*use-db
script
:
-
bundle exec rake assets:precompile 2>/dev/null
-
JOB_NAME=( $CI_BUILD_NAME )
-
export CI_NODE_INDEX=${JOB_NAME[1]}
-
export CI_NODE_TOTAL=${JOB_NAME[2]}
...
...
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