summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-02-20 15:01:56 -0600
committerMike Greiling <mike@pixelcog.com>2017-02-20 17:52:13 -0600
commitcac59408a58a8c6d2c3ce4fa5a27161a186b5ed5 (patch)
treea627193d08eb746a72ad869967e10fb787b61a3a /.gitlab-ci.yml
parent881529495379505542033bf7fb0d91cdc5b51e8d (diff)
downloadgitlab-ce-cac59408a58a8c6d2c3ce4fa5a27161a186b5ed5.tar.gz
add production asset compile step to CI config
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 433b3119fba..becf2db85fb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -240,6 +240,18 @@ rake db:seed_fu:
paths:
- log/development.log
+rake gitlab:assets:compile:
+ stage: test
+ <<: *dedicated-runner
+ dependencies: []
+ variables:
+ NODE_ENV: "production"
+ RAILS_ENV: "production"
+ SETUP_DB: "false"
+ USE_DB: "false"
+ SKIP_STORAGE_VALIDATION: "true"
+ script: bundle exec rake yarn:install gitlab:assets:compile
+
rake karma:
cache:
paths: