Grzegorz Bizon
f4421817de
Add global cache config entry to new CI config
2016-06-29 09:48:52 +02:00
Grzegorz Bizon
56e88b8c28
Add new ci config entry that handles cache config
2016-06-27 14:01:12 +02:00
Grzegorz Bizon
1f320edb77
Minor refactorings in new CI configuration classes
2016-06-23 13:51:34 +02:00
Grzegorz Bizon
29b96d92c1
Move CI stages configuration to new CI config
2016-06-23 13:51:07 +02:00
Grzegorz Bizon
2240807c1a
Assume that unspecified CI config is undefined
...
We assume that when someone adds a key for the configuration entry, but
does not provide a valid value, which causes entry to be `nil`, then
entry should be considered as the undefined one. We also assume this is
semantically correct, this is also backwards compatible with legacy CI
config processor.
See issue #18775 for more details.
2016-06-23 10:22:41 +02:00
Grzegorz Bizon
bc2348f2e4
Return default config value when entry is undefined
2016-06-22 14:26:33 +02:00
Grzegorz Bizon
04ecfca386
Rename CI config null node entry to undefined node
2016-06-22 10:44:33 +02:00
Grzegorz Bizon
c91298d554
Use generic type validator in new ci configuration
2016-06-21 11:43:32 +02:00
Grzegorz Bizon
44b00a1ebb
Extract CI entry config hash validation to validator
2016-06-17 15:02:39 +02:00
Grzegorz Bizon
002e6ed1f0
Improve CI config entries validations prototype
2016-06-17 11:23:16 +02:00
Grzegorz Bizon
95520dfc72
Add prototype of CI config node validator
...
This makes use of `ActiveModel::Validations` encapsulated in a separate
class that is accessible from a node object.
2016-06-16 15:46:03 +02:00
Grzegorz Bizon
76aea978c6
Add class that encapsulates error in new Ci config
2016-06-15 14:09:21 +02:00
Grzegorz Bizon
30e946ce8a
Validate ci config entry value before processing nodes
2016-06-14 11:28:20 +02:00
Grzegorz Bizon
59eeec3ff8
Make method that composes ci config entry private
2016-06-14 10:48:51 +02:00
Grzegorz Bizon
11c0d02283
Simplify ci config node factory
2016-06-13 09:58:35 +02:00
Grzegorz Bizon
7c8f3b0cfc
Duplicate CI config node factory on class level
2016-06-13 08:50:12 +02:00
Grzegorz Bizon
cc373a3550
Add factory for fabricating new ci config nodes
2016-06-10 14:01:07 +02:00
Grzegorz Bizon
5abfc7fa71
Define ci entry accessor instead of method_missing
2016-06-10 11:32:49 +02:00
Grzegorz Bizon
12080ba150
Simplify new ci config entry class interface
2016-06-10 11:26:03 +02:00
Grzegorz Bizon
828a15bccd
Rename method used to allow node in Ci config
2016-06-10 10:49:47 +02:00
Grzegorz Bizon
d7e1251161
Rename method that returns allowed nodes in Ci config
2016-06-09 14:59:59 +02:00
Grzegorz Bizon
99ee39bf6c
Add comments to new CI config classes and modules
2016-06-09 13:15:54 +02:00
Grzegorz Bizon
20ccd4465b
Do not require Ci config node to have a hash value
2016-06-09 12:35:24 +02:00
Grzegorz Bizon
6a319fd287
Make it possible configure Ci entry description
2016-06-09 10:53:56 +02:00
Grzegorz Bizon
33cd090b93
Move new Ci config configurable DSL to concern
2016-06-09 10:08:49 +02:00