Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix multiarch support to be consistent with the way che-dashbord does it #99

Merged
merged 2 commits into from
Sep 18, 2023

Conversation

nickboldt
Copy link
Contributor

@nickboldt nickboldt commented Sep 18, 2023

What does this PR do?

chore: fix multiarch support to be consistent with the way che-dashbord does it

Change-Id: I99b2b296a5242855ffe7d39df1c622c846e36330
Signed-off-by: Nick Boldt [email protected]

Screenshot/screencast of this PR

N/A

What issues does this PR fix or reference?

eclipse-che/che#21988

How to test this PR?

N/A

PR Checklist

As the author of this Pull Request I made sure that:

Reviewers

Reviewers, please comment how you tested the PR when approving it.

…rd does it

Change-Id: I99b2b296a5242855ffe7d39df1c622c846e36330
Signed-off-by: Nick Boldt <[email protected]>
Change-Id: I563eef297041c6727da2c3ba59c3fbd11070cb02
Signed-off-by: Nick Boldt <[email protected]>
@nickboldt nickboldt merged commit e115d83 into main Sep 18, 2023
@devstudio-release
Copy link

Build 3.10 :: configbump_3.x/119: Console, Changes, Git Data

@nickboldt nickboldt changed the title chore: fix multiarch support to be... chore: fix multiarch support to be consistent with the way che-dashbord does it Sep 18, 2023
@nickboldt
Copy link
Contributor Author

reason for this change:

2023-09-18T12:58:17.2632998Z #29 [linux/amd64->arm64 builder 11/11] RUN env $(cat /tmp/.env | xargs) go build -a -ldflags '-w -s' -a -installsuffix cgo -o configbump cmd/configbump/main.go
2023-09-18T12:58:17.2633922Z #29 ERROR: process "/bin/sh -c env $(cat /tmp/.env | xargs) go build -a -ldflags '-w -s' -a -installsuffix cgo -o configbump cmd/configbump/main.go" did not complete successfully: exit code: 2
2023-09-18T12:58:17.2819053Z ------
2023-09-18T12:58:17.2819817Z  > [linux/amd64->arm64 builder 11/11] RUN env $(cat /tmp/.env | xargs) go build -a -ldflags '-w -s' -a -installsuffix cgo -o configbump cmd/configbump/main.go:
2023-09-18T12:58:17.2820369Z 3.837 gcc_arm64.S:51: Error: too many memory references for `mov'
2023-09-18T12:58:17.2820778Z 3.837 gcc_arm64.S:52: Error: too many memory references for `mov'
2023-09-18T12:58:17.2821158Z 3.837 gcc_arm64.S:54: Error: no such instruction: `blr x20'
2023-09-18T12:58:17.2821522Z 3.837 gcc_arm64.S:55: Error: no such instruction: `blr x19'
2023-09-18T12:58:17.2821901Z 3.837 gcc_arm64.S:57: Error: no such instruction: `ldp x27,x28,[sp,'
2023-09-18T12:58:17.2822292Z 3.837 gcc_arm64.S:60: Error: no such instruction: `ldp x25,x26,[sp,'
2023-09-18T12:58:17.2822670Z 3.837 gcc_arm64.S:63: Error: no such instruction: `ldp x23,x24,[sp,'
2023-09-18T12:58:17.2823047Z 3.837 gcc_arm64.S:66: Error: no such instruction: `ldp x21,x22,[sp,'
2023-09-18T12:58:17.2823432Z 3.837 gcc_arm64.S:69: Error: no such instruction: `ldp x19,x20,[sp,'
2023-09-18T12:58:17.2823818Z 3.837 gcc_arm64.S:72: Error: no such instruction: `ldp x29,x30,[sp],'
2023-09-18T12:58:17.2824457Z ------
2023-09-18T12:58:17.2845445Z build/dockerfiles/Dockerfile:51
2023-09-18T12:58:17.2873956Z --------------------
2023-09-18T12:58:17.2874548Z   49 |     
2023-09-18T12:58:17.2874939Z   50 |     ARG VERSION=dev
2023-09-18T12:58:17.2876074Z   51 | >>> RUN env $(cat /tmp/.env | xargs) go build -a -ldflags '-w -s' -a -installsuffix cgo -o configbump cmd/configbump/main.go
2023-09-18T12:58:17.2876704Z   52 |     
2023-09-18T12:58:17.2955229Z   53 |     FROM --platform=${TARGETPLATFORM:-linux/amd64} docker.io/alpine:3.12
2023-09-18T12:58:17.2955623Z --------------------
2023-09-18T12:58:17.2956890Z ERROR: failed to solve: process "/bin/sh -c env $(cat /tmp/.env | xargs) go build -a -ldflags '-w -s' -a -installsuffix cgo -o configbump cmd/configbump/main.go" did not complete successfully: exit code: 2
2023-09-18T12:58:17.3142278Z ##[error]buildx failed with: ERROR: failed to solve: process "/bin/sh -c env $(cat /tmp/.env | xargs) go build -a -ldflags '-w -s' -a -installsuffix cgo -o configbump cmd/configbump/main.go" did not complete successfully: exit code: 2

when trying to use another multiarch solution

@devstudio-release
Copy link

Build 3.10 :: configbump_3.x/118: Console, Changes, Git Data

@devstudio-release
Copy link

@devstudio-release
Copy link

Build 3.10 :: configbump_3.x/118: UNSTABLE

Upstream sync done; No sync or Brew build

@devstudio-release
Copy link

@devstudio-release
Copy link

@devstudio-release
Copy link

@devstudio-release
Copy link

@devstudio-release
Copy link

Build 3.10 :: configbump_3.x/119: SUCCESS

Upstream sync done; /DS_CI/sync-to-downstream_3.x/4632 triggered

@devstudio-release
Copy link

@devstudio-release
Copy link

@devstudio-release
Copy link

@devstudio-release
Copy link

@devstudio-release
Copy link

Build 3.10 :: copyIIBsToQuay/1896: Console, Changes, Git Data

@devstudio-release
Copy link

Build 3.10 :: sync-to-downstream_3.x/4633: SUCCESS

Build container: devspaces-operator-bundle synced; /DS_CI/get-sources-rhpkg-container-build_3.x/4423 triggered; /job/DS_CI/job/dsc_3.x triggered;

@devstudio-release
Copy link

Build 3.10 :: operator-bundle_3.x/2053: SUCCESS

Upstream sync done; /DS_CI/sync-to-downstream_3.x/4633 triggered

@devstudio-release
Copy link

Build 3.10 :: dsc_3.x/1359: Console, Changes, Git Data

@devstudio-release
Copy link

Build 3.10 :: update-digests_3.x/4308: SUCCESS

Detected new images: rebuild operator-bundle
* configbump; /DS_CI/operator-bundle_3.x/2053 triggered

@devstudio-release
Copy link

Build 3.10 :: dsc_3.x/1359: SUCCESS

3.10.0 CI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants