Add manual_confirmation on stage json
What does this MR do and why?
- Add
manual_confirmation
in Jobs keyword - Return
confirmation_message
instage.json
- Return
confirmation_message
inStatusAction
graphql.
Connected to: #450715 (closed)
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
- Add
manual_confirmation
on job that we want to have manual confirmation-
You can use this example YAML
stages: - build - second_stage build-job: stage: build script: - echo "11111..." - echo "Compile complete." manual_confirmation: This is Manualllll build_artifact: stage: build script: - echo "11111..." - echo "Compile complete." manual_confirmation: This is Manualllll
-
- Push to repository
-
confirmation_message
key should present in thestage.json
-
confirmation_message
should present inStatusAction
graphql
Edited by Phawin Khongkhasawan