{"id":16813764,"url":"https://github.com/albertoimpl/koncourse","last_synced_at":"2025-09-09T13:41:14.259Z","repository":{"id":86216894,"uuid":"143629165","full_name":"Albertoimpl/koncourse","owner":"Albertoimpl","description":"Kotlin based tool for creating ConcourseCI pipelines","archived":false,"fork":false,"pushed_at":"2018-08-05T16:54:12.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-23T21:28:42.871Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","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/Albertoimpl.png","metadata":{"files":{"readme":"README.adoc","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":"2018-08-05T16:22:19.000Z","updated_at":"2018-08-05T16:54:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"2519b0ec-f879-4e02-bdb0-8a773c947919","html_url":"https://github.com/Albertoimpl/koncourse","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/Albertoimpl%2Fkoncourse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Albertoimpl%2Fkoncourse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Albertoimpl%2Fkoncourse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Albertoimpl%2Fkoncourse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Albertoimpl","download_url":"https://codeload.github.com/Albertoimpl/koncourse/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244029591,"owners_count":20386443,"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-10-13T10:27:46.321Z","updated_at":"2025-03-17T11:42:45.213Z","avatar_url":"https://github.com/Albertoimpl.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"= Koncourse\n\nKoncourse is a https://kotlinlang.org/[Kotlin] based tool for creating https://concourse-ci.org/[Concourse CI] pipelines.\n\nBecause we love Concourse but we hate YAML.\n\nConfiguration As Code is great and YAML is human-friendly, until it isn't.\n\nThis is a proof of concept to compare how a fully programmatic approach compares to a DSL one.\n\n== SDK\n\nhello-world.kt\n[source,kotlin]\n----\nimport com.albertoimpl.koncourse.sdk.*\n\nfun main(args: Array\u003cString\u003e) {\n    val result = Pipeline(\n            listOf(\n                    Job(\"hello-world\",\n                            listOf(\n                                    Plan(\"say-hello\",\n                                            Config(\"linux\",\n                                                    ImageResource(\"docker-image\", Repository(\"alpine\")),\n                                                    Run(\"echo\", listOf(\"Hello, world!\"))\n                                            )\n                                    )\n                            )\n                    )\n            )\n    )\n\n    generate(\"hello-world.yml\", result)\n}\n----\n\nwill output:\n\nhello-world.yml\n[source,yaml]\n----\njobs:\n- name: \"hello-world\"\n  plan:\n  - task: \"say-hello\"\n    config:\n      platform: \"linux\"\n      image_resource:\n        type: \"docker-image\"\n        source:\n          repository: \"alpine\"\n      run:\n        path: \"echo\"\n        args:\n        - \"Hello, world!\"\n----\n\n== DSL\n\n// TODO\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertoimpl%2Fkoncourse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falbertoimpl%2Fkoncourse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertoimpl%2Fkoncourse/lists"}