Git workflow for multiple developers
How multiple developers can work on the same project.
When multiple users work on the same SnapLogic project, each one works on their own branch. Merge the branches into a single branch for integrated testing, then pull the tested assets into the production environment. For the branching model these steps follow, refer to Git workflow and branching model.
Create the repository, optionally set up credentials in your secrets manager, and set up the endpoint accounts in your sandbox environment as described in Git workflow for a single developer. Each user then performs the following steps:
- Create a new project in their own project space.
- Create a new branch in the repository for their own project.
- Make the required changes.
- Commit the changes.
- Create a pull request for review.
An admin reviews the pull requests and merges them into the main branch. The merge
triggers the automated CI/CD workflow, which copies the changes from the main branch
to the production environment.
To automate delivery, set up a CI/CD workflow in your Git provider that's
automatically triggered on update of the main branch. The CI/CD workflow pulls the
updated files into the production environment.