Commit 8802a7a4 authored by Sarah Groff Hennigh-Palermo's avatar Sarah Groff Hennigh-Palermo

Merge branch 'remove-deploy-from-footer-flag' into 'master'

Remove deploy_from_footer Feature Flag

See merge request gitlab-org/gitlab!43597
parents 8a4c87fe 0f81e772
...@@ -74,9 +74,6 @@ export default { ...@@ -74,9 +74,6 @@ export default {
canBeManuallyRedeployed() { canBeManuallyRedeployed() {
return this.computedDeploymentStatus === FAILED && Boolean(this.redeployPath); return this.computedDeploymentStatus === FAILED && Boolean(this.redeployPath);
}, },
shouldShowManualButtons() {
return this.glFeatures.deployFromFooter;
},
hasExternalUrls() { hasExternalUrls() {
return Boolean(this.deployment.external_url && this.deployment.external_url_formatted); return Boolean(this.deployment.external_url && this.deployment.external_url_formatted);
}, },
...@@ -154,7 +151,7 @@ export default { ...@@ -154,7 +151,7 @@ export default {
<template> <template>
<div> <div>
<deployment-action-button <deployment-action-button
v-if="shouldShowManualButtons && canBeManuallyDeployed" v-if="canBeManuallyDeployed"
:action-in-progress="actionInProgress" :action-in-progress="actionInProgress"
:actions-configuration="$options.actionsConfiguration[constants.DEPLOYING]" :actions-configuration="$options.actionsConfiguration[constants.DEPLOYING]"
:computed-deployment-status="computedDeploymentStatus" :computed-deployment-status="computedDeploymentStatus"
...@@ -165,7 +162,7 @@ export default { ...@@ -165,7 +162,7 @@ export default {
<span>{{ $options.actionsConfiguration[constants.DEPLOYING].buttonText }}</span> <span>{{ $options.actionsConfiguration[constants.DEPLOYING].buttonText }}</span>
</deployment-action-button> </deployment-action-button>
<deployment-action-button <deployment-action-button
v-if="shouldShowManualButtons && canBeManuallyRedeployed" v-if="canBeManuallyRedeployed"
:action-in-progress="actionInProgress" :action-in-progress="actionInProgress"
:actions-configuration="$options.actionsConfiguration[constants.REDEPLOYING]" :actions-configuration="$options.actionsConfiguration[constants.REDEPLOYING]"
:computed-deployment-status="computedDeploymentStatus" :computed-deployment-status="computedDeploymentStatus"
......
...@@ -27,7 +27,6 @@ class Projects::MergeRequestsController < Projects::MergeRequests::ApplicationCo ...@@ -27,7 +27,6 @@ class Projects::MergeRequestsController < Projects::MergeRequests::ApplicationCo
before_action :authenticate_user!, only: [:assign_related_issues] before_action :authenticate_user!, only: [:assign_related_issues]
before_action :check_user_can_push_to_source_branch!, only: [:rebase] before_action :check_user_can_push_to_source_branch!, only: [:rebase]
before_action only: [:show] do before_action only: [:show] do
push_frontend_feature_flag(:deploy_from_footer, @project, default_enabled: true)
push_frontend_feature_flag(:suggest_pipeline) if experiment_enabled?(:suggest_pipeline) push_frontend_feature_flag(:suggest_pipeline) if experiment_enabled?(:suggest_pipeline)
push_frontend_feature_flag(:widget_visibility_polling, @project, default_enabled: true) push_frontend_feature_flag(:widget_visibility_polling, @project, default_enabled: true)
push_frontend_feature_flag(:merge_ref_head_comments, @project, default_enabled: true) push_frontend_feature_flag(:merge_ref_head_comments, @project, default_enabled: true)
......
---
name: deploy_from_footer
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/25427
rollout_issue_url:
group: group::progressive delivery
type: development
default_enabled: true
...@@ -31,10 +31,7 @@ describe('DeploymentAction component', () => { ...@@ -31,10 +31,7 @@ describe('DeploymentAction component', () => {
wrapper.destroy(); wrapper.destroy();
} }
wrapper = mount(DeploymentActions, { wrapper = mount(DeploymentActions, options);
...options,
provide: { glFeatures: { deployFromFooter: true } },
});
}; };
const findStopButton = () => wrapper.find('.js-stop-env'); const findStopButton = () => wrapper.find('.js-stop-env');
......
...@@ -19,10 +19,7 @@ describe('Deployment component', () => { ...@@ -19,10 +19,7 @@ describe('Deployment component', () => {
if (wrapper && wrapper.destroy) { if (wrapper && wrapper.destroy) {
wrapper.destroy(); wrapper.destroy();
} }
wrapper = mount(DeploymentComponent, { wrapper = mount(DeploymentComponent, options);
...options,
provide: { glFeatures: { deployFromFooter: true } },
});
}; };
beforeEach(() => { beforeEach(() => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment