Re: [lime] How to test limeapp development versions

このメッセージを削除

このメッセージに返信
著者: Selan Kon
日付:  
To: libremesh
題目: Re: [lime] How to test limeapp development versions


pony via LibreMesh:
> Hi!
>
> On Friday, 16 February 2024 09:01:13 CET Selan Kon via LibreMesh wrote:
>> # Use Github actions generated artifacts
>>
>> If a PR contains the label `artifacts` a github action will run to build
>> the app and publish the artifacts url on a comment on the PR itself.
>>
>> After download this artifacts you should send it to the router you want
>> to test as shown below.
>
> I can't download the artifact. For example when I click on the link in
> https://github.com/libremesh/lime-app/pull/388#issuecomment-1947866117
> I get
> {
>    "total_count": 1,
>    "artifacts": [
>      {
>        "id": 1250439207,
>        "node_id": "MDg6QXJ0aWZhY3QxMjUwNDM5MjA3",
>        "name": "limeAppBuild",
>        "size_in_bytes": 209143,
>        "url": "https://api.github.com/repos/libremesh/lime-app/actions/artifacts/1250439207",
>        "archive_download_url": "https://api.github.com/repos/libremesh/lime-app/actions/artifacts/1250439207/zip",
>        "expired": false,
>        "created_at": "2024-02-16T07:12:38Z",
>        "updated_at": "2024-02-16T07:12:38Z",
>        "expires_at": "2024-05-16T07:08:52Z",
>        "workflow_run": {
>          "id": 7927228722,
>          "repository_id": 79859391,
>          "head_repository_id": 455488360,
>          "head_branch": "f/implement_new_landing",
>          "head_sha": "31bb81c951dced9b07f10cc2d1ae39e813007bd3"
>        }
>      }
>    ]
> }
> Then, when I click on the "archive_download_url", I get
> {
>    "message": "You must have the actions scope to download artifacts.",
>    "documentation_url": "https://docs.github.com/rest/actions/artifacts#download-an-artifact"
> }
> It seems I do not have the necessary privileges?


Hi

Now the artifact url should be fixed... hopefully...

FTR it happen that the previous url should be used using GH token (for
example, inside actions context).

I did a fix on the action that fixes this, is little ugly but will work
for now. I didn't find a easier way to get the artifact id to create the
artifact url...

>
> On Friday, 16 February 2024 09:01:13 CET Selan Kon via LibreMesh wrote:
>> ```
>> nvm use v16.20.0
>> ```
>>
>> 3. Install dependencies
>>
>> ```
>> yarn
>> ```
>
> I have trouble with installing the dependencies. I get the following error:
>
> [2/4] Fetching packages...
> error commander@12.0.0: The engine "node" is incompatible with this module. Expected version ">=18". Got "16.20.0"
> error Found incompatible module.
>
> With node v18.19.1 it builds fine. But you say that lime-app will crash with node version > 16?
>
> Liebst,
> Pony
>


mm this is odd. I have to look further on the issue I have locally, and
why to some of you the node version 16 is not working..

I'll ping back as soon i understand what is going on there.

Thanks for testing! :)

Is strange because the actions are building with node version 16.. Which
branch are you on?

byebye!