Grzegorz Bizon
f3de46e6b0
Refactor badge template and metadata classes
2016-08-15 14:39:46 +02:00
Grzegorz Bizon
9f0b46c05a
Move badges to separate modules and add base class
2016-08-15 14:39:46 +02:00
Grzegorz Bizon
6f0b5800a9
Add empty test coverage badge class and specs
2016-08-15 14:39:46 +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
Grzegorz Bizon
57df84d2fc
Extend build badge specs to cover multiple pipelines
2016-08-09 13:33:19 +02:00
Grzegorz Bizon
bc17996227
Improve builds badge specs, remove legacy methods
2016-08-08 12:38:36 +02:00
Grzegorz Bizon
503c44ee2a
Add badge template class to use with SVG ERB template
2016-07-28 15:30:05 +02:00
Grzegorz Bizon
0c4fa8619c
Calculate build status only in build badge class
2016-07-28 14:58:53 +02:00
Grzegorz Bizon
9ae1ecf876
Extract build status badge metadata to separate class
2016-07-28 14:35:02 +02:00
Kamil Trzcinski
41fa516bb6
Use value of yaml_variables
and when
from config_processor if undefined
2016-07-19 14:53:35 +02:00
Kamil Trzcinski
dbf235f514
Fix tests failures
2016-06-07 10:25:57 +02:00
Kamil Trzcinski
8562cb5f78
Merge branch 'rename-ci-commit' into rename-ci-commit-phase-2
2016-06-06 20:24:13 +02:00
Kamil Trzcinski
e995e1f5cd
Merge remote-tracking branch 'origin/master' into rename-ci-commit
2016-06-06 19:06:48 +02:00
Kamil Trzcinski
20c7144ed2
Rename all [ci_]commit
to [ci_]pipeline
in specs and features
2016-06-03 16:22:26 +02:00
Kamil Trzcinski
717fdd6d42
Rename Ci::Build commit to pipeline
2016-06-03 12:29:00 +02:00
Grzegorz Bizon
a63ea487f7
Extend specs for builds badge
...
Related to #17549
2016-06-03 10:15:41 +02:00
Kamil Trzcinski
af7214d0f0
Fix specs
2016-04-11 23:32:55 +02:00
Grzegorz Bizon
b7fa7c4d59
Extend build status badge, add html/markdown methods
2016-04-06 19:56:34 +02:00
Grzegorz Bizon
d6097ca402
Extend specs for build badge
2016-03-29 09:01:24 +02:00
Grzegorz Bizon
4cd1b9f4d8
Refactor builds badge, encapsulate inside a class
2016-03-29 09:01:19 +02:00