summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab
Commit message (Collapse)AuthorAgeFilesLines
* Build instead of createci-job-only-except-conflict-specsdrew cimino2019-07-161-1/+1
|
* Polish for Ci::Pipeline::Seed::Build specsdrew cimino2019-07-111-62/+143
|
* Added specs for Ci::Pipeline::Seed::Builddrew cimino2019-07-111-8/+49
| | | | - #included? when only: and except: both match
* Give Knative serving permissions to service accountHordur Freyr Yngvason2019-07-113-1/+36
| | | | | | | | GitLab uses a kubernetes service account to perform deployments. For serverless deployments to work as expected with externally created clusters with their own knative installations (e.g. via Cloud Run), this account requires additional permissions in the serving.knative.dev API group.
* Merge branch 'better-merge-train-exlusive-lock-ce' into 'master'Kamil Trzciński2019-07-111-0/+147
|\ | | | | | | | | CE Port: Fix race condition on merge train with better exclusive lock See merge request gitlab-org/gitlab-ce!30352
| * Efficient merge train locksbetter-merge-train-exlusive-lock-ceShinya Maeda2019-07-111-0/+147
| | | | | | | | Efficient merge train locks with Sequential Process helper.
* | Merge branch 'banzai-avoid-redis-if-db-cache' into 'master'Douwe Maan2019-07-111-3/+4
|\ \ | | | | | | | | | | | | Banzai - avoid redis if attr is in DB cache See merge request gitlab-org/gitlab-ce!30334
| * | Banzai - avoid redis if attr is in DB cachebanzai-avoid-redis-if-db-cacheMario de la Ossa2019-07-101-3/+4
| | | | | | | | | | | | | | | | | | | | | When cache_collection_render runs we end up reading and writing things to redis even if we already have the rendered field cached in the DB. This commit avoids using redis at all whenever we have the field already rendered in the DB cache.
* | | Merge branch 'bvl-link-phab-users' into 'master'James Lopez2019-07-118-16/+272
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | Fetch users from Phabricator + link to issues Closes #60565 See merge request gitlab-org/gitlab-ce!30321
| * | Fetch users from Phabricator to link to issuesBob Van Landuyt2019-07-108-16/+272
| | | | | | | | | | | | | | | | | | | | | | | | | | | We fetch the users from Phabricator based on their Phabricator ID. If a user with the same username exists and is a member of the project, we set them as assignee or author. When a user is applicable, we also cache it in Redis so we don't have to perform the request again for the same phid.
* | | Merge branch '63044-cluster-health-group-refactor' into 'master'Douglas Barbosa Alexandre2019-07-102-0/+138
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Refactor common_metrics importer into a more extensible pattern Closes #63044 See merge request gitlab-org/gitlab-ce!30012
| * | | Remove unnecessary let in spec63044-cluster-health-group-refactorRyan Cobb2019-07-091-6/+3
| | | |
| * | | Rename Gitlab::Importers moduleRyan Cobb2019-07-092-4/+4
| | | | | | | | | | | | | | | | | | | | In order to avoid confusion between Gitlab::Importers module and other like named modules, this renamed it to Gitlab::DatabaseImporters.
| * | | Remove CommonMetricsImporter patchRyan Cobb2019-07-092-0/+141
| | | | | | | | | | | | | | | | | | | | | | | | Remove CommonMetricsImporter patch and change all references to CommonMetrics::Importer. Move specs into their appropriate folders. Also cleans up some common_metric importer namespacing.
* | | | Merge branch 'prepare-cycle-analytics-for-group-level' into 'master'Douglas Barbosa Alexandre2019-07-102-2/+2
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | Prepare cycle analytics for group level See merge request gitlab-org/gitlab-ce!30356
| * | | Add cr remarksMałgorzata Ksionek2019-07-091-1/+1
| | | |
| * | | Update events specMałgorzata Ksionek2019-07-091-1/+1
| | | |
| * | | Change constant pathMałgorzata Ksionek2019-07-091-1/+1
| | | |
* | | | Expose metrics element for FE consumptionSarah Yasonik2019-07-101-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds GFM Pipline filters to insert a placeholder in the generated HTML from GFM based on the presence of a metrics dashboard link. The front end should look for the class 'js-render-metrics' to determine if it should replace the element with metrics charts. The data element 'data-dashboard-url' should be the endpoint the front end should hit in order to obtain a dashboard layout in order to appropriately render the charts.
* | | | GraphQL support for Notes created in discussions62826-graphql-note-mutationsLuke Duncalfe2019-07-101-0/+37
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A new `discussion_id` argument on the `createNote` mutation allows people to create a note within that discussion. The ability to lazy-load Discussions has been added, so GraphQL.object_from_id can treat Discussions the same as AR objects and batch load them. https://gitlab.com/gitlab-org/gitlab-ce/issues/62826 https://gitlab.com/gitlab-org/gitlab-ee/issues/9489
* | | Merge branch 'fix-unicorn-sampler-workers-count' into 'master'Stan Hu2019-07-091-10/+23
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Make unicorn_workers to return meaningful results Closes #63659 See merge request gitlab-org/gitlab-ce!30506
| * | | Make unicorn_workers to return meaningful resultsfix-unicorn-sampler-workers-countKamil Trzciński2019-07-091-10/+23
| |/ /
* | | Disabling can_use_disk? temporarilyJohn Cai2019-07-091-0/+2
| | |
* | | Merge branch 'fix-median-counting-for-cycle-analytics' into 'master'Andreas Brandl2019-07-091-0/+34
|\ \ \ | |/ / |/| | | | | | | | Add additional condition to count median properly See merge request gitlab-org/gitlab-ce!30229
| * | Modify specs according to reviewfix-median-counting-for-cycle-analyticsMałgorzata Ksionek2019-07-041-9/+8
| | |
| * | Rearrange spec for readabilityMałgorzata Ksionek2019-07-041-22/+23
| | |
| * | Fix rubocop offenceMałgorzata Ksionek2019-07-041-1/+1
| | |
| * | Add where condition to count in median classMałgorzata Ksionek2019-07-041-0/+34
| | |
* | | Merge branch 'jc-detect-nfs-for-rugged' into 'master'Dmitriy Zaporozhets2019-07-083-1/+99
|\ \ \ | | | | | | | | | | | | | | | | Use Rugged if we detect storage is NFS and we can access the disk See merge request gitlab-org/gitlab-ce!29725
| * | | Use Rugged if we detect storage is NFS and we can access the diskjc-detect-nfs-for-ruggedJohn Cai2019-07-053-1/+99
| | | | | | | | | | | | | | | | | | | | Add a module we use as a singleton to determine whether or not rails is able to access the disk
* | | | Merge branch '40379-CJK-search-min-chars' into 'master'Andreas Brandl2019-07-081-0/+12
|\ \ \ \ | |/ / / |/| | | | | | | | | | | Remove minimum required characters for fuzzy search if no trigram is used See merge request gitlab-org/gitlab-ce!29810
| * | | Ignore min_chars_for_partial_matching unles trigrm40379-CJK-search-min-charsMario de la Ossa2019-07-041-0/+12
| | |/ | |/| | | | | | | | | | If we're not using a trigram index, then ignore the min_chars_for_partial_matching setting
* | | Merge branch 'create-merge-train-ref-ce' into 'master'Douwe Maan2019-07-052-5/+6
|\ \ \ | | | | | | | | | | | | | | | | CE Port: Extend `MergeToRefService` to create merge ref from an arbitrary ref See merge request gitlab-org/gitlab-ce!30361
| * | | Extend MergeToRefService for creating merge ref from the other refShinya Maeda2019-07-052-5/+6
| | |/ | |/| | | | | | | | | | | | | | | | Currently, MergeToRefService is specifically designed for createing merge commits from source branch and target branch of merge reqeusts. We extend this behavior to source branch and any target ref paths.
* | | Refactor PositionTracer to support different typesPatrick Bajao2019-07-054-1858/+2116
| | | | | | | | | | | | This is to prepare for supporing image type position tracing
* | | Merge branch 'if-6990-enforce_smartcard_session_for_git_and_api' into 'master'12-1-stable-prepare-rc1Bob Van Landuyt2019-07-051-8/+22
|\ \ \ | | | | | | | | | | | | | | | | CE port of "Require session with smartcard login for Git access" See merge request gitlab-org/gitlab-ce!30384
| * | | CE port of "Require session with smartcard login for Git access"Imre Farkas2019-07-051-8/+22
| |/ /
* | | Merge branch ↵Bob Van Landuyt2019-07-051-0/+23
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | '58409-increase-graphql-complexity-for-fields-that-make-gitaly-calls' into 'master' Increase GraphQL complexity for fields that make Gitaly Calls Closes #58409 See merge request gitlab-org/gitlab-ce!28814
| * | Address reviewer comments58409-increase-graphql-complexity-for-fields-that-make-gitaly-callscharlieablett2019-07-051-16/+10
| | | | | | | | | | | | | | | | | | - Remove Gitaly call check for fields that have a constant complexity declared - Add associated test
| * | Address reviewer commentscharlieablett2019-07-031-0/+29
| | | | | | | | | | | | | | | | | | - Add 1 for all fields that call Gitaly (with resolvers or without) - Clarify comment regarding Gitaly call alert - Expose predicate `calls_gitaly?` instead of ivar
* | | DRY up conditions for files require DB reviewToon Claes2019-07-041-4/+17
| | | | | | | | | | | | | | | | | | | | | | | | Stop using two separate lists for the conditions which files require a database review. Related discussion: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/30156#note_187732053
* | | Fix process start timeRyan Cobb2019-07-042-20/+8
| | | | | | | | | | | | | | | Previously we were recording process start time as seconds from boot. This makes it so we record as epoch time.
* | | Backports for EE's "Allow adding groups to CODEOWNERS file"Igor2019-07-041-78/+0
| |/ |/| | | | | | | Some general code has been added/removed in EE version which needs to be backported in CE
* | Merge branch 'limit-amount-of-tests-returned' into 'master'Stan Hu2019-07-032-24/+7
|\ \ | | | | | | | | | | | | | | | | | | Limit amount of JUnit tests returned Closes #64035 See merge request gitlab-org/gitlab-ce!30274
| * | Limit amount of JUnit tests returnedKamil Trzciński2019-07-032-24/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, we do not cap amount of tests returned to frontend, thus in some extreme cases we can see a MBs of data stored in Redis. This adds an upper limit of 100 tests per-suite. We will continue showing the total counters correctly, but we will limit amount of tests that will be presented.
* | | Cache PerformanceBar.allowed_user_ids list locally and in RedisRémy Coutable2019-07-031-1/+26
| | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | Merge branch 'asciidoc-syntax-highlighting' into 'master'Douwe Maan2019-07-031-1/+67
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | Enable AsciiDoc syntax highlighting (using Rouge) Closes #32635 See merge request gitlab-org/gitlab-ce!29835
| * | Enable AsciiDoc syntax highlighting (using Rouge)Guillaume Grossetie2019-07-021-1/+67
| | |
* | | Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ceMarin Jankovski2019-07-0332-1010/+391
|\ \ \
| * \ \ Merge branch '44990-remove-old-i' into 'master'Nick Thomas2019-07-032-95/+0
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Remove old migration specs that violate FactoriesInMigrationSpecs See merge request gitlab-org/gitlab-ce!30280