You've already forked microservices
mirror of
https://github.com/ebosas/microservices.git
synced 2025-08-24 20:08:55 +02:00
Testing pipeline
This commit is contained in:
@@ -203,7 +203,9 @@ Resources:
|
|||||||
# PrivilegedMode: true
|
# PrivilegedMode: true
|
||||||
# ServiceRole: !Ref CodeBuildServiceRole
|
# ServiceRole: !Ref CodeBuildServiceRole
|
||||||
|
|
||||||
# A webhook that triggers the pipeline
|
# A webhook for the pipeline. Is is not registered, so the pipeline is only
|
||||||
|
# triggered by a manual action. For this to work, PollForSourceChanges is
|
||||||
|
# set to false in the pipeline's source action config.
|
||||||
PipelineWebhook:
|
PipelineWebhook:
|
||||||
Type: AWS::CodePipeline::Webhook
|
Type: AWS::CodePipeline::Webhook
|
||||||
Properties:
|
Properties:
|
||||||
@@ -212,11 +214,13 @@ Resources:
|
|||||||
Filters:
|
Filters:
|
||||||
- JsonPath: "$.ref"
|
- JsonPath: "$.ref"
|
||||||
MatchEquals: refs/heads/{Branch}
|
MatchEquals: refs/heads/{Branch}
|
||||||
|
- JsonPath: "$.head_commit/message"
|
||||||
|
MatchEquals: '[DeployInfrastructure]'
|
||||||
Authentication: GITHUB_HMAC
|
Authentication: GITHUB_HMAC
|
||||||
TargetPipeline: !Ref Pipeline
|
TargetPipeline: !Ref Pipeline
|
||||||
TargetAction: Source
|
TargetAction: Source
|
||||||
TargetPipelineVersion: !GetAtt Pipeline.Version
|
TargetPipelineVersion: !GetAtt Pipeline.Version
|
||||||
RegisterWithThirdParty: false
|
RegisterWithThirdParty: true
|
||||||
|
|
||||||
# This pipeline defines the steps to build, deploy, and release the application
|
# This pipeline defines the steps to build, deploy, and release the application
|
||||||
Pipeline:
|
Pipeline:
|
||||||
@@ -231,7 +235,7 @@ Resources:
|
|||||||
# First we have to pull the source code from the Github repository
|
# First we have to pull the source code from the Github repository
|
||||||
- Name: Source
|
- Name: Source
|
||||||
Actions:
|
Actions:
|
||||||
- Name: App
|
- Name: Source
|
||||||
ActionTypeId:
|
ActionTypeId:
|
||||||
Category: Source
|
Category: Source
|
||||||
Owner: ThirdParty
|
Owner: ThirdParty
|
||||||
|
Reference in New Issue
Block a user