update rake tasks
This commit is contained in:
parent
7c5d494274
commit
abb122a44f
2 changed files with 2 additions and 2 deletions
|
@ -108,8 +108,7 @@ setup-test-env:
|
||||||
stage: prepare
|
stage: prepare
|
||||||
script:
|
script:
|
||||||
- npm install
|
- npm install
|
||||||
- bundle exec rake webpack:compile
|
- bundle exec rake gitlab:assets:compile
|
||||||
- bundle exec rake gitlab:assets:compile 2>/dev/null
|
|
||||||
- bundle exec ruby -Ispec -e 'require "spec_helper" ; TestEnv.init'
|
- bundle exec ruby -Ispec -e 'require "spec_helper" ; TestEnv.init'
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 7d
|
expire_in: 7d
|
||||||
|
|
|
@ -3,6 +3,7 @@ namespace :gitlab do
|
||||||
desc 'GitLab | Assets | Compile all frontend assets'
|
desc 'GitLab | Assets | Compile all frontend assets'
|
||||||
task :compile do
|
task :compile do
|
||||||
Rake::Task['assets:precompile'].invoke
|
Rake::Task['assets:precompile'].invoke
|
||||||
|
Rake::Task['webpack:compile'].invoke
|
||||||
Rake::Task['gitlab:assets:fix_urls'].invoke
|
Rake::Task['gitlab:assets:fix_urls'].invoke
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue