Skip to content

Commit

Permalink
Add Statuspage stack to DevOps pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
farski committed Sep 25, 2023
1 parent 6cbba6d commit 0b6b205
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion devops/tooling-cd-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# 4. Add the output file of the `sam package` command to the artifacts files
# list of the CodeBuild project (which is the stack name).
# 5. Add an action to the Deploy stage of the CodePipeline pipeline that
# deploys the template from the CodeBuils artifacts that you added in step 4.
# deploys the template from the CodeBuild artifacts that you added in step 4.
AWSTemplateFormatVersion: "2010-09-09"
Transform: AWS::Serverless-2016-10-31

Expand All @@ -38,6 +38,9 @@ Parameters:
kSlackAppStackName:
Type: String
Default: prx-devops-slack-app
kStatuspageStackName:
Type: String
Default: prx-devops-statuspage
######
GitHubCodeStarConnectionArn: { Type: String }
OrganizationId:
Expand Down Expand Up @@ -216,13 +219,17 @@ Resources:
- sam build --parallel --template-file ./devops/tooling/chat-ops/slack-app/template.yml
- sam package --s3-bucket ${PipelineArtifactStore} --output-template-file ./${kSlackAppStackName}
- sam build --parallel --template-file ./devops/tooling/statuspage/template.yml
- sam package --s3-bucket ${PipelineArtifactStore} --output-template-file ./${kStatuspageStackName}
artifacts:
files:
- ${kCloudFormationMacroFunctionsStackName}
- ${kCloudFormationNotificationsStackName}
- ${kCloudWatchAlarmsStackName}
- ${kCloudWatchAlarmRemindersStackName}
- ${kSlackAppStackName}
- ${kStatuspageStackName}
name: SamBuildArtifact
Type: CODEPIPELINE
Tags:
Expand Down Expand Up @@ -357,6 +364,7 @@ Resources:
- !Sub arn:${AWS::Partition}:cloudformation:${AWS::Region}:${AWS::AccountId}:stack/${kCloudFormationMacroFunctionsStackName}/*
- !Sub arn:${AWS::Partition}:cloudformation:${AWS::Region}:${AWS::AccountId}:stack/${kCloudFormationNotificationsStackName}/*
- !Sub arn:${AWS::Partition}:cloudformation:${AWS::Region}:${AWS::AccountId}:stackset/${kCloudFormationNotificationTopicsStacksetName}:*
- !Sub arn:${AWS::Partition}:cloudformation:${AWS::Region}:${AWS::AccountId}:stackset/${kStatuspageStackName}:*
Version: "2012-10-17"
PolicyName: CloudFormationAccess
# Allow PassRole to the CloudFormation role
Expand Down

0 comments on commit 0b6b205

Please sign in to comment.