Closed TannerIsBender closed 2 years ago
The issue seems to be with referencing a template for a Product that uses GitHub as the source.
What is the correct way to setup product.template.yaml in a GitHub Repo?
Ultimately, I think my issue is getting the correct file path that hosts the version for the my-repo-name
template.yaml during the CodeBuild servicecatalog-product-factory-build
I've tried these files in the repo's root directory:
Versions:
- Name: v1
Description: The ssm automation self service application
Source:
Provider: Github
Configuration:
Owner: my-github-org
Repo: my-repo-name
Branch: main
PollForSourceChanges: false
When using Github we recommend using CodeStar pipelines: https://service-catalog-tools-workshop.com/every-day-use/100-creating-a-product/305-creating-codestar-pipelines.html
Let me know if this doc needs more details.
Thank you @eamonnfaherty that fixed my issue. I am now using GitHub via my Codestar connection.
Hello,
I'm having issues adding a Product Version to my Portfolio and Product. When I do NOT include the version everything runs as expected. My portfolio is creating as well as the defined products. The issue happens when I try to add a product from GitHub. The error message points to line 77 in create_version_pipeline_task, however, its not clear to me which parameter is invalid. )
Steps to reproduce
The docs aren't clear to me on the configuration required for Github. The repo
my-repo-name
has a file in the root calledssm-automation_v1.template.yaml
there is also an identical template fileproduct.template.yaml
Here is my
portfolios/ccoe.yaml
Expected results
The docs were not clear to me on how the CloudFormation is pulled from GitHub in the specified repo.
Actual results
Pipeline:
servicecatalog-factory-pipeline