Commit graph

7 commits

Author SHA1 Message Date
Kamil Trzciński
0103d5be96 Add config_options|variables to BuildMetadata
These are data columns that store runtime configuration
of build needed to execute it on runner and within pipeline.

The definition of this data is that once used, and when no longer
needed (due to retry capability) they can be freely removed.

They use `jsonb` on PostgreSQL, and `text` on MySQL (due to lacking
support for json datatype on old enough version).
2019-01-04 16:38:17 +01:00
gfyoung
06892e88f5 Enable frozen string for lib/gitlab/ci
Enables frozen string for the following:

* lib/gitlab/ci/*.rb
* lib/gitlab/ci/build/**/*.rb
* lib/gitlab/ci/config/**/*.rb
* lib/gitlab/ci/pipeline/**/*.rb
* lib/gitlab/ci/reports/**/*.rb

Partially addresses #47424.
2018-10-26 16:36:42 -07:00
Tomasz Maczukin
6ecde0076a
Remove Ci::Build#timeout 2018-03-28 14:00:05 +02:00
Kamil Trzcinski
6d272f8e7d Pass before_script and script as-is preserving arrays 2017-07-07 14:42:54 +02: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