Commit Graph

350 Commits

Author SHA1 Message Date
Grzegorz Bizon 835bdcb88e Add specs for pipeline chain builder sequence class 2017-09-26 14:24:40 +02:00
Grzegorz Bizon f6bd832f3f Fix some code style offenses in pipeline chain classes 2017-09-26 14:15:05 +02:00
Grzegorz Bizon 53cad50043 Add missing tests for pipeline chain access validator 2017-09-26 14:13:08 +02:00
Grzegorz Bizon 6a9cfdde02 Add specs for pipeline builder that validates config 2017-09-26 14:04:28 +02:00
Grzegorz Bizon 39f05fd85e Add specs for pipeline builder repository validator 2017-09-26 13:40:37 +02:00
Grzegorz Bizon 652ecff91b Add specs for builder chain that persist a pipeline 2017-09-26 13:34:53 +02:00
Grzegorz Bizon 2432d5bd9e Add specs for builder chain step that skipps pipelines 2017-09-26 13:22:28 +02:00
Grzegorz Bizon da15b38850 Add specs for pipeline builder abilities validator 2017-09-26 13:00:29 +02:00
Grzegorz Bizon fa3fb23fb1 Move pipeline builder validation chain to a module 2017-09-26 11:53:50 +02:00
Grzegorz Bizon 609fa45f0e Split pipeline chain builder validation class 2017-09-26 11:50:47 +02:00
Grzegorz Bizon 8f47d484da Extract pipeline chain builder classes from service 2017-09-25 16:22:00 +02:00
Grzegorz Bizon 1209f4f671 Move related pipeline class to new pipeline module 2017-09-25 13:22:04 +02:00
Grzegorz Bizon 14966419e3 Fix closing braces in YAML processor specs 2017-09-19 10:35:18 +02:00
Grzegorz Bizon f028718641 Raise exception when initializing unknown policy 2017-09-18 14:39:42 +02:00
Grzegorz Bizon 00e58f835a Use parentheses in CI/CD kubernetes policy specs 2017-09-18 14:37:11 +02:00
Grzegorz Bizon f52c61f846 Do not initialize YAML processor with project full path 2017-09-18 14:35:31 +02:00
Grzegorz Bizon d79ad28fcb Do not pass project path from YAML processor
Use project full path that can be received from a pipeline object
2017-09-18 14:29:43 +02:00
Grzegorz Bizon a04cbd5bb5 Add specs for CI/CD job policy refs specification 2017-09-18 13:57:14 +02:00
Grzegorz Bizon 97caed20ed Add specs for CI/CD job policy factory method 2017-09-18 13:57:14 +02:00
Grzegorz Bizon a7a7e2d8f7 Fix Rubocop offenses in YAML processor classes 2017-09-18 13:57:14 +02:00
Grzegorz Bizon 10a486b366 Remove YAML processor refactoring stubs and fix specs 2017-09-18 13:57:14 +02:00
Grzegorz Bizon 59f87e7317 Implement CI/CD kubernetes policy specification 2017-09-18 13:57:14 +02:00
Maxim Rydkin 5b296f81e2
move `lib/ci/mask_secret.rb` into `lib/gitlab/ci/mask_secret.rb` 2017-09-12 22:32:02 +03:00
Maxim Rydkin c45ace8972
move `lib/ci/gitlab_ci_yaml_processor.rb` into `lib/gitlab/ci/yaml_processor.rb` 2017-09-12 22:32:02 +03:00
Maxim Rydkin f364cc34ea
move `lib/ci/charts.rb` into `lib/gitlab/ci/charts.rb` 2017-09-12 22:32:01 +03:00
Maxim Rydkin 060fc3905d
move `lib/ci/ansi2html.rb` into `lib/gitlab/ci/ansi2html.rb` 2017-09-12 22:32:01 +03:00
Grzegorz Bizon 3b9f9aa00b Merge commit 'd1b60cbc67dc14b21820ef3f823a8e1ea851697d' into feature/gb/download-single-job-artifact-using-api
* commit 'd1b60cbc67dc14b21820ef3f823a8e1ea851697d': (210 commits)
2017-09-06 14:29:17 +02:00
Grzegorz Bizon c53f319f88 Extract a class that represents artifacts file path 2017-09-05 12:17:56 +02:00
Grzegorz Bizon e23e86953d Merge branch 'master' into feature/gb/kubernetes-only-pipeline-jobs
* master: (469 commits)
2017-09-04 12:13:11 +02:00
Shinya Maeda eab938d505 Fix typo 2017-09-03 23:49:11 +09:00
Shinya Maeda 3875983205 Impprove spec by godfat suggestions 2017-09-03 23:49:10 +09:00
Shinya Maeda bbe967abeb Add the rest of specs 2017-09-03 23:49:10 +09:00
Grzegorz Bizon fc4fb6e4d2 Change CI/CD kubernetes policy keyword to `active` 2017-09-01 13:04:08 +02:00
Grzegorz Bizon ef030709eb Change kubernetes job policy allowed values
It is now possible to use `kubernetes: configured`.
2017-08-31 14:56:25 +02:00
Grzegorz Bizon 92673c2c63 Merge branch 'master' into feature/gb/kubernetes-only-pipeline-jobs
* 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
2017-08-31 14:02:52 +02:00
Grzegorz Bizon 1bf87d2524 Remove unused expressions policy from ci/cd config 2017-08-30 14:47:54 +02:00
Grzegorz Bizon 808fb2549b Raise exception when simplifiable ci entry incomplete 2017-08-30 13:26:11 +02:00
Grzegorz Bizon 5ce9e03f6c Use new complex only/except policy internal scheme 2017-08-26 11:11:28 +02:00
Grzegorz Bizon 0410861171 Add specs for attributable aspect of ci config entry 2017-08-25 18:26:55 +02:00
Grzegorz Bizon 4509594e20 Fix Rubocop offense in CI/CD only/except policy class 2017-08-25 17:54:14 +02:00
Grzegorz Bizon 7e6bc4dde2 Improve reporting of a CI/CD entry config location 2017-08-25 15:16:09 +02:00
Grzegorz Bizon 946e8d3a93 Use only/except policy that returns an array 2017-08-25 12:01:59 +02:00
Grzegorz Bizon a061a2461a Fix CI/CD trigger policy default value 2017-08-25 11:42:40 +02:00
Grzegorz Bizon 873460783a Add specs for a simplifiable CI/CD entry aspect 2017-08-25 11:25:37 +02:00
Grzegorz Bizon fcb4d1f809 Implement complex only/except policy CI/CD config 2017-08-25 10:27:00 +02:00
Grzegorz Bizon 8c409fc40b Make it possible to define CI/CD config strategies 2017-08-25 09:49:18 +02:00
Grzegorz Bizon 0d7d7c1057 Use aspect-oriented design in CI/CD config entries 2017-08-24 14:54:27 +02:00
Grzegorz Bizon 5ced2d8d7d Rename CI/CD job triggering policy class to Policy 2017-08-24 12:22:01 +02:00
Robert Speicher 4edfad9678 Enable Layout/TrailingWhitespace cop and auto-correct offenses 2017-08-15 13:44:37 -04:00
Robert Speicher 72a7b30c9f Change all `:empty_project` to `:project` 2017-08-02 17:47:31 -04:00