Commit Graph

78 Commits

Author SHA1 Message Date
GitLab Bot 585826cb22 Add latest changes from gitlab-org/gitlab@16-6-stable-ee 2023-11-14 08:41:52 +00:00
GitLab Bot e4384360a1 Add latest changes from gitlab-org/gitlab@16-2-stable-ee 2023-07-19 14:16:28 +00:00
GitLab Bot 3b1af5cc7e Add latest changes from gitlab-org/gitlab@16-1-stable-ee 2023-06-20 10:43:29 +00:00
GitLab Bot 43a25d93eb Add latest changes from gitlab-org/gitlab@16-0-stable-ee 2023-05-17 16:05:49 +00:00
GitLab Bot 71786ddc8e Add latest changes from gitlab-org/gitlab@15-9-stable-ee 2023-02-20 13:49:51 +00:00
GitLab Bot 0ea3fcec39 Add latest changes from gitlab-org/gitlab@15-1-stable-ee 2022-06-20 11:10:13 +00:00
GitLab Bot d9ab72d608 Add latest changes from gitlab-org/gitlab@14-4-stable-ee 2021-10-20 08:43:02 +00:00
GitLab Bot 0653e08efd Add latest changes from gitlab-org/gitlab@14-3-stable-ee 2021-09-20 13:18:24 +00:00
GitLab Bot a5f4bba440 Add latest changes from gitlab-org/gitlab@14-0-stable-ee 2021-06-16 18:25:58 +00:00
GitLab Bot 4555e1b21c Add latest changes from gitlab-org/gitlab@13-12-stable-ee 2021-05-19 15:44:42 +00:00
GitLab Bot 859a6fb938 Add latest changes from gitlab-org/gitlab@13-9-stable-ee 2021-02-18 10:34:06 +00:00
GitLab Bot 48aff82709 Add latest changes from gitlab-org/gitlab@13-5-stable-ee 2020-10-21 07:08:36 +00:00
GitLab Bot a09983ae35 Add latest changes from gitlab-org/gitlab@13-2-stable-ee 2020-07-20 12:26:25 +00:00
GitLab Bot 9f46488805 Add latest changes from gitlab-org/gitlab@13-0-stable-ee 2020-05-20 14:34:42 +00:00
GitLab Bot 88542a5e96 Add latest changes from gitlab-org/gitlab@master 2019-11-19 15:06:24 +00:00
Aleksei Lipniagov f44719f39c Get memory data after booting app in production
Preload the app in `production` env, hit it with a single request, and
gather total gem memory consumption data using `derailed exec perf:mem`
from `derailed_benchmarks`. Present the result as MR metrics.
2019-06-28 20:12:50 +03:00
Rémy Coutable 7c38c0b4b2 Revert "Merge branch '62722-boot-app-in-ci-and-check-memory' into 'master'"
This reverts merge request !30031
2019-06-28 15:55:54 +00:00
Aleksei Lipniagov fb1d433703 Get memory data after booting app in production
Preload the app in `production` env, hit it with a single request, and
gather total gem memory consumption data using `derailed exec perf:mem`
from `derailed_benchmarks`. Present the result as MR metrics.
2019-06-28 13:49:57 +03:00
Rémy Coutable d02d3e34dd
Fix MySQL CI jobs
[run mysql]

Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-05-22 21:47:32 +02:00
Rémy Coutable 6145ddf515
Revert "Merge branch 'revert-04c3c6dd' into 'master'"
This reverts commit 744f1f2e70, reversing
changes made to c4d930e5f5.
2019-05-22 21:47:32 +02:00
Kamil Trzciński 4f20c9de6f Revert "Merge branch 'reorganize-tests-jobs-by-level' into 'master'"
This reverts merge request !27514
2019-05-22 11:45:46 +00:00
Rémy Coutable 4d9c76e9e4
Reorganize test jobs by level
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-05-20 14:31:58 +02:00
Sean McGivern 1854f142e2 Stop using deprecated argument to `gem`
`--no-rdoc` and `--no-ri` have been deprecated since RubyGems 2.0:
https://github.com/rubygems/rubygems/blob/v2.0.0/History.txt#L43

They were finally removed in a recent release:
https://github.com/rubygems/rubygems/pull/2354
2018-12-31 09:30:23 +00:00
Rémy Coutable 35c69ea218 Merge branch 'rs-prepare-build-parity' into 'master'
CE-EE parity for prepare_build script

See merge request gitlab-org/gitlab-ce!23819
2018-12-17 10:02:15 +00:00
Robert Speicher a183aa3c47
CE-EE parity for prepare_build script
This removes EE-only directives in favor of file existence checks.
2018-12-13 14:32:42 -06:00
Robert Speicher 48ae572847
Remove CREATE_DB_USER variable in prepare_build
The last usage of this variable was removed in
0ab6469187.
2018-12-13 12:20:40 -06:00
Rémy Coutable bc57a62a5c
Improve the single-script jobs CI config
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-05-21 11:30:44 +02:00
Lin Jen-Shin 0ab6469187 Grant privileges after database is created
Never drop the database when granting privileges
2018-05-16 21:52:08 +08:00
Lin Jen-Shin cdcde75bb7 Only setup db in the first checkout! 2018-05-16 21:52:08 +08:00
Rémy Coutable fca2a75266 Ensure Gitaly Ruby gems are installed using the correct Gemfile and at the correct location
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-01-23 15:29:20 +01:00
Lin Jen-Shin d6fcdec52f Make sure we're using git installed in gitlab-build-images 2017-11-23 18:26:41 +08:00
Stan Hu 8efdf75bcb Use a non-superuser user to access GitLab to ensure permissions are proper
We have run into permission issues with MySQL triggers in #36633 that
would have been caught earlier either if our migration tests or GitLab QA
tests had been testing against non-superuser users. This change creates
a non-superuser that has access to the GitLab test database and uses that.

