Commit Graph

20 Commits

Author SHA1 Message Date
Thong Kuah f540ffcef6 Add frozen_string_literal to spec/lib (part 1)
Using the sed script from
https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-07-26 13:25:07 +12:00
Matija Čupić 07b5c50381
Remove variable masking feature flag 2019-04-26 15:20:47 -04:00
Grzegorz Bizon 981c248863 Do not raise when adding undefined variables resource 2019-03-02 15:18:14 +01:00
Matija Čupić 316889cb47
Revert "Merge branch 'revert-8baf9e5f' into 'master'"
This reverts commit f5201a816f, reversing
changes made to 48e6db0dad.
2019-02-27 12:52:53 +01:00
Kamil Trzciński 7b445f9b15 Revert "Merge branch '13784-simple-masking-of-protected-variables-in-logs' into 'master'"
This reverts merge request !25293
2019-02-26 17:32:23 +00:00
Matija Čupić c9125c4786 Add Maskable concern for CI variables
This adds a concern that abstracts the concept of masking a variable,
including the RegEx for validation.
2019-02-26 14:03:42 +00:00
Kamil Trzciński 56a01151d5 Allow to store null variables 2018-11-23 15:20:07 +01:00
Kamil Trzciński c3bd3bfc6e Improve variables support
This ensures that variables accept only string,
alongside also improves kubernetes_namespace,
improving validation and default value being set.
2018-11-19 14:09:39 +01:00
Grzegorz Bizon fd4fd25d3c Fix passing a hash with string keys when fabricating a variable 2018-07-19 14:13:49 +02:00
Tomasz Maczukin 156339569d
Enforce setting string as value of the CI/CD variable 2018-06-25 14:48:34 +02:00
Grzegorz Bizon 07c781dcc0 Fix file-specific variables collection item option 2018-04-11 10:07:15 +02:00
Grzegorz Bizon 8a2bc9b445 Integration variables collections with expressions 2018-03-23 13:44:12 +01:00
Grzegorz Bizon 1d57db0d8d Improve predefined variables collection methods 2018-03-14 11:04:42 +01:00
Grzegorz Bizon 077298817f Fix variables collection item sequence specs 2018-03-14 10:02:01 +01:00
Grzegorz Bizon d4319e1700 Add more unit tests for variables collection class 2018-03-13 14:29:54 +01:00
Grzegorz Bizon 937e7f9e96 Make predefined variables in a collection public by default 2018-03-13 14:01:48 +01:00
Grzegorz Bizon 5ed8286e74 Extract variables collection item to a separate class 2018-03-12 13:58:54 +01:00
Grzegorz Bizon a194b19824 Make variables collection to runner mapping explicit 2018-03-07 10:09:53 +01:00
Grzegorz Bizon e85e1dbb57 Fix hash syntax in variables collection class 2017-09-22 13:46:20 +02:00
Grzegorz Bizon 87637693ac Introduce CI/CD variables collection class 2017-09-22 12:29:06 +02:00