{"id":31646168,"url":"https://github.com/codefresh-io/monorepo-sample","last_synced_at":"2026-02-27T03:00:58.908Z","repository":{"id":37898869,"uuid":"264325387","full_name":"codefresh-io/monorepo-sample","owner":"codefresh-io","description":"demonstrate monorepo building using codefresh pipeline","archived":false,"fork":false,"pushed_at":"2022-06-14T17:53:49.000Z","size":19,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-02-13T08:06:28.808Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://codefresh.io/","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codefresh-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-16T00:10:55.000Z","updated_at":"2020-05-16T00:19:52.000Z","dependencies_parsed_at":"2022-08-20T03:00:34.073Z","dependency_job_id":null,"html_url":"https://github.com/codefresh-io/monorepo-sample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codefresh-io/monorepo-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codefresh-io%2Fmonorepo-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codefresh-io%2Fmonorepo-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codefresh-io%2Fmonorepo-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codefresh-io%2Fmonorepo-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codefresh-io","download_url":"https://codeload.github.com/codefresh-io/monorepo-sample/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codefresh-io%2Fmonorepo-sample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29883111,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T23:51:21.483Z","status":"online","status_checked_at":"2026-02-27T02:00:06.759Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-07T05:20:36.926Z","updated_at":"2026-02-27T03:00:58.893Z","avatar_url":"https://github.com/codefresh-io.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# # Codefresh Monorepo example\n\nThis is a monorepo with multiple trigger and single pipeline example to demonstrate codefresh muti trigger, annotation and cli as an option to gate control the cd part.\n\n\n# Monorepo Details\n\nRepo contains multiple microservice namely users,  products,items etc under the folder  **packages**\n\n## Codefresh Piepline\n\nThe pipeline that build indidual services based upon individual service glob expression based trigger is in  **./cf/codfresh.yaml** \n\n## Glob expression for the individual services build trigger.\n\nThough all the service can be manged using a single trigger, for the purpose demonstrating multi trigger following 2 trigger are enabled to build  **products** and  **users** as separate trigger event.\n 1. Glob expression for  **products** ** - ***packages/products/*****\n 2. Glob expression for  **users** ** - ***packages/users/*****\n\n## How to use this pipeline \n\nTo use this pipeline\n  1. Clone this repo\n  2. Create a new pipeline and replace the content with **./cf/codfresh.yaml** or use the location of this or cloned  repo, **./cf/codfresh.yaml** as the pipeline repo location.\n  3. add the 2 triggers mentioned in the  **Glob expression ** section above.\n  4. Add a pipeline variable by name **RELEASE_NAME**\n\n## How to use this pipeline \n\nTo test this pipeline, after creating a piepline as menitoned in the previouse section **How to use this pipeline **.\n1. Do a non breaking change to one of the file in ***packages/products/*** folder\n2. commit the change with the commit message containing the kye word required for the **products**. The key word in the comment is ***products_build***\n\n\u003e E.g a comment like \"testing monorepo for prodcuts, products_build\"\n\u003e\n3. Watch the new build for prodcuts service. This should not run the deploy step yet,as all the required services are not ready yet.\n4. Do a non breaking change to one of the file in ***packages/users/*** folder\n5. . commit the change with the commit message containing the kye word required for the **users**. The key word in the comment is ***users_build***\n6. Watch the new build for users service. This should now run the deploy step yet,as all the required services are not ready by now.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodefresh-io%2Fmonorepo-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodefresh-io%2Fmonorepo-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodefresh-io%2Fmonorepo-sample/lists"}