Manage Libraries
This section describes the subsequent possible actions that can be performed with the newly added or existing libraries.
Check Library​
As soon as the library is successfully provisioned, the following will be created:
- A Library Codebase type will appear in the Projects list.
- With the Create strategy, a new project will be generated on GitHub or another integrated VCS. When Clone is chosen, the repository will be forked from the original and copied to the KubeRocketCI-integrated repository. If Import is selected, the platform connects to the chosen repository.
The added library will be listed in the Projects list allowing you to do the following:
- Observe it in the Projects list;
- Manage branches;
- Run build/review pipelines;
- View SonarQube/DefectDojo metrics;
- View Merge Requests.
Libraries cannot be deployed via Deployments; only applications can. Libraries are used as shared code or pipelines consumed by applications and other project types.
The Projects list allows you to see the following information about your libraries:
- Page guide - Runs the tour that briefly explains the page.
- Component name (clickable) - Displays the library name set during the library creation.
- Actions menu - Provides additional options for each individual library, such as Edit and Delete.
- Status - Displays the library status. Can be red or green depending on if the KubeRocketCI portal managed to connect to the Git Server with the specified credentials or not.
There are also options to sort the libraries:
- Filters - Filter codebases by their name and type. Additionally, sort the existing libraries in a table by clicking the sorting icons in the table header. Sort the libraries alphabetically by their name, language, build tool, framework, and CI tool. You can also sort the libraries by their status: Created, Failed, or In progress.
- Selector - Allows you to select multiple libraries for bulk delete.
- Columns (clickable) - Sort the existing libraries in a list by clicking the sorting icons in the list header.
Edit Existing Library​
There are two options available to edit in the library after its creation:
- A pattern to validate a commit message;
- Jira integration.
You can edit a library directly from the Project overview page or in the Projects list using the Actions button.
To enable Jira integration, in the Edit Project dialog do the following:
-
Mark the Integrate with Jira server check box and fill in the necessary fields. Please see steps d-h of the Add Library page.
-
Select the Apply button to apply the changes.
To disable Jira integration, in the Edit Project dialog do the following:
-
Clear the Integrate with Jira server check box.
-
Select the Apply button to apply the changes.
To create, edit and delete library branches, please refer to the Manage Branches page.