Closes #39932
2017-11-09 22:14:03 -08:00
bogdanvlviv c17570d3b3
Update scripts/prepare_build.sh 2017-10-17 21:15:19 +03:00
Rémy Coutable c4d35a415a
Don't install fog-aws and mime-types gems in scripts/prepare_build.sh
Instead, install them only for the 'update-knapsack' job.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-13 16:08:31 +02:00
Rémy Coutable 6d22e1e838 Revert "Merge branch '34902-bump-knapsack-to-1-14-0' into 'master'"
This reverts merge request !12753
2017-07-11 10:59:16 +00:00
Rémy Coutable d7bbafd897 Merge branch '34902-bump-knapsack-to-1-14-0' into 'master'
Bump knapsack to 1.14.0

Closes #34902

See merge request !12753
2017-07-11 08:21:20 +00:00
Paul Charlton cb3b4a15e6 Support multiple Redis instances based on queue type 2017-07-11 03:35:47 +00:00
Takuya Noguchi 3f52ea5bd1 Bump knapsack to 1.14.0 2017-07-11 06:02:28 +09:00
Rémy Coutable 6813c9ef51 Move the DB name at the end of the first jobs' name word and prepend it with a dash
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-17 13:25:14 +02:00
Rémy Coutable fe57708e6a Resolve "rspec_profiling is enabled for MySQL" 2017-04-28 18:05:39 +00:00
Rémy Coutable b45b08cbbf
Run `bundle check` after `bundle install` instead of having a dedicated job for it
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-04-26 17:37:01 +02:00
Lin Jen-Shin 075d2bacfd Properly use $BUNDLE_INSTALL_FLAGS 2017-04-13 16:02:36 +08:00
Lin Jen-Shin 11ef3154bb Always use . and add more comments to prepare_build.sh 2017-04-13 15:48:25 +08:00
Lin Jen-Shin 330292518e Merge remote-tracking branch 'upstream/master' into test-pg-mysql
* upstream/master: (90 commits)
  Fixed notebooklab code including file paths
  [BB Importer] Save the error trace and the whole raw document
  Statisfy Robertcop and Seancop
  Update documents according to:
  Update licenses.csv via:
  Update templates via:
  Add foreign key on trigger requests
  Added CHANGELOG
  Added tests and fixed a typo
  Fix typo on the class merge-when-pipeline_succeeds
  Axil's review
  remove unnecessary line
  typo
  fix typo
  fix links
  Remove an unused `cared` scope from Issue and MergeRequest
  Remove an unused `Issue.open_for` scope
  add topic: authentication
  Fix edit button on blame page without repo perms
  Don't show 'Copy content' button on text files that are not rendered as text
  ...
2017-04-12 16:11:35 +08:00
Lin Jen-Shin 5e6d09edba Just set GITLAB_DATABASE in the script 2017-04-11 01:56:30 +08:00
Lin Jen-Shin c78f03ae6e We cannot use array in yaml variables 2017-04-11 00:39:19 +08:00
Lin Jen-Shin f1e2387e28 Use GITLAB_DATABASE: $CI_JOB_NAME[1] so that we
reduce variables definitions. Feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10156#note_26811996
2017-04-10 19:15:42 +08:00
Lin Jen-Shin a9945a6500 Replace on host rather than socket, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10156#note_26812377
2017-04-10 18:41:35 +08:00
bogdanvlviv f86edca66c Remove unused code from the scripts/prepare_build.sh file 2017-04-05 13:18:37 +03:00
Lin Jen-Shin a236e4132e Merge remote-tracking branch 'upstream/master' into test-pg-mysql
* upstream/master: (127 commits)
  Fixed up issue boards JS specs
  Implement new service for creating user
  Add Changelog entry for pipeline retry fix
  Do not retry jobs multiple times when retrying a pipeline
  Update sentry-raven 2.0.2 -> 2.4.0
  Update webmock 1.21.0 -> 1.24.6
  Update spring 1.7.2 -> 2.0.1
  Update simplecov 0.12.0 -> 0.14.1
  Update pry-rails 0.3.4 -> 0.3.5
  Update pry-byebug 3.4.1 -> 3.4.2
  Update flay 2.6.1 -> 2.8.1
  Optimize labels finder query
  Remove Tags filter from Projects Explore dropdown
  Update capybara-screenshot 1.0.11 -> 1.0.14
  Update bullet 5.2.0 -> 5.5.1
  Update brakeman 3.4.1 -> 3.6.1
  Remove web-console gem
  Update better_errors 1.0.1 -> 2.1.1
  Display flash message to unauthenticated user when creating new issue
  Activate group name toggle based on horizontal space
  ...
2017-03-27 21:36:36 +08:00