{"id":24650840,"url":"https://github.com/ggdream/mcc","last_synced_at":"2025-10-20T11:42:10.923Z","repository":{"id":266243342,"uuid":"865788409","full_name":"ggdream/mcc","owner":"ggdream","description":"【Mini CICD】直接在单台宿主机上进行cicd，无容器和其他任何依赖","archived":false,"fork":false,"pushed_at":"2024-10-01T14:54:30.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T21:08:10.991Z","etag":null,"topics":["cicd","golang","host","minimal","no-docker"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ggdream.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-01T06:16:52.000Z","updated_at":"2024-10-01T14:54:37.000Z","dependencies_parsed_at":"2024-12-03T10:05:42.528Z","dependency_job_id":null,"html_url":"https://github.com/ggdream/mcc","commit_stats":null,"previous_names":["ggdream/mcc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ggdream/mcc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggdream%2Fmcc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggdream%2Fmcc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggdream%2Fmcc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggdream%2Fmcc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ggdream","download_url":"https://codeload.github.com/ggdream/mcc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggdream%2Fmcc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259783068,"owners_count":22910301,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["cicd","golang","host","minimal","no-docker"],"created_at":"2025-01-25T18:16:50.182Z","updated_at":"2025-10-20T11:42:10.864Z","avatar_url":"https://github.com/ggdream.png","language":"Go","readme":"# Mini CICD\n\n将GitHub、GitLab、Gitea等服务的Webhook打到该项目，如果是`push`消息，则会拉下对应仓库代码，并按照配置文件进行cicd。整个过程都在部署该服务的主机完成。\n无容器依赖，足够轻量，方便低成本、少人力的开发流程。\n\n在代码仓库根目录添加配置即可：`.mcc.yaml`。目前有两类CICD方案\n\n- type: server\n\n用来打包并部署不退出的服务，比如web server、Job等。\n\n~~~yaml\ntype: server\nsteps:\n  - go mod download\n  - go build -o build/app\napply: ./build\ncommand: [\"./app\", \"-c\", \"./config.yaml\"]\n~~~\n\n- type: static\n\n用来打包并部署静态资源，比如前端打包后的产物\n\n~~~yaml\ntype: static\nsteps:\n  - pnpm install\n  - pnpm run build\napply: ./dist\n~~~\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fggdream%2Fmcc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fggdream%2Fmcc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fggdream%2Fmcc/lists"}