summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '54478-table_exists-not-compatible-with-rails-5-1' into 'master'Douglas Barbosa Alexandre2019-07-251-4/+0
|\ | | | | | | | | | | | | Resolve "table_exists? not compatible with Rails 5.1" Closes #54478 See merge request gitlab-org/gitlab-ce!30832
| * Remove unneeded monkey-patch54478-table_exists-not-compatible-with-rails-5-1Heinrich Lee Yu2019-07-251-4/+0
| | | | | | | | | | Changes all calls to data_source_exists? to table_exists? since that is the intent of these calls
* | Merge branch ↵Nick Thomas2019-07-251-2/+0
|\ \ | |/ |/| | | | | | | | | 'qa-stop-printing-dots-while-retrieving-pod-names-in-review-deploy' into 'master' Stop printing dots while retrieving pod in review-apps.sh See merge request gitlab-org/gitlab-ce!31062
| * Stop printing dots while retrieving pod in review-apps.shqa-stop-printing-dots-while-retrieving-pod-names-in-review-deployRémy Coutable2019-07-231-2/+0
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Merge branch '64998-increase-helm-deploy-command-timeout' into 'master'Sean McGivern2019-07-241-1/+1
|\ \ | | | | | | | | | | | | | | | | | | Increase the Review App deploy command timeout to 15 minutes Closes #64998 See merge request gitlab-org/gitlab-ce!31061
| * | Increase the Review App deploy timeout to 15 minutes64998-increase-helm-deploy-command-timeoutRémy Coutable2019-07-231-1/+1
| |/ | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Merge branch 'sh-add-rugged-to-peek' into 'master'Sean McGivern2019-07-241-1/+3
|\ \ | | | | | | | | | | | | Add Rugged calls to performance bar See merge request gitlab-org/gitlab-ce!30983
| * | Add Rugged calls to performance barStan Hu2019-07-231-1/+3
| | | | | | | | | | | | | | | | | | This will help diagnose the source of excessive I/O from Rugged calls. To implement this, we need to obtain the full list of arguments sent to each request method.
* | | Merge branch '64996-fix-review-app-debugging' into 'master'Lin Jen-Shin2019-07-241-1/+1
|\ \ \ | |/ / |/| | | | | | | | | | | | | | Resolve "Review App debugging sometimes fail because multiple Unicorn pods exist" Closes #64996 See merge request gitlab-org/gitlab-ce!31058
| * | Fix Review App debugging64996-fix-review-app-debuggingRémy Coutable2019-07-231-1/+1
| |/ | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Remove dead MySQL codeNick Thomas2019-07-231-7/+0
|/ | | | None of this code can be reached any more, so it can all be removed
* Extend yamllint test to changelogsPeter Dave Hello2019-07-231-24/+0
| | | | cc !30979
* Add Rugged calls and duration to API and Rails logsStan Hu2019-07-181-1/+6
| | | | | | | | This adds `rugged_duration_ms` and `rugged_calls` fields to `api_json.log` and `production_json.log`. This will make it easier to identify performance issues caused by excessive I/O. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/64676
* Generate parallel spec reportsqa-review-knapsack-reportsDesiree Chevalier2019-07-171-0/+84
| | | | | Creates reports for parallel specs and collates them into a single HTML report and displays results on the merge request.
* Fix link pointing to the documentation styleguidePeter Leitzen2019-07-161-2/+2
| | | | | | Using the old link redirects to https://docs.gitlab.com/ee/development/documentation/index.html which does not show the mentioned documentation.
* Merge branch '64356-pin-external-dns-version' into 'master'Grzegorz Bizon2019-07-121-3/+4
|\ | | | | | | | | | | | | ReviewApps: CI pin external-dns to 2.x version Closes #64356 See merge request gitlab-org/gitlab-ce!30577
| * ReviewApps: CI pin external-dns to 2.x version64356-pin-external-dns-versionJason Plum2019-07-121-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | Pin the version of deployed external-dns to `2.y.z`, using SemVer matching. (`^2.2.1`) Update the properties for the service account keys per *Upgrading to 2.0.0* of the `stable/external-dns` README. Add `aws.batchChangeSize=400` to combat messages about RDATA being too large. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/64356
* | Merge branch 'rename-gitlab-docs-repo' into 'master'Marcia Ramos2019-07-121-3/+3
|\ \ | | | | | | | | | | | | Move the gitlab-docs project under gitlab-org See merge request gitlab-org/gitlab-ce!30620
| * | Move the gitlab-docs project under gitlab-orgrename-gitlab-docs-repoAchilleas Pipinellis2019-07-111-3/+3
| |/ | | | | | | | | Search and replace gitlab-com/gitlab-docs with gitlab-org/gitlab-docs. For https://gitlab.com/gitlab-com/gitlab-docs/issues/310
* | Gather memory usage data in testsAleksei Lipniagov2019-07-121-0/+21
|/ | | | Log memory stats after running each spec file and compile the report.
* Fix docs URL in trigger-build-docs puts texttrigger-build-docs-textMike Lewis2019-07-081-2/+2
|
* Add resources requests and limits for all Review Apps resourcesRémy Coutable2019-07-041-23/+105
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Get memory data after booting app in production62722-boot-app-in-ci-and-check-memory-ceAleksei Lipniagov2019-06-282-4/+17
| | | | | | 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.
* Revert "Merge branch '62722-boot-app-in-ci-and-check-memory' into 'master'"Rémy Coutable2019-06-282-16/+4
| | | This reverts merge request !30031
* Get memory data after booting app in production62722-boot-app-in-ci-and-check-memoryAleksei Lipniagov2019-06-282-4/+16
| | | | | | 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.
* Merge branch 'improve-review-apps-cleanup-when-previous-deployment-failed' ↵Lin Jen-Shin2019-06-251-46/+56
|\ | | | | | | | | | | | | | | | | into 'master' Improve Review Apps cleanup when previous deployment failed by only issuing an `helm delete` command Closes #63639 and #62161 See merge request gitlab-org/gitlab-ce!28661
| * Install Helm on dedicated nodesimprove-review-apps-cleanup-when-previous-deployment-failedRémy Coutable2019-06-251-2/+9
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
| * Let Helm handle the cleanup and print logs when deployment failsRémy Coutable2019-06-251-45/+48
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Merge branch ↵Lin Jen-Shin2019-06-251-1/+8
|\ \ | | | | | | | | | | | | | | | | | | '62735-for-stable-branches-build-cng-images-from-corresponding-stable-branches-in-cng-mirror-project' into 'master' Pass branch name to the CNG pipeline for stable branches See merge request gitlab-org/gitlab-ce!29617
| * | Pass branch name to the CNG pipeline for stable branches62735-for-stable-branches-build-cng-images-from-corresponding-stable-branches-in-cng-mirror-projectRémy Coutable2019-06-191-1/+8
| | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | Generate gem size metrics in memory CI62722-add-gem-size-data-to-metrics-reportQingyu Zhao2019-06-214-47/+48
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | This includes several changes: - Rename memory-static to generate-gems-size-metrics-static - Rename memory-static-objects to generate-gems-memory-metrics-static - Change generate-gems-size-metrics-static interface. The script now expect `bundle exec derailed bundle:mem` output as its input. The script output to stdout, or stderr for error message. - Change generate-gems-memory-metrics-static interface. The script now expect `bundle exec derailed bundle:objects` output as its input. The script output to stdout, or stderr for error message. - Generate gem size metrics. Script generate-gems-size-metrics-static extract each gem size from `bundle exec derailed bundle:mem` output. Save output to metrics file in format: 'gem_size_mb{name="zip"} 0.5'
* | Add watch option to test scriptPaul Gascou-Vaillancourt2019-06-191-7/+16
|/
* Run static benchmarks from 'derailed_benchmarks'62722-include-derailed-benchmarks-data-to-ci-reportAleksei Lipniagov2019-06-192-0/+47
| | | | | | | | Two static memory benchmarks will be included in our CI pipeline. It will load gems from the Gemfile and check the amount of RAM consumed as well as the number of objects allocated and retained. Aggregated values will be included as 'metrics' into MRs while full reports will be downloadable as job artifacts.
* Merge branch 'zj-disable-hooks-testing' into 'master'Bob Van Landuyt2019-06-171-1/+4
|\ | | | | | | | | Disable hooks by setting an ENV var See merge request gitlab-org/gitlab-ce!29672
| * Disable hooks by setting an ENV varZeger-Jan van de Weg2019-06-141-1/+4
| | | | | | | | | | | | Prior to this change, the hooks directory got cleared. That works, but is not the way to go about it as there's a better way. Setting the env var this commits sets.
* | Apply suggestion to scripts/review_apps/review-apps.sh62149-ci-review-apps-change-pullpolicy-sidekiq-and-unicornRémy Coutable2019-06-121-1/+1
| |
* | Pass FORCE_RAILS_IMAGE_BUILDS=true to the CNG triggered pipelineRémy Coutable2019-06-121-0/+1
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | [Review Apps] Set `global.imagePullPolicy: Always`Rémy Coutable2019-06-121-0/+1
|/ | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch '62151-broken-master' into 'master'Kamil Trzciński2019-05-241-6/+5
|\ | | | | | | | | | | | | Fix MySQL CI jobs Closes #62156 and #62151 See merge request gitlab-org/gitlab-ce!28593
| * Fix MySQL CI jobsRémy Coutable2019-05-221-6/+4
| | | | | | | | | | | | [run mysql] Signed-off-by: Rémy Coutable <remy@rymai.me>
| * Revert "Merge branch 'revert-04c3c6dd' into 'master'"Rémy Coutable2019-05-221-0/+1
| | | | | | | | | | This reverts commit 744f1f2e7037f5c70c3168d9e2e89b1c327465d2, reversing changes made to c4d930e5f54e7da07c80cc028dfc0f5c08719146.
* | Merge branch '58869-unified-fe-test-script' into 'master'Clement Ho2019-05-231-0/+114
|\ \ | |/ |/| | | | | | | | | Create a unified script to run Jest & Karma tests Closes #58869 See merge request gitlab-org/gitlab-ce!27239
| * Update FE test script58869-unified-fe-test-scriptPaul Slaughter2019-05-131-22/+59
| | | | | | | | | | | | | | - Don't fail when no tests match - Print the cmd prefix for each line in it's data - Update exit code handling - Add colors to summary message
| * Create a unified script to run Jest & Karma testsPaul Gascou-Vaillancourt2019-05-131-0/+77
| | | | | | | | | | - Created scripts/frontend/test.js - Updated test task to call Node script
* | Revert "Merge branch 'reorganize-tests-jobs-by-level' into 'master'"revert-04c3c6ddKamil Trzciński2019-05-221-1/+0
| | | | | | This reverts merge request !27514
* | Merge branch 'reorganize-tests-jobs-by-level' into 'master'Kamil Trzciński2019-05-221-0/+1
|\ \ | | | | | | | | | | | | Reorganize test jobs by level See merge request gitlab-org/gitlab-ce!27514
| * | Reorganize test jobs by levelreorganize-tests-jobs-by-levelRémy Coutable2019-05-201-0/+1
| | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | Fix typos in the whole gitlab-ce projectYoginth2019-05-201-1/+1
|/ /
* | Clean up assets that are older than 4 days to reduce assets cache sizecleanup-assets-older-than-4-daysRémy Coutable2019-05-141-2/+2
|/ | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Docs: Merge EE doc/gitlab-geo to CEMarcel Amirault2019-05-051-1/+1
|