Skip to content

Commit

Permalink
Fast build
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverguenther committed Sep 12, 2024
1 parent 6d54bf0 commit 313be6d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker/ci/db_entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ backend_stuff() {
}

frontend_stuff() {
execute_quiet "DATABASE_URL=nulldb://db time bin/rails openproject:plugins:register_frontend assets:precompile"
execute_quiet "OPENPROJECT_ANGULAR_BUILD=fast DATABASE_URL=nulldb://db time bin/rails openproject:plugins:register_frontend assets:precompile"
execute_quiet "cp -rp config/frontend_assets.manifest.json public/assets/frontend_assets.manifest.json"
}

Expand Down Expand Up @@ -118,21 +118,21 @@ setup_tests() {
run_units() {
shopt -s extglob
reset_dbs
execute "time bundle exec rspec --tag '~problematic' modules/openproject-open_desk/spec/!(features)"
execute "time bundle exec rspec modules/openproject-open_desk/spec/!(features)"
cleanup
}

run_features() {
shopt -s extglob
reset_dbs
execute "time bundle exec rspec --tag '~problematic' modules/openproject-open_desk/spec/features"
execute "time bundle exec rspec modules/openproject-open_desk/spec/features"
cleanup
}

run_all() {
shopt -s globstar
reset_dbs
execute "time bundle exec rspec --tag '~problematic' modules/openproject-open_desk/spec"
execute "time bundle exec rspec modules/openproject-open_desk/spec"
cleanup
}

Expand Down

0 comments on commit 313be6d

Please sign in to comment.