Configuring GitLab Observer jobs
Using the GitLab Observer, you can define a full load job that will dynamically load GitLab projects and their child resources, and visualize this data as a topology view in the Agile Service Manager UI.
Before you begin
Important: The GitLab Observer supports the API version 15.2.
Ensure you have the GitLab server details to hand, such as hostname, private token, datacenter and certificate.
The observer is installed as part of the core installation procedure.
About this task
The GitLab Observer job extracts GitLab resources information via REST API calls. The observer loads and updates the resources and their relationships within the Agile Service Manager core topology service.
You define and start the following jobs.
- Load job
- Run this job whenever you need GitLab topology data refreshed.
The GitLab Observer loads the following resources and their relationship into the Agile Service
Manager core topology service:
Vertex | Description |
---|---|
Project | Elements used to host codebase |
IssuesManager | Manager of issues – Dummy vertex |
MergeRequestsManager | Manager of Merge requests – Dummy vertex |
PackagesBuilder | Manager of packages – Dummy vertex |
Pipeline | Component that can trigger sequences and jobs for CI, delivery and deployment |
ReleasesManager | Manager of release – Dummy vertex |
MergeRequests | Use to check source code changes into a branch (PR) |
Issues | Use issues to collaborate on ideas, solve problems, and plan work |
Jobs | Smallest unit to run in GitLab CI/CD, can be a build or compilation task |
Releases | A checkpoint on the source code history |
Packages | Repository for a variety of common package managers |
Procedure
Configure a GitLab Observer job