Commit Graph

18 Commits

Author SHA1 Message Date
Shinya Maeda 1b481342a0 Fix spec 2017-09-03 23:49:11 +09:00
Shinya Maeda ce7c0ac3db Add validation for protected attributes 2017-09-03 23:49:11 +09:00
Robert Speicher 72a7b30c9f Change all `:empty_project` to `:project` 2017-08-02 17:47:31 -04:00
Grzegorz Bizon 2662fd7215 Merge branch '33139-lint-our-factories' into 'master'
Lint our factories creation in addition to their build

Closes #33139

See merge request !11823
2017-06-02 18:49:18 +00:00
Rémy Coutable 857d039145
Lint our factories creation in addition to their build
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-06-02 19:06:50 +02:00
Kamil Trzcinski 161af17c1b Introduce source to pipeline entity 2017-05-31 14:17:49 +02:00
Felipe Artur 921c2be44a Add transient head_pipeline_of to pipeline factories 2017-05-22 17:06:45 -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
Grzegorz Bizon 82327ea7c6 Add specs for an extended blocked pipeline status 2017-03-08 11:54:46 +01:00
Grzegorz Bizon 1994c0323a Add test example for pipeline with yaml errors 2017-01-04 12:48:24 +01:00
Grzegorz Bizon c8b16068be Add specs for pipeline entity and improve factory
[ci skip]
2016-12-21 14:26:47 +01:00
Grzegorz Bizon 3761a0c50e Extend pipelines factory with transient config attribute 2016-11-27 16:24:43 +01:00
Grzegorz Bizon 86e7f22b6d Improve readability in pipeline test objects factory 2016-11-25 15:15:31 +01:00
Grzegorz Bizon d766ab9f9a Remove pipeline factory that is not used in tests 2016-11-25 15:13:15 +01:00
Grzegorz Bizon e1285c1d8a Restore method that ensures builds being created 2016-11-25 15:11:56 +01:00
Z.J. van de Weg de7b8e51b8 Add endpoints for pipelines 2016-08-18 16:56:39 +02:00
Kamil Trzcinski 39203f1adf Pre-create all builds for Pipeline when a trigger is received
This change simplifies a Pipeline processing by introducing a special new status: created.
This status is used for all builds that are created for a pipeline.
We are then processing next stages and queueing some of the builds (created -> pending) or skipping them (created -> skipped).
This makes it possible to simplify and solve a few ordering problems with how previously builds were scheduled.
This also allows us to visualise a full pipeline (with created builds).

This also removes an after_touch used for updating a pipeline state parameters.
Right now in various places we explicitly call a reload_status! on pipeline to force it to be updated and saved.
2016-08-11 15:22:35 +02:00
Lin Jen-Shin cd3f112f88 Adopt the rename from ci_commits to ci_pipelines 2016-06-15 17:34:44 +08:00