You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/04/28 13:48:58 UTC
[GitHub] [apisix] juzhiyuan opened a new issue #4156: Could GitHub Action support running CI on ARM?
juzhiyuan opened a new issue #4156:
URL: https://github.com/apache/apisix/issues/4156
### Issue description
GitHub Actions makes it easier to automate builds test, and deploy developer workflow for projects on any OS, language, and cloud. But does it support running CI on ARM-based hardware?
### Environment
* apisix version (cmd: `apisix version`):
* OS (cmd: `uname -a`):
* OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
* etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
* apisix-dashboard version, if have:
* luarocks version, if the issue is about installation (cmd: `luarocks --version`):
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] tao12345666333 commented on issue #4156: Could GitHub Action support running CI on ARM?
Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #4156:
URL: https://github.com/apache/apisix/issues/4156#issuecomment-839411550
> I think you can do this in your fork repo instead of apache/apisix.
But if you do this, all the tests have to be synchronized in the forked repo and run?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] Yiyiyimu commented on issue #4156: Could GitHub Action support running CI on ARM?
Posted by GitBox <gi...@apache.org>.
Yiyiyimu commented on issue #4156:
URL: https://github.com/apache/apisix/issues/4156#issuecomment-840029599
> But if you do this, all the tests have to be synchronized in the forked repo and run?
I guess Ming means we'll move ARM test from the forked repo to the main repo after it runs as expected.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] Yiyiyimu commented on issue #4156: Could GitHub Action support running CI on ARM?
Posted by GitBox <gi...@apache.org>.
Yiyiyimu commented on issue #4156:
URL: https://github.com/apache/apisix/issues/4156#issuecomment-839388354
> Build arm image ref: apache/apisix-docker#165
Good to know that!
> we cannot use non-official actions
Actually we are allowed to do so with git submodule. And as you said, the larger problem might be the performance loss, so maybe we could wait for an arm64 instance first 😁
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] tao12345666333 commented on issue #4156: Could GitHub Action support running CI on ARM?
Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #4156:
URL: https://github.com/apache/apisix/issues/4156#issuecomment-839381788
@Yiyiyimu hi, this issue is divided into two parts
* Build arm image ref: https://github.com/apache/apisix-docker/pull/165 (I will fix it later)
* Allow CI to run in the arm environment. I saw this before https://github.com/marketplace/actions/run-on-architecture#supported-platforms
But just like https://github.com/apache/apisix-docker/pull/165#issuecomment-828892611, we cannot use non-official actions.
If we directly use the arm instance, things will be simpler.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] moonming commented on issue #4156: Could GitHub Action support running CI on ARM?
Posted by GitBox <gi...@apache.org>.
moonming commented on issue #4156:
URL: https://github.com/apache/apisix/issues/4156#issuecomment-839396368
> > Could we create an AWS account for it
>
> cc @moonming
I think you can do this in your fork repo instead of apache/apisix.
what do you think?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] juzhiyuan commented on issue #4156: Could GitHub Action support running CI on ARM?
Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #4156:
URL: https://github.com/apache/apisix/issues/4156#issuecomment-839382262
> Could we create an AWS account for it
cc @moonming
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] moonming commented on issue #4156: Could GitHub Action support running CI on ARM?
Posted by GitBox <gi...@apache.org>.
moonming commented on issue #4156:
URL: https://github.com/apache/apisix/issues/4156#issuecomment-839411432
yes
Thanks,
Ming Wen
Twitter: _WenMing
Shuyang Wu ***@***.***> 于2021年5月12日周三 上午11:46写道:
> I think you can do this in your fork repo instead of apache/apisix.
> what do you think?
>
> Hi @moonming <https://github.com/moonming> Do you mean to test it in the
> forked repo before applying it to the main repo? If that's it, I could try
> to test it with my own AWS account at first.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/apache/apisix/issues/4156#issuecomment-839410264>, or
> unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AGJZBK564ZGPAES6TC7AOT3TNH2ZNANCNFSM43XD7KJQ>
> .
>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] Yiyiyimu edited a comment on issue #4156: Could GitHub Action support running CI on ARM?
Posted by GitBox <gi...@apache.org>.
Yiyiyimu edited a comment on issue #4156:
URL: https://github.com/apache/apisix/issues/4156#issuecomment-839349447
Hi @tao12345666333 do you got any progress these days
I tried to look into this problem and failed to find the optimal choice. Here's what I found:
1. First of all, Github Actions have not and seems not to support arm machine as of Service in near future. It seems qemu could be a feasible plan but I can't find people really using it in this kind of situation, and qemu would definitely introduce quite much performance loss when running test, so I guess it might not work
2. Of course Github Actions support self-hosted runner, but unluckily Azure does not support arm-based VM, so does GCP. AWS have ["graviton instance"](https://aws.amazon.com/ec2/graviton/?nc1=h_ls) which is basically arm64 EC2. But since do not have an official AWS account, we might need extra effort for using it.
3. Since Azure is our primary cloud platform and with the help of Microsoft trying to import Azure into Github, Azure pipeline is also a good choice. And the good news is Azure pipeline [announced](https://azure.microsoft.com/en-us/updates/azure-devops-pipelines-introduces-support-for-linuxarm64/) supports arm64. But unluckily I couldn't find any docs about how to enable it (find some others also complained about this..). But since we could find envoy is [using it for arm CI](https://www.cncf.io/blog/2020/08/12/cncf-project-envoy-enables-arm64-ci-using-azure-pipelines/), I have totally no idea about it.
---
Just noticed Envoy's article tells they are also using AWS graviton2 instance, so maybe that's the only choice.. 😢
@juzhiyuan Could we create an AWS account for it
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] tao12345666333 commented on issue #4156: Could GitHub Action support running CI on ARM?
Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #4156:
URL: https://github.com/apache/apisix/issues/4156#issuecomment-828471303
/assign
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] Yiyiyimu commented on issue #4156: Could GitHub Action support running CI on ARM?
Posted by GitBox <gi...@apache.org>.
Yiyiyimu commented on issue #4156:
URL: https://github.com/apache/apisix/issues/4156#issuecomment-839349447
Hi @tao12345666333 do you got any progress these days
I tried to look into this problem and failed to find the optimal choice. Here's what I found:
1. First of all, Github Actions have not and seems not to support arm machine as of Service in near future. It seems qemu could be a feasible plan but I can't find people really using it in this kind of situation, and qemu would definitely introduce quite much performance lost when running test, so I **guess** it might not work
2. Of course Github Actions support self-hosted runner, but unluckily Azure does not support arm based VM, so does GCP. AWS have ["graviton processor"](https://aws.amazon.com/ec2/graviton/?nc1=h_ls) which is basically arm64 EC2. But since do not have official AWS account, we might need extra efforts for using it.
3. Since Azure is our primary cloud platform and with the help of Microsoft trying to import Azure into Github, Azure pipeline is also a good choice. And a good news is Azure pipeline [announced](https://azure.microsoft.com/en-us/updates/azure-devops-pipelines-introduces-support-for-linuxarm64/) it supports arm64. But unluckily I couldn't find any docs about how to enable it (find some other also complained about this..). But since we could find envoy is [using it for arm CI](https://www.cncf.io/blog/2020/08/12/cncf-project-envoy-enables-arm64-ci-using-azure-pipelines/), I have totally no idea about it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] Yiyiyimu commented on issue #4156: Could GitHub Action support running CI on ARM?
Posted by GitBox <gi...@apache.org>.
Yiyiyimu commented on issue #4156:
URL: https://github.com/apache/apisix/issues/4156#issuecomment-839410264
> I think you can do this in your fork repo instead of apache/apisix.
> what do you think?
Hi @moonming Do you mean to test it in the forked repo before applying it to the main repo? If that's it, I could try to test it with my own AWS account at first.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org