Two databases, Two Repos, One Workflow

Hi everyone,

I have 2 repos, A and B. I’m trying to test B, and B is dependent on A.

How do I get Circleci to checkout A, run some commands, startup, then have Circelci to checkout B, run some commands and run tests?

Hi @jeu, and welcome to the CircleCI community!

Your CircleCI config.yml located in repo A would include the checkout step, as well as, a custom step (typically a git clone) to checkout repo B.

In case you need to use a separate SSH key to checkout repo B, you’ll need to add it to the project settings, and refer to it during the build using the add_ssh_keys key.

You would then have both repositories checked out in this single build.

Let me know if this helps.