Open
Conversation
Owner
|
Hi @moczniak! I understand the problem! In stead of creating a fork with a hard-coded reference to the arm architecture, I would suggest you make a pull request to the original repository to add a parameter "architecture" to the source configuration, see example below: ...
image_resource:
type: registry-image
source:
repository: arm64v8/busybox
architecture: arm
...The effort should be minor since you already have the logic figured out ;-) Hope this makes sense? Robin |
Owner
|
@moczniak -- let me know if you need help, I am available for supporting you if required implementing the solution described earlier! |
|
Just here to report about this concourse/registry-image-resource#36 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
on concourse arm64 we should have ability to fetch image for arm64. So it need this fix: moczix/registry-image-resource@9f0f2f1
also i have question, is your worker on rpi is fine? i mean 7.6.0 version because my not. Here my logs when i try to do something, which works perfectly fine on 7.4.0
worker-arm_1 | {"timestamp":"2022-02-20T09:15:49.994033680Z","level":"info","source":"baggageclaim","message":"baggageclaim.api.volume-server.get-volume.get-volume.volume-not-found","data":{"session":"4.1.69.1","volume":"50db581c-abd7-497a-7dff-444b1a652993"}} worker-arm_1 | {"timestamp":"2022-02-20T09:15:49.994437028Z","level":"info","source":"baggageclaim","message":"baggageclaim.api.volume-server.get-volume.volume-not-found","data":{"session":"4.1.69","volume":"50db581c-abd7-497a-7dff-444b1a652993"}} worker-arm_1 | {"timestamp":"2022-02-20T09:15:50.851466774Z","level":"info","source":"baggageclaim","message":"baggageclaim.api.volume-server.get-volume.get-volume.volume-not-found","data":{"session":"4.1.75.1","volume":"047ddf91-4e34-43a8-6d09-eef97ba293cf"}} worker-arm_1 | {"timestamp":"2022-02-20T09:15:50.851575254Z","level":"info","source":"baggageclaim","message":"baggageclaim.api.volume-server.get-volume.volume-not-found","data":{"session":"4.1.75","volume":"047ddf91-4e34-43a8-6d09-eef97ba293cf"}} worker-arm_1 | {"timestamp":"2022-02-20T09:15:50.881867912Z","level":"info","source":"baggageclaim","message":"baggageclaim.api.volume-server.get-volume.get-volume.volume-not-found","data":{"session":"4.1.79.1","volume":"210143d4-845c-40bb-7f2b-27d993f47f85"}} worker-arm_1 | {"timestamp":"2022-02-20T09:15:50.882212186Z","level":"info","source":"baggageclaim","message":"baggageclaim.api.volume-server.get-volume.volume-not-found","data":{"session":"4.1.79","volume":"210143d4-845c-40bb-7f2b-27d993f47f85"}} worker-arm_1 | time="2022-02-20T09:15:51.023519531Z" level=info msg="starting signal loop" namespace=concourse path=/run/containerd/io.containerd.runtime.v2.task/concourse/d42ec9b0-2dae-45bf-5055-45d7080a34c6 pid=324 worker-arm_1 | time="2022-02-20T09:15:51.348914281Z" level=error msg="failed to enable controllers ([cpuset cpu io memory pids])" error="failed to write subtree controllers [cpuset cpu io memory pids] to \"/sys/fs/cgroup/garden/cgroup.subtree_control\": write /sys/fs/cgroup/garden/cgroup.subtree_control: no such file or directory" worker-arm_1 | {"timestamp":"2022-02-20T09:15:51.350766465Z","level":"info","source":"worker","message":"worker.garden.garden-server.create.created","data":{"request":{"Handle":"d42ec9b0-2dae-45bf-5055-45d7080a34c6","GraceTime":0,"RootFSPath":"raw:///worker-state/volumes/live/9fb08093-e115-44c7-69bc-388fbcb16fa8/volume/rootfs","BindMounts":[{"src_path":"/worker-state/volumes/live/b9ea2c13-50bd-4350-72e5-f17545f62bba/volume","dst_path":"/scratch","mode":1},{"src_path":"/worker-state/volumes/live/210143d4-845c-40bb-7f2b-27d993f47f85/volume","dst_path":"/tmp/build/4564f7bc","mode":1},{"src_path":"/worker-state/volumes/live/50db581c-abd7-497a-7dff-444b1a652993/volume","dst_path":"/repo-source","mode":1},{"src_path":"/worker-state/volumes/live/047ddf91-4e34-43a8-6d09-eef97ba293cf/volume","dst_path":"/tmp/build/4564f7bc/git-commit","mode":1}],"Network":"","Privileged":false,"Limits":{"bandwidth_limits":{},"cpu_limits":{},"disk_limits":{},"memory_limits":{},"pid_limits":{}}},"session":"1.2.24"}} worker-arm_1 | {"timestamp":"2022-02-20T09:15:51.416541023Z","level":"info","source":"worker","message":"worker.garden.garden-server.get-properties.got-properties","data":{"handle":"d42ec9b0-2dae-45bf-5055-45d7080a34c6","session":"1.2.25"}} worker-arm_1 | {"timestamp":"2022-02-20T09:15:51.427560609Z","level":"error","source":"worker","message":"worker.garden.garden-server.attach.failed","data":{"error":"load proc: no running process found: process does not exist task: not found","handle":"d42ec9b0-2dae-45bf-5055-45d7080a34c6","session":"1.2.26"}} worker-arm_1 | {"timestamp":"2022-02-20T09:15:51.436376589Z","level":"info","source":"worker","message":"worker.garden.garden-server.get-properties.got-properties","data":{"handle":"d42ec9b0-2dae-45bf-5055-45d7080a34c6","session":"1.2.27"}} worker-arm_1 | {"timestamp":"2022-02-20T09:15:51.620365700Z","level":"info","source":"worker","message":"worker.garden.garden-server.run.spawned","data":{"handle":"d42ec9b0-2dae-45bf-5055-45d7080a34c6","id":"task","session":"1.2.28","spec":{"Path":"sh","Dir":"/tmp/build/4564f7bc","User":"","Limits":{},"TTY":{"window_size":{"columns":500,"rows":500}}}}} worker-arm_1 | {"timestamp":"2022-02-20T09:15:51.630545258Z","level":"info","source":"worker","message":"worker.garden.garden-server.run.exited","data":{"handle":"d42ec9b0-2dae-45bf-5055-45d7080a34c6","id":"task","session":"1.2.28","status":159}}when im readed about it, it seems to do something with: docker/for-mac#6073 (comment)