-
- Downloads
New interruptible attribute supported in YAML parsing.
Since it is not possible to dynamically detect if a job is automatically cancellable or not, a this new attribute is necessary. Moreover, it let the maintainer of the repo to adjust the behaviour of the auto cancellation feature to match exactly what he needs.
Showing
- app/models/ci/build.rb 1 addition, 0 deletionsapp/models/ci/build.rb
- app/models/ci/pipeline.rb 8 additions, 0 deletionsapp/models/ci/pipeline.rb
- app/models/concerns/ci/metadatable.rb 9 additions, 0 deletionsapp/models/concerns/ci/metadatable.rb
- app/models/concerns/has_status.rb 1 addition, 0 deletionsapp/models/concerns/has_status.rb
- app/services/ci/create_pipeline_service.rb 15 additions, 5 deletionsapp/services/ci/create_pipeline_service.rb
- changelogs/unreleased/issue-32741.yml 5 additions, 0 deletionschangelogs/unreleased/issue-32741.yml
- db/migrate/20190905223800_add_interruptible_to_builds_metadata.rb 9 additions, 0 deletions...te/20190905223800_add_interruptible_to_builds_metadata.rb
- db/migrate/20190905223900_add_concurrent_index_to_builds_metadata.rb 19 additions, 0 deletions...20190905223900_add_concurrent_index_to_builds_metadata.rb
- db/schema.rb 3 additions, 1 deletiondb/schema.rb
- doc/ci/yaml/README.md 41 additions, 0 deletionsdoc/ci/yaml/README.md
- lib/gitlab/ci/config/entry/job.rb 6 additions, 3 deletionslib/gitlab/ci/config/entry/job.rb
- lib/gitlab/ci/yaml_processor.rb 1 addition, 0 deletionslib/gitlab/ci/yaml_processor.rb
- spec/lib/gitlab/ci/yaml_processor_spec.rb 26 additions, 0 deletionsspec/lib/gitlab/ci/yaml_processor_spec.rb
- spec/lib/gitlab/import_export/safe_model_attributes.yml 1 addition, 0 deletionsspec/lib/gitlab/import_export/safe_model_attributes.yml
- spec/models/concerns/has_status_spec.rb 12 additions, 0 deletionsspec/models/concerns/has_status_spec.rb
- spec/services/ci/create_pipeline_service_spec.rb 199 additions, 3 deletionsspec/services/ci/create_pipeline_service_spec.rb
changelogs/unreleased/issue-32741.yml
0 → 100644
Please register or sign in to comment