{"id":25304798,"url":"https://github.com/mikogs/charlotte","last_synced_at":"2025-07-21T17:31:47.617Z","repository":{"id":249861500,"uuid":"710949074","full_name":"mikogs/charlotte","owner":"mikogs","description":"WIP. Set of tools to easily execute simple jobs in bash and golang on a set of workers. Sort of CI","archived":false,"fork":false,"pushed_at":"2024-11-13T08:03:40.000Z","size":13266,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T08:48:23.490Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/mikogs.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":"2023-10-27T19:49:30.000Z","updated_at":"2024-11-13T08:04:25.000Z","dependencies_parsed_at":"2025-01-23T19:24:52.317Z","dependency_job_id":"93b03a84-562b-411d-9129-8aafd63e638c","html_url":"https://github.com/mikogs/charlotte","commit_stats":null,"previous_names":["mikolajgs/charlotte","mikogs/charlotte"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikogs%2Fcharlotte","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikogs%2Fcharlotte/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikogs%2Fcharlotte/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikogs%2Fcharlotte/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikogs","download_url":"https://codeload.github.com/mikogs/charlotte/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247589821,"owners_count":20963025,"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":"2025-02-13T08:32:54.097Z","updated_at":"2025-04-07T04:19:36.172Z","avatar_url":"https://github.com/mikogs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# charlotte\n\n### Job\nSimple app that takes a YAML file that contains a set of steps which are bash scripts, wrapped into simple logic, inputs, outputs etc.\nand executes it.\n\n#### Running test suite\n\n    make test\n\n#### Building `job` binary\n\n    cd cmd/job\n    go build .\n\n#### Running `job`\n\n    cd cmd/job\n    ./job run-local -j ../../sample-files/job.yaml -r /tmp/job-result.txt -i ../../sample-files/job-inputs.json --quiet\n    cat /tmp/job-result.txt\n\nAlso, there are test files in the `pkg/job/runtime/local/tests` directory that can be used.\n\n#### v0.1\n\n- [x] pipe stdout and stderr to files\n- [x] environment (global and in-step)\n- [x] variables\n- [x] job inputs\n- [x] step outputs\n- [x] `continue_on_error`\n- [x] values using golang templates\n- [x] `if` - conditional steps (value templated, must equal to string `'true'`)\n- [x] running step(s) on success\n- [x] running step(s) on failure\n- [x] running step(s) always\n- [x] tmp directory for step outputs\n- [x] gather job outputs \n- [x] write job outputs to json file\n- [x] handle input: `--inputs`, `--job`, `--result` without aliases (and `--quiet`)\n- [x] prepare sample yaml files - same as the test ones, so the test would just include them?\n\n#### v0.2\n- [ ] validation\n- [ ] extract steps so that they can be included (include file with inputs) + proper validation for that\n- [ ] ...\n\n### Pipeline\nLayer on top of Jobs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikogs%2Fcharlotte","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikogs%2Fcharlotte","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikogs%2Fcharlotte/lists"}