Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CodeStar Source for build pipeline generation (support for bitbucket source) #1891

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: missing annotations
  • Loading branch information
robincsamuel committed Feb 16, 2022
commit 836433fa88c9a159ee0c465d596d81eb675acb3e
2 changes: 2 additions & 0 deletions chalice/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ def add_to_template(self, template, pipeline_params):

class CodeStarSource(BaseResource):
def add_to_template(self, template, pipeline_params):
# type: (Dict[str, Any], PipelineParameters) -> None
p = template.setdefault('Parameters', {})
p['CodeStarConnectionArn'] = {
'Type': 'String',
Expand Down Expand Up @@ -543,6 +544,7 @@ def _create_source_stage(self, pipeline_params):
return self._github_source(pipeline_params.pipeline_version)

def _code_star_source(self):
# type: (str) -> Dict[str, Any]
return {
'Name': 'Source',
'Actions': [{
Expand Down