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

Add CI/CD Pipeline Stack Base Class #13

Merged
merged 2 commits into from
Jul 4, 2024

Conversation

rpmcginty
Copy link
Collaborator

@rpmcginty rpmcginty commented Jul 2, 2024

What's in this Change?

Adding a new pipeline stack base class. Will use in project applications

@rpmcginty rpmcginty requested a review from njmei July 2, 2024 02:32
Comment on lines 141 to 153
# TEMPORARY -- we need to use this going forward
# source = pipelines.CodePipelineSource.connection(
# repo_string=github_config.repository,
# branch=github_config.branch,
# connection_arn=build_arn(
# service="codestar-connections",
# resource_type="connection",
# resource_delim="/",
# resource_id=github_config.codestar_connection,
# ),
# code_build_clone_output=True,
# trigger_on_push=True,
# )
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might be an opportunity to switch to codestar connection instead of legacy github connection? Or would you want to tackle this in separate work?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have made either option usable based on the presence of the fields in the source config.

Comment on lines +29 to +35
BaseProjectConfig,
CodePipelineSourceConfig,
Env,
GlobalConfig,
PipelineConfig,
ProjectConfig,
StageConfig,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be useful if you can add some example values for what the fields in these config dataclasses should look like. At least at a glance, I wasn't sure about the differences between all these different config types and where/how they are supposed to be used.

@njmei njmei self-requested a review July 3, 2024 17:04
Copy link
Collaborator

@njmei njmei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Mostly nits; nothing blocking

@rpmcginty rpmcginty marked this pull request as ready for review July 3, 2024 23:49
@rpmcginty rpmcginty merged commit 48ee3cc into main Jul 4, 2024
4 checks passed
@rpmcginty rpmcginty deleted the feature/add-cicd-pipeline-stack-base-class branch July 4, 2024 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants