Dmitriy Zaporozhets
11ff9fc6a9
Merge branch '28359-skip-process-commit-worker-unless-issues-referenced' into 'master'
...
Use regex to skip unnecessary reference processing in ProcessCommitWorker
Closes #28359
See merge request !10867
2017-05-08 12:54:23 +00:00
Zeger-Jan van de Weg
8df3997a92
Add Pipeline Schedules that supersedes experimental Trigger Schedule
2017-05-07 22:35:56 +00:00
Sean McGivern
9e041f2185
Merge branch '29925-gitlab-shell-hooks-can-no-longer-send-absolute-paths-to-gitlab-ce' into 'master'
...
Generate and handle a gl_repository param to pass around components
Closes #29925
See merge request !10992
2017-05-05 22:08:29 +00:00
James Lopez
6ecf16b8f7
refactor code based on feedback
2017-05-05 18:01:33 +02:00
Alejandro Rodríguez
5249157552
Allow gl-repository strings as project identifiers in PostReceive worker
2017-05-05 10:51:55 -03:00
James Edwards-Jones
020295fffc
Use regex to skip unnecessary reference processing in ProcessCommitWorker
2017-05-04 20:03:46 +01:00
James Lopez
cf002738e7
refactor a few things based on feedback
2017-05-04 18:11:28 +02:00
James Lopez
f81cf84035
refactor worker into service
2017-05-04 12:13:33 +02:00
James Lopez
264bf22927
add propagate service worker and updated spec and controller
2017-05-03 17:20:12 +02:00
James Lopez
e81ea165ba
added worker spec
2017-05-03 15:43:26 +02:00
Douwe Maan
2a73f0a638
Merge branch 'rs-described_class-cop-2' into 'master'
...
Enable `RSpec/DescribedClass` cop and correct violations
See merge request !10930
2017-05-02 22:30:30 +00:00
Zeger-Jan van de Weg
d261f83626
Update Carrierwave and fog-core
2017-05-01 20:15:16 +00:00
Robert Speicher
d49768296c
Auto-correct `RSpec/DescribedClass` violations
2017-05-01 11:13:33 -04:00
Sean McGivern
5069682d8e
Enable RSpec/FilePath cop
...
- Ignore JS fixtures
- Ignore qa directory
- Rewrite concern specs to put concern name first
2017-04-26 12:50:32 +01:00
Toon Claes
956624688d
Simplify specs and remove unnecessary attributes
2017-04-24 10:23:42 +02:00
Toon Claes
14642e3c28
Refactor ExpirePipelineCacheWorker#perform
...
Make it gracefully handle unexisting pipelines and refactor iterating
all the merge request paths.
2017-04-24 10:23:41 +02:00
Toon Claes
c623c41c2f
Use a better performing query to find all MRs for pipeline
...
And add some specs.
2017-04-24 10:07:01 +02:00
Toon Claes
ccb9beeed0
Properly expire cache for **all** MRs of a pipeline
...
Turn ExpirePipelineCacheService into Worker so it can fetch all the
merge requests for which the pipeline runs or did run against.
2017-04-24 10:07:01 +02:00
Rémy Coutable
d4da926f48
Add new ScheduleUpdateUserActivityWorker and UpdateUserActivityWorker
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-04-14 15:20:55 +02:00
Stan Hu
f30a46b401
Used named parameter for refreshing usage data
2017-04-14 15:20:55 +02:00
Sean McGivern
0483019e98
Port 'Add more usage data to EE ping' to CE
...
CE port of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/735
2017-04-14 15:20:55 +02:00
Sean McGivern
ebd5e9b454
Port 'Add EE usage ping' to CE
...
CE port of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/557
2017-04-14 15:20:55 +02:00
Kamil Trzcinski
ed368f8c5e
Fix spec failure
2017-04-07 18:52:24 +02:00
Kamil Trzcinski
3ea4a13925
Yet, another errors
2017-04-07 18:05:39 +02:00
Kamil Trzcinski
21a7aed9a7
Update tests to cover trigger schedule
2017-04-07 16:19:11 +02:00
Shinya Maeda
fff6afbad1
Use change direction in spec
2017-04-06 23:46:59 +09:00
Shinya Maeda
059ec792cb
Use be_pending
2017-04-06 23:46:59 +09:00
Shinya Maeda
48e07eab57
Improve trigger_schedule.rb
2017-04-06 23:46:59 +09:00
Shinya Maeda
c2c3ee1bf9
Clean up trigger_schedule_worker_spec.rb
2017-04-06 23:46:59 +09:00
Shinya Maeda
4688eb47c6
Rename cron_time_zone to cron_timezone. Separate add_concurrent_foreign_key.
2017-04-06 23:46:59 +09:00
Shinya Maeda
4a5c6a8e29
Rename cron_nightly_build to nightly
2017-04-06 23:46:59 +09:00
Shinya Maeda
914bef671f
Move Ci::CronParser to Gitlab::Ci::CronParser
2017-04-06 23:46:58 +09:00
Shinya Maeda
57d082f358
Add validator
2017-04-06 23:46:58 +09:00
Shinya Maeda
d65c816ed7
Brush up
2017-04-06 23:46:58 +09:00
Shinya Maeda
3d1bc4a44c
Fixed strcture for db change
2017-04-06 23:46:58 +09:00
Shinya Maeda
c426763c42
Rename ScheduledTrigger to TriggerSchedule. Because table structure changed.
2017-04-06 23:46:58 +09:00
Shinya Maeda
37d6d1e461
basic components
2017-04-06 23:46:58 +09:00
Shinya Maeda
5f715f1d32
Add scheduled_trigger model. Add cron parser. Plus, specs.
2017-04-06 23:46:58 +09:00
James Lopez
58371efbb0
Periodically mark projects that are stuck in importing as failed
...
Adds import jid to projects
Refactor middleware to set custom expiration time via sidekiq options
Add completed_jids option to sidekiq status and a few other changes
2017-04-05 16:11:51 +02:00
Sean McGivern
796d65f1fe
Merge branch '29492-useless-queries' into 'master'
...
remove useless queries with false conditions (e.g 1=0)
Closes #29492
See merge request !10141
2017-04-04 13:33:42 +00:00
mhasbini
e52b1df1d5
Remove useless queries with false conditions (e.g 1=0)
2017-04-04 13:54:58 +03:00
Sean McGivern
a1805cbcd5
Quiet pipeline emails
...
1. Never send a pipeline email to anyone other than the user who created
the pipeline.
2. Only send pipeline success emails to people with the custom
notification setting for enabled. Watchers and participants will
never receive this.
3. When custom settings are unset (for new settings and legacy ones),
act as if failed_pipeline is set.
2017-04-03 13:59:48 +01:00
Robert Speicher
68e6718932
Use `:empty_project` where possible in worker specs
2017-03-27 18:45:37 -04:00
Kamil Trzciński
12dd5ac221
All CI offline migrations
2017-03-17 23:06:11 +00:00
Tiago Botelho
5a135264ae
adds queue option to push bulk in authorized projects worker
2017-03-10 10:13:59 +00:00
Sean McGivern
a5db7f5425
Merge branch '28447-hybrid-repository-storages' into 'master'
...
Update storage settings to allow extra values per shard
See merge request !9597
2017-03-07 16:55:03 +00:00
gpongelli
4bcd900f14
Moved call of SystemHooksService from UpdateMergeRequestsWorker to GitPushServic…
2017-03-07 12:59:20 +00:00
Robert Speicher
4c622b71fd
Add Upload model and UploadChecksumWorker worker
2017-03-06 14:41:09 -05:00
Alejandro Rodríguez
0b9d56f960
Update storage settings to allow extra values per shard
...
This will be necessary when adding gitaly settings. This version
doesn't make any functional changes, but allows us to include this
breaking change in 9.0 and add the needed extra settings in the future
with backwards compatibility
2017-03-03 12:13:30 -03:00
Tomasz Maczukin
4d4e99a2f1
Renable StuckCiBuildsWorker to StucjCiJobsWorker
2017-03-03 00:43:39 +01:00