{"id":27881864,"url":"https://github.com/src-d/combustion","last_synced_at":"2025-05-05T05:05:53.953Z","repository":{"id":79453973,"uuid":"77736512","full_name":"src-d/combustion","owner":"src-d","description":null,"archived":false,"fork":false,"pushed_at":"2017-04-02T21:06:28.000Z","size":29,"stargazers_count":3,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-05T05:05:48.621Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/src-d.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":"2016-12-31T10:51:54.000Z","updated_at":"2018-09-07T15:09:47.000Z","dependencies_parsed_at":"2024-06-20T09:32:36.004Z","dependency_job_id":null,"html_url":"https://github.com/src-d/combustion","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/src-d%2Fcombustion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/src-d%2Fcombustion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/src-d%2Fcombustion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/src-d%2Fcombustion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/src-d","download_url":"https://codeload.github.com/src-d/combustion/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252442486,"owners_count":21748451,"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-05-05T05:05:53.352Z","updated_at":"2025-05-05T05:05:53.944Z","avatar_url":"https://github.com/src-d.png","language":"Go","readme":"# combustion [![Build Status](https://travis-ci.org/src-d/combustion.svg?branch=master)](https://travis-ci.org/src-d/combustion)\n\nDocumentation\n-------------\n\nCombustion files are a extension to [container linux config](https://github.com/coreos/container-linux-config-transpiler/blob/master/doc/configuration.md) specification, some extra functionalities.\n\n### Output\n\n_Output_ defines the filename of the output for the file, if empty or not present the file is not written to the disk.\n\n### Type\n\n_Type_ defines the format of the output, the supported options are: `cloud-config`, `ignition` or `container-linux`, by default `container-linux` is used.\n\n### Import\n\n_Import_ option allows you to import another config file, merging the imported file over the _importing file_.\n\nThe _import_ key is a `map`, where the key is the *path* to the file to be imported, relative to the  _importing file_, the value is another `map` used to replaced using the [golang template system](https://golang.org/pkg/text/template/).\n\nGiven `foo.yaml`:\n\n```yaml\n---\nimport:\n  bar.yaml:\n    world: World!\n\nfoo: bar\nbaz: qux\n```\n\nAnd the `bar.yaml`:\n\n```yaml\n---\ntext: Hello {{.world}}\nfoo: qux\n```\n\nThe result is:\n\n```yaml\n---\ntext: Hello World!\nfoo: qux\nbaz: qux\n```\n\n### Additional features\n\nAdditionally to the described features, a new schema is supported in `storage.file.content.remote.url`, the _file_ schema. When combustion is executed the file, relative to the yaml, is resolved and included inline.\n\nGiven `foo.yaml`\n\n```yaml\n---\nstorage:\n  files:\n    - path: foo.txt\n      contents:\n        remote:\n          url: file:///foo.txt\n```\n\nAnd the `foo.txt`\n\n```\nHello World!\n```\n\nThe result is:\n\n```yaml\n---\nstorage:\n  files:\n    - path: foo.txt\n      contents:\n        inline: Hello World!\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrc-d%2Fcombustion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrc-d%2Fcombustion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrc-d%2Fcombustion/lists"}