Issue:
When I create a separate project under "MicroProject" to manage pipelines for all services (like common-libs and content-service), which are located under the "Backend" subgroup, the .yml file cannot locate them. This is because those services are part of the "Backend" subgroup and the build process is restricted to the current project's directory at the time of execution.
Alternatively, when I define a .gitlab-ci.yml
file inside each individual project, the other services cannot access the common-libs artifacts, nor are they downloaded. This prevents the other services from building successfully.
Could anyone please suggest a solution?
Project file pattern:
Note: common-libs: (this contains the modules used by all services(common-modules) like Kafka, swagger, database, exception, authentication, and authorization)
Other All services use the modules of common-libs to work independently
GitLab
1. MicroProject(Main Group)
1.1. Backend (sub-group and contains projects)
1.1.1. common-libs
1.1.2. content-service
1.1.3. filer-service
1.1.4. user-service
1.2. Front-end (sub-group and contains projects)
1.2.1. Mobile
1.2.2. desktop
1.3. Pipelines (project)
1.3.1. common-libs.yml
1.3.2. content-service.yml
1.3.3. filer-service.yml
1.3.4. user-service.yml
Top comments (0)