Commit Graph

23 Commits

Author SHA1 Message Date
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
gfyoung 5186d6faa1 Enable frozen string for lib/gitlab/ci/**/*.rb
Enables frozen string for all remaining files
in lib/gitlab/ci.

Partially addresses #47424.
2018-10-30 13:39:30 -07: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 d4319e1700 Add more unit tests for variables collection class 2018-03-13 14:29:54 +01:00
Grzegorz Bizon e16fba6726 Improve how we handle persistent runner variables 2018-03-13 14:12:00 +01:00
Grzegorz Bizon 937e7f9e96 Make predefined variables in a collection public by default 2018-03-13 14:01:48 +01:00
Grzegorz Bizon 0cf0a7a898 DRY project-level predefined variables 2018-03-13 14:00:14 +01:00
Grzegorz Bizon a4a29e2ee1 Add TODOs to refactoried variables collections code 2018-03-12 15:09:19 +01:00
Grzegorz Bizon b94db067b7 Use variables collection as build predefined variables 2018-03-12 15:07:05 +01:00
Grzegorz Bizon 5ed8286e74 Extract variables collection item to a separate class 2018-03-12 13:58:54 +01:00
Grzegorz Bizon 9d4c9272e0 Document runner's expecations regarding variable collection 2018-03-12 11:43:24 +01:00
Grzegorz Bizon a194b19824 Make variables collection to runner mapping explicit 2018-03-07 10:09:53 +01:00
Grzegorz Bizon 87637693ac Introduce CI/CD variables collection class 2017-09-22 12:29:06 +02:00