{"id":22138248,"url":"https://github.com/z0mbix/shci","last_synced_at":"2025-03-24T10:26:15.858Z","repository":{"id":25222276,"uuid":"28646583","full_name":"z0mbix/shci","owner":"z0mbix","description":"Simple Shell CI/Build System ","archived":false,"fork":false,"pushed_at":"2016-01-15T09:02:15.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-29T15:50:43.539Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/z0mbix.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":"2014-12-30T21:49:34.000Z","updated_at":"2016-01-15T09:02:15.000Z","dependencies_parsed_at":"2022-07-24T20:47:00.723Z","dependency_job_id":null,"html_url":"https://github.com/z0mbix/shci","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0mbix%2Fshci","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0mbix%2Fshci/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0mbix%2Fshci/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0mbix%2Fshci/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/z0mbix","download_url":"https://codeload.github.com/z0mbix/shci/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245251102,"owners_count":20584828,"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":[],"created_at":"2024-12-01T20:09:11.916Z","updated_at":"2025-03-24T10:26:15.833Z","avatar_url":"https://github.com/z0mbix.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Shell CI Build System\n\n### YAML Build Config\n\n**shci** uses the yaml file **.shci.yml**. An example:\n\n\tpre-build:\n\t    - make clean\n\tbuild:\n\t    - make test\n\t    - make build\n\t    - make release\n\tpost-build:\n\t    - echo 'Uploading build artifact to S3'\n\t    - make clean\n\tsuccess:\n\t    - echo 'Sending celebratory email to the boss'\n\t    - echo 'Sending happy message to HipChat'\n\tfailure:\n\t    - echo 'Sending email to those that care'\n\t    - echo 'Sending sad message to HipChat'\n\nSave this in the root of your project/repository.\n\n### Usage\n\nRunning shci with the example yaml build config from above:\n\n\t$ ./shci\n\tPerforming pre\n\tCleaning stuff up...\n\n\tPerforming build\n\tRunning tests...\n\tBuilding 2b4ccc8cdfc42a81ddced3e2ea9015881787fc61 on master\n\tCreating tarball release: shci-2b4ccc8cdfc42a81ddced3e2ea9015881787fc61.tar.gz\n\n\tPerforming post\n\tUploading build artifact to S3\n\tCleaning stuff up...\n\n\tbuild_result: post success:\n\tSending celebratory email to the boss\n\tSending happy message to HipChat\n\n**shci** will look for the file **.shci.yml** in the root of your codebase/repository and run the commands specified in each section in the obvious order.\n\nYou can specify an alternative yaml build file with the **-f** option:\n\n\t$ ./shci -f build.yaml\n\nYou can also specify the location of the repository with the **-d** option:\n\n\t$ ./shci -d ~/Projects/myrepo\n\n## Build Failures\n\n\t$ ./shci\n\tPerforming pre\n\tCleaning stuff up...\n\n\tPerforming build\n\tRunning tests...\n\tshci: line 111: unexpected EOF while looking for matching `''\n\tshci: line 112: syntax error: unexpected end of file\n\tmake: *** [test] Error 1\n\tbuild_result: build failure: make test\n\tSending email to those that care\n\tSending sad message to HipChat\n\n## Uses\n\nCould be used with the excellent [phayes/hookserve](https://github.com/phayes/hookserve) for very simple Github based CI.\n\n** Known Issues\n\n- This isn't fully working yet\n- Should be better at parsing yaml or just replace yaml\n- Only supports git\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz0mbix%2Fshci","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fz0mbix%2Fshci","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz0mbix%2Fshci/lists"}