Show deployment approval comments
All threads resolved!
All threads resolved!
Compare changes
Files
2@@ -4,6 +4,7 @@ import { s__ } from '~/locale';
@@ -36,10 +37,12 @@ export default {
Adds a notable-style comment timeline for deployment approvals.
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
I know, we should add a column in this table for Rejections. I'll follow-up with that in another MR.
deployment_details_page
stages:
- deploy
- stop
image: alpine:latest
deploy-prod:
stage: deploy
script:
- sleep 10
- echo "deploying prod"
environment:
name: production
url: postgres://example.com
deploy-staging:
stage: deploy
script:
- echo "deploying staging I hope"
environment:
name: staging
url: https://example.com
on_stop: stop-staging
when: manual
stop-staging:
stage: stop
script:
- echo "stopping staging"
- sleep 600
environment:
name: staging
action: stop
when: manual
deploy-development:
stage: deploy
script:
- echo "deploying development"
environment:
name: development
url: https://example.com
when: manual
deploy-review:
stage: deploy
script:
- echo "Deploying review/$CI_COMMIT_REF_NAME"
environment:
name: review/$CI_COMMIT_REF_NAME
auto_stop_in: 1 week
only:
- branches
except:
- master
when: manual
stop_review_app:
script: stop-review-app
stage: stop
environment:
name: review/$CI_COMMIT_REF_SLUG
action: stop
rules:
- if: $CI_MERGE_REQUEST_ID
when: manual
http://<gdk-url>/<namespace>/<project>/-/environments/<environment id>/deployments/<deployment iid>
For #374538 (closed)