Commit Graph

460 Commits

Author SHA1 Message Date
Grzegorz Bizon 5df4ba0a93 Merge branch 'master' into backstage/gb/build-pipeline-in-a-separate-class
* master: (1794 commits)
2017-11-30 12:52:04 +01:00
Jacopo 181cd299f9 Adds Rubocop rule for line break after guard clause
Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses.
2017-11-16 17:58:29 +01:00
Tim Zallmann a97cd2906e Fixed Status Warning Icon 2017-11-06 15:59:07 +01:00
Tim Zallmann 4731eba4c3 Update Action Icons 2017-10-30 10:27:46 +01:00
Tim Zallmann e3c7d26425 Updated also Badge + Dropdown Icons 2017-10-30 10:27:46 +01:00
Grzegorz Bizon eedf43d69b Set pipeline config source attribute in a build step 2017-10-11 14:48:28 +02:00
Grzegorz Bizon 9ad48a7438 Extract class responsible for building a pipeline 2017-10-09 13:07:55 +02:00
Kamil Trzciński 5ee20b6375 Merge branch 'master' into '37970-ci-sections-tracking'
# Conflicts:
#   db/schema.rb
2017-10-07 08:07:33 +00:00
Alessio Caiazza 91f8e734fe
Add CI build trace sections extractor 2017-10-05 15:42:25 +02:00
Grzegorz Bizon 9f639b0733 Set a pipeline failure reason when it has YAML errors
Conflicts:
	app/models/ci/pipeline.rb
2017-10-05 11:38:01 +02:00
Grzegorz Bizon d3762c2247 Implement pipeline seeds size methods 2017-10-05 11:29:28 +02:00
Kamil Trzciński da9d42f2b3 Merge branch '37970-timestamped-ci' into 'master'
Hide CI section markers from job trace

See merge request gitlab-org/gitlab-ce!14393
2017-10-03 18:16:54 +00:00
Alessio Caiazza 5709408585 Hide CI section markers from job trace 2017-10-03 11:35:23 +02:00
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