Commit Graph

7 Commits

Author SHA1 Message Date
GitLab Bot 2b2d833ab3 Add latest changes from gitlab-org/gitlab@master 2022-01-25 18:11:55 +00:00
GitLab Bot 589ee0e419 Add latest changes from gitlab-org/gitlab@master 2021-12-22 06:13:39 +00:00
GitLab Bot 49d26b2348 Add latest changes from gitlab-org/gitlab@master 2021-02-12 12:09:02 +00:00
GitLab Bot 62fcb9ffa9 Add latest changes from gitlab-org/gitlab@master 2019-12-22 06:07:52 +00:00
Heinrich Lee Yu 2b3d00a778 Remove unneeded monkey-patch
Changes all calls to data_source_exists? to table_exists?
since that is the intent of these calls
2019-07-25 12:21:38 +08:00
Nick Thomas 98a5976b78
Document ApplicationRecord / pluck_primary_key
We also enable the rubocop that makes it mandatory
2019-03-29 20:54:06 +00:00
Stan Hu f11030173b Batch insert CI rspec_profiling data
Instead of inserting a row after each example to an external database,
we save the CI profiling reports into the `rspec_profiling` directory
and insert the data in the update-tests-metadata CI stage.  This should
make each spec run faster and also reduce the number of PostgreSQL
connections needed by concurrent CI builds.

`scripts/insert-rspec-profiling-data` also inserts one file at a time
via the PostgreSQL COPY command for faster inserts. The one side effect
is that the `created_at` and `updated_at` timestamps aren't available
since they aren't generated in the CSV.

Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/10154
2019-03-12 09:51:37 +00:00