feat(P25): deploy outputs (SSM + PR comment) + error reporting via Lambda + stage comments
---ci--- project: acdl phase: 25 milestone: v1.7 status: execute ---/ci---
This commit is contained in:
@@ -48,4 +48,14 @@ stages:
|
||||
- name: apply
|
||||
description: Apply the Terraform plan (dev environment only, autonomous per §10)
|
||||
command: terraform -chdir=terraform/spike apply -auto-approve -lock=false
|
||||
required: false
|
||||
|
||||
- name: publish-outputs
|
||||
description: Publish deploy outputs to SSM Parameter Store (SecureString) + GitHub PR comment
|
||||
command: python3 -c "from core.output_publisher import publish_to_ssm, format_comment, post_github_comment; import json,subprocess; tf=json.loads(subprocess.check_output(['terraform','-chdir=terraform/spike','output','-json']) or '{}'); outputs={k:v.get('value') if isinstance(v,dict) else v for k,v in tf.items()}; ssm=publish_to_ssm(outputs,'dev','spike'); comment=format_comment(outputs,'dev','spike',ssm); post_github_comment(comment)"
|
||||
required: false
|
||||
|
||||
- name: comment-outputs
|
||||
description: Post a structured GitHub PR comment with human-readable deploy outputs
|
||||
command: bash scripts/post_stage_comment.sh publish-outputs pass
|
||||
required: false
|
||||
Reference in New Issue
Block a user