123456789101112131415161718192021222324252627282930313233 |
- .scripts:
- source_rvm:
- - source /etc/profile.d/rvm.sh # ensure RVM is loaded
- bundle_install:
- - echo -e "\\e[0Ksection_start:`date +%s`:bundle_install[collapsed=true]\\r\\e[0Kbundle install"
- - bundle config set --local deployment 'true'
- - bundle install -j $(nproc)
- - echo -e "\\e[0Ksection_end:`date +%s`:bundle_install\\r\\e[0K"
- pnpm_install:
- - pnpm config set store-dir .pnpm-store
- - pnpm install
- pnpm_install_all:
- # retry on errors
- - pnpm config set store-dir .pnpm-store
- - pnpm install || pnpm install || pnpm install
- - pnpm cypress:install || pnpm cypress:install || pnpm cypress:install
- - pnpm --dir .eslint-plugin-zammad install || pnpm --dir .eslint-plugin-zammad install || pnpm --dir .eslint-plugin-zammad install
- - pnpm --dir public/assets/chat install || pnpm --dir public/assets/chat install || pnpm --dir public/assets/chat install
- configure_environment:
- - bundle exec ruby .gitlab/configure_environment.rb
- - source .gitlab/environment.env
- zammad_db_init:
- - echo -e "\\e[0Ksection_start:`date +%s`:zammad_db_init[collapsed=true]\\r\\e[0Kbundle exec rake zammad:db:init"
- - bundle exec rake zammad:db:init
- - echo -e "\\e[0Ksection_end:`date +%s`:zammad_db_init\\r\\e[0K"
- zammad_db_unseeded:
- - echo -e "\\e[0Ksection_start:`date +%s`:zammad_db_unseeded[collapsed=true]\\r\\e[0Kbundle exec rake zammad:db:unseeded"
- - bundle exec rake zammad:db:unseeded
- - echo -e "\\e[0Ksection_end:`date +%s`:zammad_db_unseeded\\r\\e[0K"
- zammad_ci_test_prepare:
- - echo -e "\\e[0Ksection_start:`date +%s`:zammad_ci_test_prepare[collapsed=true]\\r\\e[0Kbundle exec rake zammad:ci:test:prepare"
- - bundle exec rake zammad:ci:test:prepare
- - echo -e "\\e[0Ksection_end:`date +%s`:zammad_ci_test_prepare\\r\\e[0K"
|