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

ci: fix arm64 #107

Merged
merged 1 commit into from
Apr 16, 2024
Merged

ci: fix arm64 #107

merged 1 commit into from
Apr 16, 2024

Conversation

Yu-Jack
Copy link
Collaborator

@Yu-Jack Yu-Jack commented Apr 15, 2024

Related Issue: harvester/harvester#5327

In my mac:

# This is built from gtihub action runner

$ docker run -d jk82421/support-bundle-kit:pull-4 sleep 3600
311a36435cf889f0d33db0b8270e8faaf87beddb2417bd8ef83f2a876670d228

$ docker exec 311a36435cf8 /usr/bin/support-bundle-kit version
202f37a (202f37a)

$ docker cp 311a36435cf889f0d33db0b8270e8faaf87beddb2417bd8ef83f2a876670d228:/usr/bin/support-bundle-kit /tmp
Successfully copied 128MB to /tmp

$ file /tmp/support-bundle-kit
/tmp/support-bundle-kit: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, Go BuildID=6ZEPFoNEv2DISxl2ERsU/TkiuAlNxM_jW_R340fl0/vh3jqz2fndUQy1JO7M3X/8b7mpsU2ia7AD2rGE0lr, stripped

# in my m1 mac
$ /tmp/support-bundle-kit
zsh: exec format error: /tmp/support-bundle-kit

$ orb push /tmp/support-bundle-kit

#  in ubuntu arm64
$ orb -m ubuntu-arm64
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

root@ubuntu-arm64:/Users/home$ cd
root@ubuntu-arm64:~$ ./support-bundle-kit version
202f37a (202f37a)
root@ubuntu-arm64:~$

In my linux laptop:

$docker run -d jk82421/support-bundle-kit:pull-4 sleep 3600
df60744044cc6a40503b04ce40f9fad7708a70101b88e6ff30b6da3e142cb851

$ docker exec df60744044cc6a40503b04ce40f9fad7708a70101b88e6ff30b6da3e142cb851 /usr/bin/support-bundle-kit version
202f37a (202f37a)

$ docker cp df60744044cc6a40503b04ce40f9fad7708a70101b88e6ff30b6da3e142cb851:/usr/bin/support-bundle-kit /tmp
Successfully copied 135MB to /tmp

$ file /tmp/support-bundle-kit
/tmp/support-bundle-kit: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=YMglQDLDtYNXew7zpsyD/i3Ckn_KizVFBzxxDzBN6/xl-eWAiPfNlyOUG8mMZ2/1xfcwZIsSgI4BInBDG_j, stripped

@Yu-Jack Yu-Jack self-assigned this Apr 15, 2024
@Yu-Jack Yu-Jack force-pushed the feat-5372-arm-02 branch 2 times, most recently from f271c12 to 1363083 Compare April 15, 2024 09:32
@Yu-Jack Yu-Jack requested a review from bk201 April 15, 2024 09:56
Signed-off-by: Jack Yu <jack.yu@suse.com>
Copy link
Collaborator

@ibrokethecloud ibrokethecloud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. thanks.

@bk201 bk201 merged commit 8a2158d into rancher:master Apr 16, 2024
1 check passed
@Yu-Jack
Copy link
Collaborator Author

Yu-Jack commented Apr 16, 2024

@FrankYang0529 you could check this PR, after @ibrokethecloud and I tested, we could just use make ci without using image: rancher/dapper:v0.5.8.

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.

None yet

3 participants