- Jun 18, 2021
-
-
Furkan Ayhan authored
In the first implementation, we missed the usage of schedule's cron syntax when calculating the next_run candidates.
-
- Jun 11, 2021
-
-
Furkan Ayhan authored
-
-
- May 13, 2021
-
-
- May 04, 2021
-
-
- Mar 16, 2021
-
-
Disable pipeline schedules when a user is blocked
-
- Oct 02, 2020
-
-
- In cases where `Timecop.freeze` is called with a specific time - Only in spec directory
-
- Jun 23, 2020
-
-
Arturo Herrero authored
The plan for RSpec 4.0 is to disable monkey patching, reference: https://rspec.info/blog/2013/07/the-plan-for-rspec-3/#zero-monkey-patching-mode https://relishapp.com/rspec/rspec-core/docs/configuration/zero-monkey-patching-mode This commit stops using RSpec monkey patching in several specs.
-
- May 22, 2020
-
-
Sean Arnold authored
Using cop to find offences
-
- May 08, 2020
- Apr 17, 2020
-
-
Kamil Trzcińśki authored
This moves all Plan, PlanLimits, Limitable into CE. This also makes the `Plan.default` or `Plan.free` to always return a valid object. This adds `Limitable` for `ProjectHook` and `PipelineSchedules` on CE.
-
- Feb 10, 2020
-
-
Bob Van Landuyt authored
Jobs that could be scheduled from this cron worker: - RunPipelineScheduleWorker - BuildHooksWorker - ExpireJobCacheWorker - StageUpdateWorker - PipelineUpdateWorker - BuildQueueWorker - ExpirePipelineCacheWorker - PipelineHooksWorker - PipelineProcessWorker - Ci::BuildScheduleWorker ...
-
- Jun 24, 2019
-
-
Shinya Maeda authored
If pipeline schedule is to run at the exact same time with when cron worker runs, the pipeline schedule will not be executed at the ideal timing. We fix this bug by comparing the exact matching of ideal and cron worker's next run at.
-
- Jun 19, 2019
-
-
Heinrich Lee Yu authored
Fixes flaky master
-
- Jun 18, 2019
-
-
Heinrich Lee Yu authored
Also removes test from quarantine
-
- Jun 06, 2019
-
- Jun 05, 2019
-
-
`Time.now` is local time, yet `Time.zone.now` is application configuration time. They can be different.
-
- Jun 03, 2019
-
-
Shinya Maeda authored
Currently, pipeline schedule worker is unstable because it's sometimes killed by excessive memory consumption. In order to improve the performance, we add the following fixes: 1. next_run_at is always real_next_run, which means the value always takes into account of worker's cron schedule 1. Remove exlusive lock. This is already covered by real_next_run change. 1. Use RunPipelineScheduleWorker for avoiding memory killer. Memory consumption is spread to the multiple sidekiq worker.
-
- May 22, 2019
-
-
Stan Hu authored
This removes the warning when using Ruby 2.6: BigDecimal.new is deprecated; use BigDecimal() method instead. This also adds Rails 5 support, which eliminates the need for the monkey patch to handle https://github.com/thoughtbot/shoulda-matchers/issues/913. CE port: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/28443
-
Stan Hu authored
Rails 5 requires that belongs_to associations have the associated record present. These tests were failing because they had nil values.
-
- May 02, 2019
-
-
Fabio Pitino authored
-
- Apr 01, 2019
-
-
Thong Kuah authored
Adds `# frozen_string_literal: true` to spec/models ruby files
-
- Jan 11, 2018
-
-
Yorick Peterse authored
This removes all usage of soft removals except for the "pending delete" system implemented for projects. This in turn simplifies all the query plans of the models that used soft removals. Since we don't really use soft removals for anything useful there's no point in keeping it around. This _does_ mean that hard removals of issues (which only admins can do if I'm not mistaken) can influence the "iid" values, but that code is broken to begin with. More on this (and how to fix it) can be found in https://gitlab.com/gitlab-org/gitlab-ce/issues/31114. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/37447
-
- Jan 08, 2018
-
-
Yorick Peterse authored
This removes all usage of soft removals except for the "pending delete" system implemented for projects. This in turn simplifies all the query plans of the models that used soft removals. Since we don't really use soft removals for anything useful there's no point in keeping it around. This _does_ mean that hard removals of issues (which only admins can do if I'm not mistaken) can influence the "iid" values, but that code is broken to begin with. More on this (and how to fix it) can be found in https://gitlab.com/gitlab-org/gitlab-ce/issues/31114. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/37447
-
- Jul 27, 2017
-
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
Rémy Coutable authored
Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- Jul 26, 2017
-
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- Jul 10, 2017
-
-
Shinya Maeda authored
-
- Jul 05, 2017
-
-
Shinya Maeda authored
-
Shinya Maeda authored
-
Shinya Maeda authored
-
Shinya Maeda authored
-
Shinya Maeda authored
-
Shinya Maeda authored
-
Shinya Maeda authored
-
Shinya Maeda authored
-
Shinya Maeda authored
-
- Jun 21, 2017
-
-
Grzegorz Bizon authored
-
Grzegorz Bizon authored
-