BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
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
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