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

fix: transform uname arch into valid Go arch #1505

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

hiddeco
Copy link
Contributor

@hiddeco hiddeco commented Feb 21, 2024

On an AMD64 system, uname -m will return x86_64 instead of the Go accepted amd64. Detect when this is returned (or provided), and overwrite it with the correct value.

This ensures the build-cli Make target actually works on AMD64 Linux systems.

On an AMD64 system, `uname -m` will return `x86_64` instead of the
Go accepted `amd64`. Detect when this is returned (or provided),
and overwrite it with the correct value.

This ensures the `build-cli` Make target actually works on AMD64
Linux systems.

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
@hiddeco hiddeco requested a review from a team as a code owner February 21, 2024 13:13
Copy link

netlify bot commented Feb 21, 2024

Deploy Preview for docs-kargo-akuity-io ready!

Name Link
🔨 Latest commit 008ef71
🔍 Latest deploy log https://app.netlify.com/sites/docs-kargo-akuity-io/deploys/65d5f6f20097760008f8b7ad
😎 Deploy Preview https://deploy-preview-1505.kargo.akuity.io
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@krancour
Copy link
Member

Nice catch. We accounted for this in CLI installation docs and missed it here.

Copy link
Member

@krancour krancour left a comment

Choose a reason for hiding this comment

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

lgtm

@krancour krancour added this to the v0.5.0 milestone Feb 21, 2024
@hiddeco hiddeco added this pull request to the merge queue Feb 21, 2024
Merged via the queue into akuity:main with commit aafddcc Feb 21, 2024
17 checks passed
@hiddeco hiddeco deleted the fix-make-goarch branch February 21, 2024 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants