{"id":15706893,"url":"https://github.com/cirocosta/concourse-arm","last_synced_at":"2025-05-12T19:11:46.249Z","repository":{"id":73883733,"uuid":"182445900","full_name":"cirocosta/concourse-arm","owner":"cirocosta","description":"Concourse on ARMv7 and Arm64","archived":false,"fork":false,"pushed_at":"2019-06-01T12:46:51.000Z","size":44,"stargazers_count":5,"open_issues_count":4,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-12T19:11:45.841Z","etag":null,"topics":["arm","concourse","continuous-integration","raspberry-pi"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/cirocosta.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":"2019-04-20T19:21:05.000Z","updated_at":"2023-03-10T03:22:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"9fc50985-2055-474e-b14c-e3cfcdceb84f","html_url":"https://github.com/cirocosta/concourse-arm","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirocosta%2Fconcourse-arm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirocosta%2Fconcourse-arm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirocosta%2Fconcourse-arm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirocosta%2Fconcourse-arm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cirocosta","download_url":"https://codeload.github.com/cirocosta/concourse-arm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253805854,"owners_count":21967053,"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":["arm","concourse","continuous-integration","raspberry-pi"],"created_at":"2024-10-03T20:30:27.380Z","updated_at":"2025-05-12T19:11:46.230Z","avatar_url":"https://github.com/cirocosta.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# concourse-arm\n\nRun [`concourse`](https://concourse-ci.org) workers using ARM devices (yep, including your Raspberry Pi!)\n\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n\n\n- [what's inside?](#whats-inside)\n- [how does it work?](#how-does-it-work)\n- [installing](#installing)\n  - [using docker](#using-docker)\n  - [binaries](#binaries)\n- [building from source](#building-from-source)\n  - [dependencies](#dependencies)\n  - [steps](#steps)\n- [todo](#todo)\n- [license](#license)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n\n## what's inside?\n\nA slightly modified version of Concourse, having just a single resource type ([`registry-image`](https://github.com/concourse/registry-image-resource)).\n\n\n## how does it work?\n\nFor some info on what was needed for Concourse to run on ARM, check out the [\"How does it work?\"](./docs/how-does-it-work.md) doc.\n\n\n## installing\n\n`concourse-arm` is provided in two flavors:\n\n- container images (see [\"using docker\"](#using-docker)), and\n- raw binaries (see [\"binaries\"](#binaries))\n\n\n### using docker\n\nImages are published with the `platform` already set according to the platform.\n\n```\ndocker pull cirocosta/concourse-arm:5.2.0\n```\n\nIf you need/want to be more explicit, there are also tagged versions:\n\n```\ndocker pull cirocosta/concourse-arm:5.2.0-armhf\ndocker pull cirocosta/concourse-arm:5.2.0-arm64\n```\n\nWith the image present, the standard Docker configurations that you can find under [`concourse/concourse-docker`](https://github.com/concourse/concourse-docker) apply.\n\nThe tl;dr for having a single worker that has the right keys under `/tmp/keys`:\n\n```sh\ndocker run \\\n\t\t--detach \\\n\t\t--privileged \\\n\t\t--stop-signal=SIGUSR2 \\\n\t\t--volume /tmp/keys:/concourse-keys:ro \\\n\t\tcirocosta/concourse-arm:5.2.0-arm64 \\\n\t\tworker \\\n\t\t--name=arm64 \\\n\t\t--tag=arm \\\n\t\t--tsa-host=hush-house.pivotal.io:2222\n```\n\n\n### binaries\n\nJust like you'd [install the regular AMD64 version of Concourse](https://concourse-ci.org/install.html#install), all that's needed is placing the contents of the gzipped tarball into `/usr/local`:\n\n```\ntar -zxvf concourse-*.tgz -C /usr/local\n```\n\n- [v5.2.0 armhf](https://github.com/cirocosta/concourse-arm/releases/download/v5.2.0/concourse-armhf.tgz)\n- [v5.2.0 arm64](https://github.com/cirocosta/concourse-arm/releases/download/v5.2.0/concourse-arm64.tgz)\n\n\n## building from source\n\nAll of the source code necessary for building `concourse-arm` is packed in the this repository by leveraging [git submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules).\n\n| component      | build status |\n| -------------- | ------------ |\n| builder        | ![](https://hush-house.pivotal.io/api/v1/teams/main/pipelines/concourse-arm/jobs/builder/badge) |\n| registry-image | ![](https://hush-house.pivotal.io/api/v1/teams/main/pipelines/concourse-arm/jobs/registry-image-resource/badge) |\n| concourse      | ![](https://hush-house.pivotal.io/api/v1/teams/main/pipelines/concourse-arm/jobs/concourse/badge) |\n\n\n### dependencies\n\nRegardless of the desired output (container images or binaries), the process of building the components require something that can build Dockerfiles (either Docker itself or other builders like [buildkit](https://github.com/moby/buildkit), [img](https://github.com/genuinetools/img) or anything like that).\n\nThe only hard requirement is that when building targets that require running steps that execute ARM-based binaries, the ability to run those is essential ([Docker for Mac](https://docs.docker.com/docker-for-mac/install/) makes that super easy, but a combination of `binfmt_misc` and `qemu-user-static` also works).\n\n\n### steps\n\n1. clone this repo with all submodules\n\n```\ngit clone https://github.com/cirocosta/concourse-arm --recurse-submodules -j2\n```\n\n2. build the `cirocosta/concourse-arm:(arm64|armhf)` container images\n\n```\nmake images -j4\n```\n\nIf everything went all right, this is what you'll end up with:\n\n```\nbuild\n├── arm64\n│   ├── concourse\n│   │   ├── bin\n│   │   │   ├── concourse\n│   │   │   ├── fly\n│   │   │   ├── gdn\n│   │   │   ├── gdn-dadoo\n│   │   │   ├── gdn-init\n│   │   │   └── runc\n│   │   └── resource-types\n│   │       └── registry-image\n│   │           ├── resource_metadata.json\n│   │           └── rootfs.tgz\n│   └── concourse.tgz\n└── armhf\n    ├── concourse\n    │   ├── bin\n    │   │   ├── concourse\n    │   │   ├── fly\n    │   │   ├── gdn\n    │   │   ├── gdn-dadoo\n    │   │   ├── gdn-init\n    │   │   └── runc\n    │   └── resource-types\n    │       └── registry-image\n    │           ├── resource_metadata.json\n    │           └── rootfs.tgz\n    └── concourse.tgz\n```\n\nps.: building the container images will involve generating binaries and resource types under `./build` for each supported architecture.\n\n## todo\n\nThere are few things that still need to be finished:\n\n- [ ] have `runc` running with seccomp enabled\n\n## license\n\nSee [the LICENSE file](./LICENSE).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcirocosta%2Fconcourse-arm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcirocosta%2Fconcourse-arm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcirocosta%2Fconcourse-arm/lists"}