GitLab Bot
c638142c8c
Add latest changes from gitlab-org/gitlab@master
2024-02-15 18:12:46 +00:00
GitLab Bot
0baa744d45
Add latest changes from gitlab-org/gitlab@master
2024-01-18 06:09:25 +00:00
GitLab Bot
6cb5b3a92d
Add latest changes from gitlab-org/gitlab@master
2023-03-08 21:07:52 +00:00
GitLab Bot
870dfaa912
Add latest changes from gitlab-org/gitlab@master
2022-12-14 18:08:42 +00:00
GitLab Bot
ba5be4989e
Add latest changes from gitlab-org/gitlab@master
2022-12-12 18:07:13 +00:00
GitLab Bot
5bc6fcec0e
Add latest changes from gitlab-org/gitlab@master
2022-12-06 09:07:14 +00:00
GitLab Bot
dda49284fc
Add latest changes from gitlab-org/gitlab@master
2022-08-03 09:12:13 +00:00
GitLab Bot
5c2d8a7cbe
Add latest changes from gitlab-org/gitlab@master
2022-03-04 21:13:10 +00:00
GitLab Bot
d6ce16a407
Add latest changes from gitlab-org/gitlab@master
2022-01-28 12:17:26 +00:00
GitLab Bot
a00537e412
Add latest changes from gitlab-org/gitlab@master
2022-01-13 12:14:38 +00:00
GitLab Bot
bfbd788e09
Add latest changes from gitlab-org/gitlab@master
2021-11-10 09:13:03 +00:00
GitLab Bot
6e2dde590e
Add latest changes from gitlab-org/gitlab@master
2021-09-15 15:10:13 +00:00
GitLab Bot
c8cc2fe990
Add latest changes from gitlab-org/gitlab@master
2021-06-18 15:10:16 +00:00
GitLab Bot
81f257d72e
Add latest changes from gitlab-org/gitlab@master
2021-06-14 15:09:48 +00:00
GitLab Bot
e58ce90f14
Add latest changes from gitlab-org/gitlab@master
2021-06-11 18:10:13 +00:00
GitLab Bot
e958867b2e
Add latest changes from gitlab-org/gitlab@master
2021-05-13 15:10:20 +00:00
GitLab Bot
be4b3134a2
Add latest changes from gitlab-org/gitlab@master
2021-05-04 15:10:36 +00:00
GitLab Bot
889bf7a0ee
Add latest changes from gitlab-org/gitlab@master
2021-03-16 18:11:53 +00:00
GitLab Bot
6092dcc437
Add latest changes from gitlab-org/gitlab@master
2020-10-02 12:09:03 +00:00
GitLab Bot
c59765a50a
Add latest changes from gitlab-org/gitlab@master
2020-06-24 18:09:03 +00:00
GitLab Bot
4a3ba3e5f2
Add latest changes from gitlab-org/gitlab@master
2020-05-22 09:08:09 +00:00
GitLab Bot
bc692af988
Add latest changes from gitlab-org/gitlab@master
2020-05-09 00:09:39 +00:00
GitLab Bot
7a73453665
Add latest changes from gitlab-org/gitlab@master
2020-04-22 15:09:27 +00:00
GitLab Bot
b133cb2468
Add latest changes from gitlab-org/gitlab@master
2020-02-12 00:09:00 +00:00
Shinya Maeda
a22e68bf46
Fix pipeline schedule edge case
...
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-24 14:53:36 +07:00
Heinrich Lee Yu
31cef128e8
Set a fixed date in pipeline shedule spec
...
Fixes flaky master
2019-06-19 17:27:44 +08:00
Heinrich Lee Yu
b0e7efb5c2
Fix flaky time related spec
...
Also removes test from quarantine
2019-06-18 16:10:34 +08:00
Lin Jen-Shin
765f30b80b
Quarantine this flaky test
...
See
https://gitlab.com/gitlab-org/gitlab-ce/issues/62760
2019-06-06 08:18:47 +00:00
Lin Jen-Shin
690c4259a9
Prefer Time.zone.now to pair with Time.zone.name
...
`Time.now` is local time, yet `Time.zone.now` is application
configuration time. They can be different.
2019-06-05 13:44:17 +00:00
Shinya Maeda
6a18a411a3
Make pipeline schedule worker resilient
...
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-06-03 10:04:57 +07:00
Stan Hu
d707e2a49f
Ensure subject passes validations
...
Rails 5 requires that belongs_to associations have the associated record
present. These tests were failing because they had nil values.
2019-05-21 23:19:07 -07:00
Fabio Pitino
2fcf80de3f
Strip whitespace for PipelineSchedule#cron
2019-05-02 09:20:47 +01:00
Thong Kuah
a2cfc150ce
Add # frozen_string_literal to spec/models
...
Adds `# frozen_string_literal: true` to spec/models ruby files
2019-04-01 14:37:54 +13:00
Yorick Peterse
d0b8f536a1
Remove soft removals related code
...
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
2018-01-08 17:04:45 +01:00
Rémy Coutable
cddc5cacfb
Use described_class when possible
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:53 +02:00
Rémy Coutable
ddccd24c13
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>
2017-07-27 14:31:53 +02:00
Shinya Maeda
8a950baf58
Improve test on spec/models/ci/pipeline_schedule_spec.rb
2017-07-06 01:24:20 +09:00
Shinya Maeda
1bfa818a1f
zj nice catchies 3
2017-07-05 18:38:35 +09:00
Shinya Maeda
2f70f3fa35
Improve spec
2017-07-05 18:38:35 +09:00
Shinya Maeda
3acc91866b
Fix spec
2017-07-05 18:38:35 +09:00
Shinya Maeda
d65d66e08b
zj nice catches
2017-07-05 18:38:27 +09:00
Shinya Maeda
bbbd5521d2
Improve spec
2017-07-05 18:36:19 +09:00
Shinya Maeda
17f34e5a74
Fix spec
2017-07-05 18:36:19 +09:00
Shinya Maeda
51730b3a15
zj nice catches
2017-07-05 18:36:18 +09:00
Shinya Maeda
d278da48f8
pipeline_schedule_variables model/db
2017-07-05 18:36:18 +09:00
Grzegorz Bizon
0430b76441
Enable Style/DotPosition Rubocop 👮
2017-06-21 13:48:12 +00:00
Shinya Maeda
ef61829b58
Add a test for deletion of importing_or_inactive?
2017-05-29 20:02:09 +09:00
Zeger-Jan van de Weg
8df3997a92
Add Pipeline Schedules that supersedes experimental Trigger Schedule
2017-05-07 22:35:56 +00:00