Commit Graph

55 Commits

Author SHA1 Message Date
Grzegorz Bizon c05d79172c Fix build variables policy after renaming methods 2018-03-30 11:29:05 +02:00
Grzegorz Bizon 5501dfd13f Merge branch 'master' into 'feature/gb/variables-expressions-in-only-except'
Conflicts:
   app/models/ci/build.rb
2018-03-29 11:07:54 +00:00
Tomasz Maczukin 6ecde0076a
Remove Ci::Build#timeout 2018-03-28 14:00:05 +02:00
Grzegorz Bizon da6bfd9b80 Decouple build variables from persisted environment 2018-03-27 13:05:29 +02:00
Grzegorz Bizon 1c2530ded3 Expose evaluable variables method from build object 2018-03-23 15:21:31 +01:00
Grzegorz Bizon b6e4e449fb Integrate build seeds with variables expressions policy 2018-03-23 13:56:16 +01:00
Grzegorz Bizon 8a2bc9b445 Integration variables collections with expressions 2018-03-23 13:44:12 +01:00
Grzegorz Bizon 0335d09e58 Integrate variables policy with new pipeline services 2018-03-23 12:26:21 +01:00
Grzegorz Bizon 9147a5f862 Add support for checking attributes in build policies 2018-03-01 13:08:39 +01:00
Grzegorz Bizon 52b34969a5 Add build policy for pipeline expressions 2018-02-28 13:08:42 +01:00
Takuya Noguchi 2b6307f6ad Enable RuboCop Style/RegexpLiteral 2018-02-01 02:06:07 +09: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
Grzegorz Bizon f028718641 Raise exception when initializing unknown policy 2017-09-18 14:39:42 +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 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
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
Robert Speicher 4edfad9678 Enable Layout/TrailingWhitespace cop and auto-correct offenses 2017-08-15 13:44:37 -04:00
Kamil Trzcinski 6d272f8e7d Pass before_script and script as-is preserving arrays 2017-07-07 14:42:54 +02:00
Tomasz Maczukin c70e9f2ed1
Send new configuration options with job's payload 2017-06-12 12:58:35 +02:00
Douwe Maan 0f58eb6bde Add artifact file page that uses the blob viewer 2017-05-04 08:50:12 -05:00
Tomasz Maczukin 3878a774f1
Fix after_script processing for Runners APIv4 2017-03-23 16:10:06 +01:00
Tomasz Maczukin 32b09b8847
Add minor refactoring 2017-03-07 12:30:34 +01:00
Tomasz Maczukin 5c1aa5fb65
Add some fixes and refactoring after review 2017-03-02 17:48:00 +01:00
Tomasz Maczukin 1bbf2c2cd1
Fix rubocop offenses 2017-03-02 17:45:46 +01:00
Tomasz Maczukin fb8210ad19
Update step data naming 2017-03-02 17:45:45 +01:00
Tomasz Maczukin bbf5bb7070
Fix rubocop offenses 2017-03-02 17:45:45 +01:00
Tomasz Maczukin 3eafffcef0
Refactor JobRequest response structure 2017-03-02 17:45:45 +01:00
Sean McGivern 811e598f60 Enable and autocorrect the CustomErrorClass cop 2017-03-01 15:28:10 +00:00
Douwe Maan f88ff0cc0c Stylistic tweaks 2017-02-23 09:33:20 -06:00
Douwe Maan 75f5fa997d Enable Rails/Delegate 2017-02-23 09:32:42 -06:00
Tomasz Maczukin 461195665b
Add Gitlab::Ci::Build::Credentials module with build credentials abstraction 2016-11-21 19:49:29 +01:00
Tomasz Maczukin e3fb074022
Send credentials array with build data 2016-11-21 15:01:06 +01:00
Grzegorz Bizon 0ea017d997 Enable Style/WhileUntilDo rubocop style cop
See #17478
2016-05-30 11:37:14 +02:00
Kamil Trzcinski 9b0f57781e Add method that calculates total size for artifacts subfolder 2016-01-20 21:55:13 +01:00
Grzegorz Bizon be764a3a20 Minor improvements in build arfifacts browser
Added also a `Gitlab::Ci::Build::Artifacts::Metadata::ParserError`
exception class.
2016-01-14 12:48:17 +01:00
Grzegorz Bizon 0d6e7b9d3d Use Hash to store paths and entries metadata in artifacts browser 2016-01-14 12:48:17 +01:00
Grzegorz Bizon ad2b0358e0 Improve readability of artifacts `Metadata` related code 2016-01-14 12:48:17 +01:00
Grzegorz Bizon 6b0a43aff3 Improve readability of artifacts browser `Entry` related code 2016-01-14 12:48:17 +01:00
Grzegorz Bizon 3f0c18f80e Simplify encoding related implementation in artifacts metadata 2016-01-14 12:48:17 +01:00
Grzegorz Bizon a9783c439b Make encoding of paths returned by metadata consistent (UTF-8) 2016-01-14 12:48:16 +01:00
Grzegorz Bizon 487b0a026f Improvements, readability for artifacts browser 2016-01-14 12:48:16 +01:00
Grzegorz Bizon 2be76355ca Support only valid UTF-8 paths in build artifacts browser 2016-01-14 12:48:16 +01:00
Grzegorz Bizon ffee05c242 Improve invalid build artifacts metadata path matcher 2016-01-14 12:48:16 +01:00
Grzegorz Bizon 09a4a5aff8 Render only valid paths in artifacts metadata
In this version we will support only relative paths in artifacts
metadata. Support for absolute paths will be introduced later.
2016-01-14 12:48:16 +01:00