Commit Graph

447 Commits

Author SHA1 Message Date
Grzegorz Bizon 26e73c2e8f Add some minor improvements to pipeline creation chain 2017-09-27 11:45:16 +02:00
Grzegorz Bizon 2432d5bd9e Add specs for builder chain step that skipps pipelines 2017-09-26 13:22:28 +02:00
Grzegorz Bizon 1a8777c8d7 Fix coding style offenses in pipeline chain classes 2017-09-26 13:02:57 +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 3e60d62cc3 Add class that handles pipeline creation sequence 2017-09-26 11:13:40 +02:00
Grzegorz Bizon 61dc0b7dc7 Extract pipeline persistence to a separate chain class 2017-09-26 09:54:56 +02:00
Grzegorz Bizon 7cfaccd6ed Fix code style offenses in pipeline create services 2017-09-26 09:38:16 +02:00
Grzegorz Bizon 9776dbda4f Use tag/branch methods to check if pipeline ref exists 2017-09-25 17:04:15 +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 f028718641 Raise exception when initializing unknown policy 2017-09-18 14:39:42 +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 6681ea9cd8 Simplify pipeline source policy pattern matching 2017-09-18 14:00:59 +02:00
Grzegorz Bizon a04cbd5bb5 Add specs for CI/CD job policy refs specification 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 241197c29a Extract job refs policy specs into separate class 2017-09-18 13:57:14 +02:00
Grzegorz Bizon dd784b1518 Use CI/CD job policy specification in YAML processor 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 e83a818751
adds changelog
fix CI

fix CI
2017-09-12 22:32:02 +03: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 c295d3362b
move `lib/ci/model.rb` into `lib/gitlab/ci/model.rb` 2017-09-12 22:32:01 +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 b03d9e506d Remove unneeded string interpolation from entry class 2017-09-06 11:42:14 +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 bbe967abeb Add the rest of specs 2017-09-03 23:49:10 +09:00
Shinya Maeda eda34b1a18 Add spec. Fix runner setting page. It worked. 2017-09-03 23:49:10 +09:00
Shinya Maeda e1ef436d1f Update application code by the db schema change 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 3474e109b7 Simplify code for appending strategies in CI/CD config 2017-08-30 13:27:48 +02:00
Grzegorz Bizon 808fb2549b Raise exception when simplifiable ci entry incomplete 2017-08-30 13:26:11 +02:00
Grzegorz Bizon 326dc7da3b Check if kubernetes required before creating a job 2017-08-26 12:45:36 +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 7e6bc4dde2 Improve reporting of a CI/CD entry config location 2017-08-25 15:16:09 +02:00
Grzegorz Bizon 99dddac558 Simplify ci config entry validator implementation 2017-08-25 13:00:45 +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 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