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

A way to update pipeline #552

Open
m-radzikowski opened this issue Mar 29, 2024 · 1 comment
Open

A way to update pipeline #552

m-radzikowski opened this issue Mar 29, 2024 · 1 comment

Comments

@m-radzikowski
Copy link

Subject of the issue

I had orgformation pipeline created >2 years ago. I wanted to update it because I got some errors in CI. However, I did not find any way to do it automatically.

Running org-formation init-pipeline updated the CloudFormation stack, but did not commit changes to the CodeCommit repository (since it already existed).

I ended up creating a new, separate orgformation pipeline and copying generated resources from it.

Is this an expected way of solving it or am I blind and don't see something?

For me, the best solution would be a CLI command that would update existing ./000-organization-build files locally that I could review and commit to be applied by existing CI.

@yannickvr
Copy link

This is not a native feature, but you can consider adding a task before OrganizationBuildPipeline that downloads the latest template ( https://github.com/org-formation/org-formation-cli/blob/master/resources/orgformation-codepipeline.yml ) and then update the TemplatePath to the new location. For the new task, you can use the !Cmd function to get the template with the upload-to-s3 task and push it to a new bucket. You can use the S3 bucket key for the TemplatePath

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

No branches or pull requests

2 participants