Adding a repository to a team space
You must add a repository to the team space in IBM® DevOps Test Hub (Test Hub) when you want to create, modify, or
store a system model.
You must have completed the following tasks:
- Ensured that you are assigned a role as a Team Space Owner or an Architect in the team space. See Managing members and their roles in a team space.
- Ensured that you obtained valid credentials to access the Git repository that you want to add.
As a Team Space Owner or an Architect, you can add a
repository to the team space. You can add a repository to the team space in any of the following
methods:
- Add an existing repository that can contain test assets, which are created in the desktop products.
- Add a bare repository.
Attention: The repository that you want to add must not
contain any projects or .project files under the root
directory.
When you add a repository, the Git repository is cloned to the team space. While you add a repository, you must provide the necessary authentication credentials that are set for the Git repository. For example, if the authentication type is SSH, then you must provide the Git URL, a deploy key, and a passphrase.
Important: You can add only one repository to the team space.
After you add a repository to the team space, the option to add another repository is not
available. You must delete an existing repository before you can add a different
repository.
The Git repository is added to the team space on Test Hub.
Note: The time
to clone the repository can take a few to several minutes and depends on the size of the
repository.
- Update the authentication credentials if they are changed in the Git repository configuration. See Updating the authentication credentials of the repository.
- Refresh a repository to fetch and synchronize changes from the remote repository. See Refreshing repositories manually.
- Configure a webhook to notify the server if there is a push event in the remote repository. See Creating webhooks.
- Add a system model to the repository. See Creating a system model.
- Delete a repository that is added to the team space, if it is no longer required. See Deleting a repository from a team space.