Skip to content
Snippets Groups Projects

Add feature flag to allow maintainers to create MR pipelines async

Merged Dylan Griffith requested to merge 463355-async-pipeline-creation-for-merge-requests into master
4 files
+ 59
1
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -719,7 +719,13 @@ const Api = {
.replace(':id', encodeURIComponent(id))
.replace(':merge_request_iid', mergeRequestId);
return axios.post(url);
const params = {};
if (gon.features.asyncMergeRequestPipelineCreation) {
params.async = true;
}
return axios.post(url, params);
},
releases(id, options = {}) {
Loading