build.yml 640 B

123456789101112131415161718192021
  1. browser:build:
  2. stage: test
  3. extends:
  4. - .tags_docker
  5. - .services_postgresql
  6. interruptible: true
  7. artifacts:
  8. expire_in: 1 week
  9. paths:
  10. - public/assets/.sprockets-manifest*
  11. - public/assets/application-*
  12. - public/assets/knowledge_base*
  13. - public/assets/print-*
  14. variables:
  15. RAILS_ENV: "production"
  16. script:
  17. - echo -e "\\e[0Ksection_start:`date +%s`:zammad_db_unseeded[collapsed=true]\\r\\e[0Kbundle exec rake zammad:db:unseeded"
  18. - bundle exec rake zammad:db:unseeded
  19. - echo -e "\\e[0Ksection_end:`date +%s`:zammad_db_unseeded\\r\\e[0K"
  20. - node -v
  21. - bundle exec rake assets:precompile