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
2020-02-12Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-06-24Fix pipeline schedule edge caseShinya Maeda
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.
2019-06-19Set a fixed date in pipeline shedule specHeinrich Lee Yu
Fixes flaky master
2019-06-18Fix flaky time related specHeinrich Lee Yu
Also removes test from quarantine
2019-06-06Quarantine this flaky testLin Jen-Shin
See https://gitlab.com/gitlab-org/gitlab-ce/issues/62760
2019-06-05Prefer Time.zone.now to pair with Time.zone.nameLin Jen-Shin
`Time.now` is local time, yet `Time.zone.now` is application configuration time. They can be different.
2019-06-03Make pipeline schedule worker resilientShinya Maeda
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.
2019-05-22Ensure subject passes validationsStan Hu
Rails 5 requires that belongs_to associations have the associated record present. These tests were failing because they had nil values.
2019-05-02Strip whitespace for PipelineSchedule#cronFabio Pitino
2019-04-01Add # frozen_string_literal to spec/modelsThong Kuah
Adds `# frozen_string_literal: true` to spec/models ruby files
2018-01-08Remove soft removals related codeYorick Peterse
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
2017-07-27Use described_class when possibleRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27Remove superfluous lib: true, type: redis, service: true, models: true, ↵Rémy Coutable
services: true, no_db: true, api: true Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-05Improve test on spec/models/ci/pipeline_schedule_spec.rbShinya Maeda
2017-07-05zj nice catchies 3Shinya Maeda
2017-07-05Improve specShinya Maeda
2017-07-05Fix specShinya Maeda
2017-07-05zj nice catchesShinya Maeda
2017-07-05Improve specShinya Maeda
2017-07-05Fix specShinya Maeda
2017-07-05zj nice catchesShinya Maeda
2017-07-05pipeline_schedule_variables model/dbShinya Maeda
2017-06-21Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon
2017-05-29Add a test for deletion of importing_or_inactive?Shinya Maeda
2017-05-08Add Pipeline Schedules that supersedes experimental Trigger ScheduleZeger-Jan van de Weg