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

Binary target linux-arm64 is missing #560

Closed
dotansimha opened this issue Jan 29, 2025 · 8 comments · Fixed by #561
Closed

Binary target linux-arm64 is missing #560

dotansimha opened this issue Jan 29, 2025 · 8 comments · Fixed by #561
Assignees

Comments

@dotansimha
Copy link
Member

Continue from #558 (comment)

@ardatan
Copy link
Member

ardatan commented Jan 29, 2025

Could you test this? @fhaertig
#561 (comment)

@fhaertig
Copy link

Hi, download seems to be successful now, thanks!

RUN curl -sSL https://graphql-hive.com/install-gateway.sh --output-dir /gatewaay | sh 24.9s => => # Version not provided. Retrieving the latest version... => => # Using version: 1.8.1 => => # Downloading hive-gateway from https://github.com/graphql-hive/gateway/releases/download/hive-gateway%401.8.1/hive-gateway-Linux-X64.gz ... => => # Unzipping ./hive-gateway-Linux-X64.gz...

@ardatan
Copy link
Member

ardatan commented Jan 29, 2025

#558 (comment)
This issue was about missing encoding.
But then you said ARM64 was missing in this comment; #558 (comment)
which has been addressed in this issue;
#560
And in my comment, I actually asked you to try AMD64 binary :)

So just wanted to confirm which one is the issue, because in your last comment, you use Linux-x64.

So is your issue the lack of Linux-amd64 binary or the encoding?

@fhaertig
Copy link

Good catch, I temporarily switched to --platform linux/amd64 builds in the meantime. My bad.

So the arm64 linux version still seems to be not available:

[6/6] RUN curl -sSL https://graphql-hive.com/install-gateway.sh | sh: 2.514 Version not provided. Retrieving the latest version... 3.340 Using version: 1.8.1 3.341 Downloading hive-gateway from https://github.com/graphql-hive/gateway/releases/download/hive-gateway%401.8.1/hive-gateway-Linux-ARM64.gz ... 4.548 curl: (22) The requested URL returned error: 404 4.550 Download failed: https://github.com/graphql-hive/gateway/releases/download/hive-gateway%401.8.1/hive-gateway-Linux-ARM64.gz

I can see the macos arm64 version in the 1.8.1 release, though

@ardatan
Copy link
Member

ardatan commented Jan 29, 2025

That's why I wanted to see if yhis alpha build here not the script works for you;
#561 (comment)

@fhaertig
Copy link

Not sure how you expect me to test it... If you mean download it manually and use it - yes, this works. The real test would still be if the script can download it. Sorry but it's a bit unclear to me what is actually now merged and what is still in alpha.

@ardatan
Copy link
Member

ardatan commented Jan 30, 2025

@fhaertig I just wanted to see if the built binary is working for you until we cut a release. Thanks! I'll ping here once we released it.

@dotansimha
Copy link
Member Author

@fhaertig You should be able to use it now with version @graphql-hive/[email protected]. Thanks for the feedback!

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

Successfully merging a pull request may close this issue.

3 participants