• Amy Troschinetz's avatar
    Support ci_forward_deployment_enabled in edit API · ae6a055d
    Amy Troschinetz authored
    **app/controllers/projects/settings/ci_cd_controller.rb:**
    
    Supports `:forward_deployment_enabled` as part of the nested
    `ci_cd_settings_attributes` property.
    
    **app/models/project.rb:**
    **app/models/deployment.rb:**
    **app/views/projects/settings/ci_cd/_form.html.haml:**
    
    Use a `ci` prefix for the `forward_deployment_enabled` delegate so that
    it is more in-line with the existing conventions.
    
    **doc/api/groups.md:**
    **doc/api/projects.md:**
    
    Document support for `forward_deployment_enabled`.
    
    **lib/api/entities/project.rb:**
    **lib/api/helpers/projects_helpers.rb:**
    
    Add API support for `forward_deployment_enabled`.
    
    **spec/controllers/projects/settings/ci_cd_controller_spec.rb:**
    **spec/features/projects/settings/pipelines_settings_spec.rb:**
    **spec/requests/api/projects_spec.rb:**
    
    Test support for `forward_deployment_enabled`.
    
    **changelogs/unreleased/forward_deployment_enabled-api.yml:**
    
    Changelog entry.
    ae6a055d
forward_deployment_enabled-api.yml 102 Bytes