1
0
mirror of https://github.com/ebosas/microservices.git synced 2025-06-24 22:26:56 +02:00

Remove code from pipeline

This commit is contained in:
ebosas
2021-11-12 20:57:54 +02:00
parent 987ff7fde3
commit 4e834b5e0c

View File

@ -141,19 +141,19 @@ Resources:
RoleArn: !GetAtt CloudWatchEventRole.Arn RoleArn: !GetAtt CloudWatchEventRole.Arn
Id: server-pipeline Id: server-pipeline
PipelineWebhook: # PipelineWebhook:
Type: AWS::CodePipeline::Webhook # Type: AWS::CodePipeline::Webhook
Properties: # Properties:
AuthenticationConfiguration: # AuthenticationConfiguration:
SecretToken: !Ref GitHubToken # SecretToken: !Ref GitHubToken
Filters: # Filters:
- JsonPath: "$.ref" # - JsonPath: "$.ref"
MatchEquals: refs/heads/{Branch} # MatchEquals: refs/heads/{Branch}
Authentication: GITHUB_HMAC # Authentication: GITHUB_HMAC
TargetPipeline: !Ref Pipeline # TargetPipeline: !Ref Pipeline
TargetAction: Code # TargetAction: Code
TargetPipelineVersion: !GetAtt Pipeline.Version # TargetPipelineVersion: !GetAtt Pipeline.Version
RegisterWithThirdParty: false # only manual action # RegisterWithThirdParty: false # only manual action
Pipeline: Pipeline:
Type: AWS::CodePipeline::Pipeline Type: AWS::CodePipeline::Pipeline
@ -198,20 +198,20 @@ Resources:
- Name: Image - Name: Image
RunOrder: 1 RunOrder: 1
- Name: Code # - Name: Code
ActionTypeId: # ActionTypeId:
Category: Source # Category: Source
Owner: ThirdParty # Owner: ThirdParty
Version: 1 # Version: 1
Provider: GitHub # Provider: GitHub
Configuration: # Configuration:
Owner: !Ref GitHubUser # Owner: !Ref GitHubUser
Repo: !Ref GitHubRepo # Repo: !Ref GitHubRepo
Branch: !Ref GitHubBranch # Branch: !Ref GitHubBranch
OAuthToken: !Ref GitHubToken # OAuthToken: !Ref GitHubToken
PollForSourceChanges: false # PollForSourceChanges: false
OutputArtifacts: # OutputArtifacts:
- Name: Code # - Name: Code
#-----------------------------------------------------------------------------# #-----------------------------------------------------------------------------#
# Deploy # Deploy