diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-02-21 00:01:56 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-02-21 02:52:13 +0300 |
commit | cac59408a58a8c6d2c3ce4fa5a27161a186b5ed5 (patch) | |
tree | a627193d08eb746a72ad869967e10fb787b61a3a | |
parent | 881529495379505542033bf7fb0d91cdc5b51e8d (diff) |
add production asset compile step to CI config
-rw-r--r-- | .gitlab-ci.yml | 12 |
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: |