summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/ci/config/entry/policy_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add frozen_string_literal to spec/lib (part 1)Thong Kuah2019-07-261-0/+2
| | | | | Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
* Allow to use untrusted Regexp via feature flagKamil Trzciński2019-04-041-0/+67
| | | | | | | This brings support for untrusted regexp for 'only:refs:' when enabled via feature flag: alllow_unsafe_ruby_regexp. This is by default disabled, and should not be used in production
* Make default config entry value configurableGrzegorz Bizon2019-01-151-28/+5
| | | | | | Introduce `default:` configuration entry setting that makes it possible to configure a default value of an entry, what overrides class-level `def self.default` value.
* Add more specs for only/except policy config entryGrzegorz Bizon2019-01-141-2/+50
|
* Re-define default only except policyKamil Trzciński2018-12-131-1/+166
|
* Define the default value for only/except policiesShinya Maeda2018-12-051-166/+1
| | | | | Currently, if a job does not have only/except policies, the policy is considered as an unspecified state, and therefore the job is executed regardless of how it's executed and which branch/tags are targetted. Ideally, this should be specified as only: ['branches', 'tags'], as it indicates that unspecified policy jobs are meant to run on any git references.
* Fix typos in libGeorge Tsiolis2018-11-151-1/+1
|
* Make it possible to specifiy only: changes keywordsGrzegorz Bizon2018-10-021-1/+19
|
* Add variables expression pattern validation supportGrzegorz Bizon2018-05-171-1/+9
|
* Do not raise when validating variables expressionGrzegorz Bizon2018-03-271-1/+9
|
* Add support for only/except: variables CI/CD configGrzegorz Bizon2018-02-281-0/+25
|
* Change CI/CD kubernetes policy keyword to `active`Grzegorz Bizon2017-09-011-4/+4
|
* Change kubernetes job policy allowed valuesGrzegorz Bizon2017-08-311-0/+44
| | | | It is now possible to use `kubernetes: configured`.
* Merge branch 'master' into feature/gb/kubernetes-only-pipeline-jobsGrzegorz Bizon2017-08-311-20/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (275 commits) Decrease Metrics/PerceivedComplexity threshold to 17 Upgrade mail and nokogiri gems due to security issues Link out to stackoverflow answer on setting swappiness Document swappiness recomendations in the requirements doc Fix invalid attribute used for time-ago-tooltip component Update latest artifacts doc Add changelog entry for flipping verify_certificates Default LDAP config verify_certificates to true Update share project with groups docs remove accidental console.log from karma tests update specs to match reorganized monitoring components Remove tooltips from new sidebar Use `git update-ref --stdin -z` to delete refs Don't use public_send in destroy_conditionally! helper Remove unused expressions policy from ci/cd config Simplify code for appending strategies in CI/CD config Raise exception when simplifiable ci entry incomplete Add changelog entry Fix MySQL failure for emoji autocomplete max-width for lazy-loaded images (this was removed in the original MR through merge resolution most probably) ... Conflicts: lib/gitlab/ci/config/entry/policy.rb
| * Remove unused expressions policy from ci/cd configfeature/gb/add-complex-jobs-only-except-config-policyGrzegorz Bizon2017-08-301-20/+0
| |
* | Use new complex only/except policy internal schemeGrzegorz Bizon2017-08-261-2/+2
|/
* Fix Rubocop offense in CI/CD only/except policy classGrzegorz Bizon2017-08-251-1/+1
|
* Improve reporting of a CI/CD entry config locationGrzegorz Bizon2017-08-251-1/+1
|
* Use only/except policy that returns an arrayGrzegorz Bizon2017-08-251-1/+1
|
* Fix CI/CD trigger policy default valueGrzegorz Bizon2017-08-251-0/+6
|
* Implement complex only/except policy CI/CD configGrzegorz Bizon2017-08-251-0/+26
|
* Make it possible to define CI/CD config strategiesGrzegorz Bizon2017-08-251-31/+36
|
* Rename CI/CD job triggering policy class to PolicyGrzegorz Bizon2017-08-241-0/+56