cloudflare / cloudflared

Cloudflare Tunnel client (formerly Argo Tunnel)
https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/tunnel-guide
Apache License 2.0
9.19k stars 811 forks source link

add support for s390x, a processor architecture. #567

Open Lemonawa opened 2 years ago

abelinkinbio commented 2 years ago

Thanks for the request. Could you tell me a little bit more about the environment you're aiming to run cloudflared in?

Lemonawa commented 2 years ago

Thanks for the request. Could you tell me a little bit more about the environment you're aiming to run cloudflared in?

this?

CPU Model          : CPU model not detected
 CPU Cores          : 3
 Total Disk         : 50.0 GB (3.3 GB Used)
 Total Mem          : 3999 MB (1309 MB Used)
 Total Swap         : 0 MB (0 MB Used)
 System uptime      : 1 days, 0 hour 0 min
 Load average       : 0.00, 0.00, 0.00
 OS                 : Ubuntu 20.04.3 LTS
 Arch               : s390x (64 Bit)
 Kernel             : 5.4.0-99-generic
 TCP CC             : cubic
 Virtualization     : Dedicated
 Organization       : AS6124 Marist College
 Location           : Poughkeepsie / US
 Region             : New York
nmldiegues commented 2 years ago

I've confirmed that cloudflared compiles for s390x linux (not sure what OS you'd have there in practice):

GOOS=linux GOARCH=s390x make cloudflared

Which OS do users of s390x typically rely upon?

ghost commented 2 years ago

I've confirmed that cloudflared compiles for s390x linux (not sure what OS you'd have there in practice):

GOOS=linux GOARCH=s390x make cloudflared

Which OS do users of s390x typically rely upon?

RedHat、Ubuntu mostly I've make a PR for you to check

nmldiegues commented 2 years ago

Which OS do users of s390x typically rely upon?

RedHat、Ubuntu mostly I've make a PR for you to check

(PR for reference https://github.com/cloudflare/cloudflared/pull/613)

I had assumed the ask was to make binaries pre-compiled available on Github releases.

That PR LGTM, approved

Lemonawa commented 2 years ago

I've confirmed that cloudflared compiles for s390x linux (not sure what OS you'd have there in practice):

GOOS=linux GOARCH=s390x make cloudflared

Which OS do users of s390x typically rely upon?

RedHat、Ubuntu mostly I've make a PR for you to check

Good. can it run successfully?