Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-06-04Raise error if pipeline / stage hits unknown statusGrzegorz Bizon
2018-05-29Merge branch 'master' into ↵Grzegorz Bizon
backstage/gb/use-persisted-stages-to-improve-pipelines-table * master: (583 commits)
2018-05-29Add a feature flag for switching pipeline stagesGrzegorz Bizon
2018-05-28Merge branch 'ab-45389-remove-double-checked-internal-id-generation' into ↵Yorick Peterse
'master' Remove double-checked internal id generation. Closes #45389 See merge request gitlab-org/gitlab-ce!19181
2018-05-28Remove double-checked internal id generation.Andreas Brandl
This was needed for a transition phase only. For details see #45389. Closes #45389.
2018-05-28Merge branch '45190-create-notes-diff-files' into 'master'Douwe Maan
Persist and use truncated note diffs instead requesting Gitaly in a N+1 manner on MR page Closes #45190 See merge request gitlab-org/gitlab-ce!18991
2018-05-25Merge branch '46600-fix-gitlab-revision-when-not-in-git-repo' into 'master'Rémy Coutable
Resolve "gitlab 10.8 assumes that installation is a git working copy." Closes #46600 See merge request gitlab-org/gitlab-ce!19125
2018-05-25Do not update stage status when it is just createdGrzegorz Bizon
2018-05-24Persist truncated note diffs on a new tableOswaldo Ferreira
We request Gitaly in a N+1 manner to build discussion diffs. Once the diffs are from different revisions, it's hard to make a single request to the service in order to build the whole response. With this change we solve this problem and simplify a lot fetching this piece of info.
2018-05-24Merge branch 'issue_38418' into 'master'Rémy Coutable
Fix sidebar issue count Closes #38418 See merge request gitlab-org/gitlab-ce!19022
2018-05-24Fix sidebar issue countFelipe Artur
2018-05-24Merge branch 'mr-conflict-notification' into 'master'Douwe Maan
MR unmergeable notification See merge request gitlab-org/gitlab-ce!18042
2018-05-24Merge branch 'jprovazn-fix-resolvable' into 'master'Douwe Maan
Check if note's noteable is not nil when checking resolvability Closes #46573 See merge request gitlab-org/gitlab-ce!19081
2018-05-24Replace Gitlab::REVISION with Gitlab.revision and handle installations ↵Rémy Coutable
without a .git directory Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-05-23Check if note's noteable is not nil when checking resolvabilityJan Provaznik
This can occur when a note is added to a commit and then this commit is deleted.
2018-05-23Use the new CacheableAttributes concern in the ApplicationSetting and ↵Rémy Coutable
Appearance models Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-05-23Introduce a new CacheableAttributes concernRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-05-23Resolve "Deprecate Gemnasium project service"Olivier Gonzalez
2018-05-23DRY creating groups of common builds in a stageGrzegorz Bizon
2018-05-22Merge branch 'dm-xcode-project-directory' into 'master'Robert Speicher
Fix Xcode project detection by looking for dirs instead of files See merge request gitlab-org/gitlab-ce!19035
2018-05-22Merge branch ↵Douwe Maan
'22846-notifications-broken-during-email-address-change-before-email-confirmed' into 'master' Resolve "notifications broken during email address change before email confirmed" Closes #22846 See merge request gitlab-org/gitlab-ce!18474
2018-05-22Fix memoization-related rubocop offense in projectGrzegorz Bizon
2018-05-22Abstract persisted/legacy stages in pipeline modelGrzegorz Bizon
2018-05-22Merge branch 'ab-43706-composite-primary-keys' into 'master'Yorick Peterse
Migration to add primary key constraint for composite keys Closes #43706 and #32258 See merge request gitlab-org/gitlab-ce!18980
2018-05-22Order pipeline stages by a position in a relationGrzegorz Bizon
2018-05-22Expose readme url in Project APIImre Farkas
2018-05-22Don't set the notification_email when only unconfirmed_email is changedRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-05-22Preload number of warnings in every stage in a pipelineGrzegorz Bizon
This makes it possible to avoid N+1 queries when loading pipelines table.
2018-05-22Memoize project active runners to avoid N+1 queriesGrzegorz Bizon
2018-05-22Fix Xcode project detection by looking for dirs instead of filesDouwe Maan
2018-05-21Add NOT NULL constraints to project_authorizations.Andreas Brandl
Closes #32258.
2018-05-21Merge branch 'fix/gb/exclude-persisted-variables-from-environment-name' into ↵Grzegorz Bizon
'master' Do not allow to use `CI_PIPELINE_ID` in environment name Closes #46443 See merge request gitlab-org/gitlab-ce!19032
2018-05-21Use persisted stages to load pipelines index tableGrzegorz Bizon
2018-05-21Merge branch '46082-runner-contacted_at-is-not-always-a-time-type' into 'master'Kamil Trzciński
Resolve "Runner#contacted_at is not always a Time type" Closes #46082 See merge request gitlab-org/gitlab-ce!18810
2018-05-21Merge branch '46454-wrong-value-in-ci-deploy-user' into 'master'Kamil Trzciński
Resolve "CI/CD jobs: Wrong value in env. variable CI_DEPLOY_USER using <gitlab-deploy-token> deploy token" Closes #46454 See merge request gitlab-org/gitlab-ce!19047
2018-05-21Rescue Kubeclient::HttpError when generating prometheus_clientShinya Maeda
2018-05-18Fixes deploy tokens build variablesMayra Cabrera
It was using name, instead of username. Fixes documentation as well Closes #46454
2018-05-18Revert "Improve cacheable module"Matija Čupić
This reverts commit 2ebafdfb2f026580153fd2cf50f4b6b7ab3a0344
2018-05-18Improve cacheable moduleKamil Trzciński
2018-05-18Separate persisted and runtime pipeline variablesGrzegorz Bizon
2018-05-18Merge branch 'fix/gb/not-allow-to-trigger-skipped-manual-actions' into 'master'Kamil Trzciński
Do not allow to trigger manual actions that were skipped Closes #42589 See merge request gitlab-org/gitlab-ce!18985
2018-05-18Do not allow to use `CI_PIPELINE_ID` in environment nameGrzegorz Bizon
2018-05-18Avoid race condition of re-triggering mark_as_uncheckedMark Chao
2018-05-17Merge branch '46193-fix-big-estimate' into 'master'Rémy Coutable
Resolve "Estimating a large amount results in a server error 500" Closes #46193 See merge request gitlab-org/gitlab-ce!18964
2018-05-17Fixes 500 error on /estimate BIG_VALUEJacopo
2018-05-17Fix: Use case in-sensitive ordering by name for groupsHarish Ved
2018-05-17Merge branch '6020-extract-ee-specific-controller-lines' into 'master'Robert Speicher
[CE] Resolve "Extract EE specific files/lines for some controllers" See merge request gitlab-org/gitlab-ce!18994
2018-05-17Merge branch 'pipelines-index-performance' into 'master'Grzegorz Bizon
Improve performance of Projects::PipelinesController#index See merge request gitlab-org/gitlab-ce!18427
2018-05-17Merge branch '46177-fix-present-on-generic-commit-status' into 'master'Grzegorz Bizon
Resolve "NoMethodError: undefined method `present' for #<GenericCommitStatus:0x00007f6eacf34a40>" Closes #46177 See merge request gitlab-org/gitlab-ce!18979
2018-05-17Preload pipeline data for project pipelinesYorick Peterse
When displaying the pipelines of a project we now preload the following data: 1. Authors of the commits that belong to these pipelines 2. The number of warnings per pipeline, which is used by Ci::Pipeline#has_warnings? == Commit Authors Previously this data was queried for every Commit separately, leading to 20 SQL queries being executed in the worst case. With an average of 3 to 5 milliseconds per SQL query this could result in 100 milliseconds being spent in _just_ getting Commit authors. To preload this data Commit#author now uses BatchLoader (through Commit#lazy_author), and a separate module Gitlab::Ci::Pipeline::Preloader is used to ensure all authors are loaded before they are used. == Number of warnings This changes Ci::Pipeline#has_warnings? so it supports preloading of the number of warnings per pipeline. This removes the need for executing a COUNT(*) query for every pipeline just to see if it has any warnings or not.