Skip to content

Commit 18da4f4

Browse files
authored
Merge pull request #1883 from mboersma/approve-promotion
Require promotion approval in Azure image pipeline
2 parents 5b55f64 + b396b37 commit 18da4f4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

images/capi/packer/azure/.pipelines/promote-sig.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,16 @@
1414
# - SIG_OFFER - the name of the offer to attach to image definitions, defaults to `reference-images`
1515

1616
jobs:
17+
- deployment: approve_promotion
18+
displayName: 'Approve Image Promotion'
19+
environment: 'image-promotion-approval'
20+
strategy:
21+
runOnce:
22+
deploy:
23+
steps:
24+
- script: echo "Approved for promotion"
1725
- job: publish_to_sig
26+
dependsOn: approve_promotion
1827
timeoutInMinutes: 120
1928
strategy:
2029
maxParallel: 0

0 commit comments

Comments
 (0)