ConcourseCI on ARM64

Concourse is an open-source continuous thing-doer.

Built on the simple mechanics of resources, tasks, and jobs, Concourse presents a general approach to automation that makes it great for CI/CD.

# add Concourse bin folder to $PATH (Fish shell)
$ set -x PATH $CONCOURSE_FOLDER/bin $PATH
$ concourse generate-key -t rsa -f ./keys/session_signing_key
$ concourse generate-key -t ssh -f ./keys/tsa_host_key
$ concourse generate-key -t ssh -f ./keys/worker_key
$ cp keys/worker_key.pub keys/authorized_worker_keys
$ wget https://concourse-ci.org/docker-compose.yml
$ docker-compose up
{"timestamp":"2021-01-20T09:25:20.847820026Z","level":"info","source":"tsa","message":"tsa.connection.channel.command.register.done","data":{"command":"forward-worker","remote":"192.168.0.232:40650","session":"46.4.1.2","worker-address":"127.0.0.1:32805","worker-platform":"linux","worker-tags":""}}
$ fly -t tutorial login -c http://web-node:8080 -u user -p password$ fly -t tutorial workers -d
name containers platform tags team state version age garden address baggageclaim url active tasks resource types
arm64-worker 0 linux none none running 2.2 1m29s 127.0.0.1:32805 http://127.0.0.1:36665 0 registry-image
$ fly -t tutorial execute -c concourse-task-hello-world.yml
executing build 51 at http://127.0.0.1:8080/builds/51
initializing
selected worker: arm64-worker
running echo hello world
hello world
succeeded
$ bash concourse-execute-pipeline.sh
Concourse API target tutorial
Tutorial basic-pipeline
~/git/concourse-tutorial/tutorials/basic/basic-pipeline ~
jobs:
job job-hello-world has been added:
+ name: job-hello-world
+ plan:
+ - config:
+ image_resource:
+ source:
+ repository: arm64v8/busybox
+ tag: latest
+ type: registry-image
+ platform: linux
+ run:
+ args:
+ - hello pipeline
+ path: echo
+ tags:
+ - aarch64
+ task: hello-world
+ public: true

pipeline created!
you can view your pipeline here: http://127.0.0.1:8080/teams/main/pipelines/tutorial-pipeline
the pipeline is currently paused. to unpause, either:
- run the unpause-pipeline command:
fly -t tutorial unpause-pipeline -p tutorial-pipeline
- click play next to the pipeline in the web ui
unpaused 'tutorial-pipeline'
started tutorial-pipeline/job-hello-world #1
initializing
selected worker: arm64-worker
running echo hello pipeline
hello pipeline
succeeded

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store