PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, September 27, 2022

[FIXED] How to make CICD work for multiple repositories dependent with each other

 September 27, 2022     aws-codepipeline, continuous-deployment, continuous-integration     No comments   

Issue

if a system is deployed with code from multiple repositories, and these repositories are dependent. i.e. the system works only if a code is updated to one repository, and the corresponding code is updated to another repository at the same time. Then in this case, How should I make CICD work?

BTW, I have created an AWS Codepipeline for one repository, and I can do the same thing for another repository. But if these two repositories have to sync with each other, I am not sure what else I need to do with Codepipeline. Thanks.


Solution

There are several tools which may help you achieve this kind of deployment, one of them is deploybot.

Since I use deploybot for my workflow I'd normally setup something like this:

First I would have to connect the main repository to Deploybot. Then Deploybot has the ability to treat other repositories as submodules and do the build process on a container inside deploybot, this means all the code from different submodules would be pulled to a container where you can execute different commands against your code and after the build finishes the same code will be deployed to your server.



Answered By - John Baker
Answer Checked By - Katrina (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing