Skip to content

Manual approval in pipeline step #8965

Answered by suhlig
quinn asked this question in Ideas
May 29, 2024 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

You need something that represents the approval, which you check for with a resource. I used the presence of a git tag for this in the past, but you can probably also use a file in a git repo, S3 bucket, etc.

Your pipeline would then probably look similar to this (you have Prod Deploy where I have build-it):

Your Prod Deploy job would check for the presence of a tag (v1.2.4-approved) and kick off a new build. The Release Discarded could be implemented in the same way, e.g. looking for a tag v1.2.4-rejected. The tag_filter of the git resource would be useful for this.

The connection between two jobs can be made with a passed statement:

- name: build-it
  plan:
    - get: tagged-commits

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@quinn
Comment options

Answer selected by quinn
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants