summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Docs: Merge Various EE /doc dirs to CEMarcel Amirault2019-05-051-1/+1
|
* Docs: Merge EE doc/analytics to CEMarcel Amirault2019-05-011-1/+1
|
* Disable HTTP for the nginx-ingress Review App serviceRémy Coutable2019-04-301-0/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Organize better Review Apps and QA jobsRémy Coutable2019-04-242-102/+131
| | | | | | | Also, play manual jobs once dependency jobs are done instead of polling for the dependent jobs to be finished. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Make the Review App cleanup more efficientretry-review-deploy-twiceRémy Coutable2019-04-191-3/+3
| | | | | | Ensure that the cleanup starts right away. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Don't fail the job if the Review App doesn't deploy properlyqa-fix-review-app-pingRémy Coutable2019-04-171-2/+2
| | | | | | | | | | | | It seems the deploy function causes the job to fail if it doesn't succeed. That wasn't the intent as we want to curl the Review App after the deploy finished (even if it failed) because sometimes the Review App is just a bit long to be ready. This change wraps the Review App deployment with "set +e"/"set -e" to ensure that the job doesn't fail right away if the deploy fails. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Conform scripts/review_apps/review-apps.sh to shellcheckRémy Coutable2019-04-091-55/+31
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Poll Review App after it's deployed to ensure it's accessibleRémy Coutable2019-04-091-0/+25
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch 'enable-rubocop-application-record' into 'master'Lin Jen-Shin2019-04-011-1/+1
|\ | | | | | | | | | | | | Document ApplicationRecord / pluck_primary_key Closes #59690 See merge request gitlab-org/gitlab-ce!26764
| * Document ApplicationRecord / pluck_primary_keyNick Thomas2019-03-291-1/+1
| | | | | | | | We also enable the rubocop that makes it mandatory
* | Add more logging in the Review Apps deployment steps59569-some-steps-are-missed-during-review-apps-deploymentsRémy Coutable2019-03-281-125/+161
|/ | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* First iteration of GitLab own StylelintsTim Zallmann2019-03-265-0/+394
| | | | | | | | DRYed the code Changed new rules to warnings Manual prettified and added stylelint rules
* Fix the .review-deploy-base job so that env variables are passedRémy Coutable2019-03-191-0/+10
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Use gitlab-ce as default project name in asset image buildingBalasankar "Balu" C2019-03-151-4/+2
| | | | Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
* Set asset image name properly for all possible CE/EE project namesBalasankar "Balu" C2019-03-151-8/+7
| | | | Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
* Run rubocop -aNick Thomas2019-03-132-14/+10
|
* Tag asset docker image with GitLab version alsoBalasankar "Balu" C2019-03-122-1/+7
| | | | Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
* Batch insert CI rspec_profiling dataStan Hu2019-03-121-0/+47
| | | | | | | | | | | | | | | 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
* Remove node 6 trailing comma supportMike Greiling2019-03-112-3/+3
| | | | | This removes trailing commas from node scripts which previously omitted them for compatiblity with node 6
* Bring back Rugged implementation of find_commitStan Hu2019-03-011-1/+7
| | | | | | | | | | | | | | | | This brings back some of the changes in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/20339. For users using Gitaly on top of NFS, accessing the Git data directly via Rugged is more performant than Gitaly. This merge request introduces the feature flag `rugged_find_commit` to activate Rugged paths. There are also Rake tasks `gitlab:features:enable_rugged` and `gitlab:features:disable_rugged` to enable/disable these feature flags altogether. Part of four Rugged changes identified in https://gitlab.com/gitlab-org/gitlab-ce/issues/57317.
* Move ChatOps docs from EE to coreJames Fargher2019-02-211-1/+1
| | | | ChatOps used to be in the Ultimate tier.
* Adds the commit sha to the pushed assetsJohn T Skarbek2019-02-191-1/+3
| | | | | | * This will upload the sha of the docker image containing assets to assist with building specific sha builds in the future. * Addresses: https://gitlab.com/gitlab-org/release/framework/issues/51