Allow setting ci_forward_deployment_enabled at project creation
Background
At some point, the default behavior for "CI Forward Deployment" changed from false
to true
In our gitlab installation, this caused newly created projects to behave differently than otherwise identical projects.
After some investigation, it was traced back to:
We were able to overcome this by changing the per-project setting, either by going to the UI (https://gitlab.getty.cloud/help/ci/pipelines/settings#skip-outdated-deployment-jobs), or calling the edit project API (provide ci_forward_deployment_enabled
to https://docs.gitlab.com/ee/api/projects.html#edit-project)
Issue
The ci_forward_deployment_enabled
setting is not supported by create project API (https://docs.gitlab.com/ee/api/projects.html#create-project). Having this supported at creation time would allow us to create new projects with the desired setting (as it is common for us to have concurrent deployments to the same logical environment [i.e. multi-region apps])