- Jan 10, 2020
-
-
GitLab Bot authored
-
- Dec 24, 2019
-
-
GitLab Bot authored
-
- Dec 18, 2019
-
-
GitLab Bot authored
-
- Nov 20, 2019
-
-
GitLab Bot authored
-
- Oct 01, 2019
-
-
GitLab Bot authored
-
- Sep 13, 2019
-
-
GitLab Bot authored
-
- Aug 14, 2019
-
-
Kamil Trzcińśki authored
-
- Aug 02, 2019
-
-
Kamil Trzcińśki authored
This changes used worker from `BuildProcessWorker` to `PipelineProcessWorker` to make pipeline processing much simpler. We process `pipeline_id`, based on some triggers.
-
Kamil Trzcińśki authored
Currently, some of the jobs with `needs:` would be processed in stages, it means that `when:` for such jobs would not be respected. This changes the behavior to have a separate execution paths for jobs with `needs:`.
-
- Aug 01, 2019
-
-
Kamil Trzcińśki authored
This implements the support for `needs:` keyword as part of GitLab CI. That makes some of the jobs to be run out of order.
-
- Apr 30, 2019
-
-
Heinrich Lee Yu authored
Prepares us for upgrade to Rails 5.2
-
- Mar 28, 2019
-
-
Nick Thomas authored
-
- Mar 20, 2019
-
-
Tiger Watson authored
Introduces the concept of Prerequisites for a CI build. If a build has unmet prerequisites it will go through the :preparing state before being made available to a runner. There are no actual prerequisites yet, so current behaviour is unchanged.
-
Tiger Watson authored
Introduces a new status for builds between :created and :pending that will be used when builds require one or more prerequisite actions to be completed before being picked up by a runner (such as creating Kubernetes resources before deploying). The existing :created > :pending transition is unchanged, so only builds that require preparation will use the :preparing status.
-
- Jan 25, 2019
-
-
Grzegorz Bizon authored
-
- Nov 15, 2018
-
-
Yorick Peterse authored
In a few models we define ActiveRecord enums that are redefined in EE using the following pattern: enum :some_enum, { ... }.merge(EE_ENUM_VALUES) This particular approach is problematic to deal with, because it requires that we `prepend` and EE module _before_ defining the enum. This typically translates to the `prepend` being the first line in the model in EE, but this can easily lead to merge conflicts when developers add more `include` and/or `prepend` lines. As part of https://gitlab.com/gitlab-org/gitlab-ee/issues/8244 and https://gitlab.com/gitlab-org/gitlab-ee/issues/8241 we are moving `prepend` to the last line in a file, reducing the chances of running into merge conflicts. This poses a bit of a problem with the pattern above, because this pattern does not allow us to move the `prepend` further down a file. To resolve this problem, we simply move the Hash value of the enum to a separate class method. This method is defined in a separate module where necessary, allowing us to use it like so: enum :failure_reasons, ::SomeModelEnums.failure_reasons The method in turn is defined in a very straightforward manner: module SomeModelEnums def self.failure_reasons { ... } end end This makes it easy for EE to add values without requiring the `prepend` to be placed before the `enum` is defined. For more information, see the following issues and merge requests: * https://gitlab.com/gitlab-org/gitlab-ee/issues/8244 * https://gitlab.com/gitlab-org/gitlab-ee/issues/8241 * https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/8424
-
- Nov 05, 2018
-
-
Kamil Trzcińśki authored
The soft-archived builds cannot be run after some deadline time. The intent is to aggressively recycle old builds after sometime.
-
- Nov 01, 2018
-
-
George Tsiolis authored
-
- Oct 28, 2018
-
-
Shinya Maeda authored
-
- Oct 26, 2018
-
-
Shinya Maeda authored
-
- Oct 02, 2018
-
-
- Sep 11, 2018
-
-
Yorick Peterse authored
This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
-
- Aug 01, 2018
-
-
Kamil Trzcińśki authored
-
Kamil Trzcińśki authored
-
- Jul 26, 2018
-
-
gfyoung authored
Partially addresses #47424.
-
- Jun 06, 2018
-
-
Jan Provaznik authored
Enum in Rails 5 does not map nil values - IOW nil value remains nil, even if there is a key with nil value in the enum definition. This commit overrides the underlying Enum methods so nil value is still mapped. This solution is far from being ideal: it uses dynamic definition of methods which introduces more magic/confusion into the codebase. It would be better to get rid of the nil value in enums.
-
- May 15, 2018
-
-
Mayra Cabrera authored
methods Includes Presentable module into CommitStatus. This fixes presenter methods being called on those classes. Closes #46177
-
- May 02, 2018
-
-
blackst0ne authored
-
- Apr 10, 2018
-
-
Tomasz Maczukin authored
-
- Apr 04, 2018
-
-
Zeger-Jan van de Weg authored
This reverts commit 4f2cdb51.
-
- Mar 01, 2018
-
-
Zeger-Jan van de Weg authored
This makes grouping on version number available. In general I'd like to group based on MAJOR.MINOR version numbers for Gitaly.
-
- Feb 05, 2018
-
-
Grzegorz Bizon authored
Currently we still need to run EnsureStageService within a transaction, because when it runs within in a transaction we are going to stick to the primary database when using database load balancing. Extracting this out of the transaction makes it possible to hit into problems with replication lag in pipeline commit status API, which can cause a lot of trouble.
-
- Jan 31, 2018
-
-
Takuya Noguchi authored
-
- Jan 24, 2018
-
-
Grzegorz Bizon authored
-
Grzegorz Bizon authored
-
- Dec 06, 2017
-
-
Shinya Maeda authored
-