---
title: "Comment by René Pardon on \"How to set up monorepo build in GitLab CI\" | Hashnode"
description: "I really like your approach. Just have one question: How can I manually trigger an explicit sub-project with this? For example I want to run only backend-build"
url: "https://hashnode.com/posts/how-to-set-up-monorepo-build-in-gitlab-ci/60fd1d7318fbbb77c94672d6/comment/62cd35633ba400c1d12e4892"
---

[Discussion](https://hashnode.com/posts/how-to-set-up-monorepo-build-in-gitlab-ci/60fd1d7318fbbb77c94672d6)

Comment [How to set up monorepo build in GitLab CI](https://hashnode.com/posts/how-to-set-up-monorepo-build-in-gitlab-ci/60fd1d7318fbbb77c94672d6)

[René Pardon](https://hashnode.com/@renepardon)

[Jul 12, 2022](https://hashnode.com/posts/how-to-set-up-monorepo-build-in-gitlab-ci/60fd1d7318fbbb77c94672d6/comment/62cd35633ba400c1d12e4892)

I really like your approach. Just have one question:

How can I manually trigger an explicit sub-project with this? For example I want to run only backend-build from within the Gitlab Interface or just frontend-deploy without triggering lets say 100 other jobs.

[Marcin Wosinek](https://hashnode.com/@marcin-wosinek)

[Jul 12, 2022](https://hashnode.com/posts/how-to-set-up-monorepo-build-in-gitlab-ci/60fd1d7318fbbb77c94672d6/comment/62cd35633ba400c1d12e4892#reply-62cd7fa78e6c0fc1acab464c)

I think you could achieve it by adding some variable/flag that introduces another level of control over what and when runs. It could complicate your set-up though, so I'm uncertain if it's a good idea.

I'm interested in learning more about GitLab CI cases that people try building—you can write a description of what you have now, and how would you like to change it, mail me at marcin.wosinek@gmail.com, and then we can meet at half-an-hour call.

[René Pardon](https://hashnode.com/@renepardon)

[Jul 12, 2022](https://hashnode.com/posts/how-to-set-up-monorepo-build-in-gitlab-ci/60fd1d7318fbbb77c94672d6/comment/62cd35633ba400c1d12e4892#reply-62cd82883ba400c1d12e57c1)

I switched our microservice infrastructure to a monorepo and it contains a websocket server, api gateway, a bunch of backend services and two frontends for now. I asked because at some point you might want to build only specific jobs or pipelines. E.g. when creating a new version / tag. In that case I don’t want to run all the code quality stuff over and over again. Just the build jobs to tag a new Docker image version of all services and frontends. [Marcin Wosinek](https://hashnode.com/@marcin-wosinek)
