Magic-Pod/magicpod-api-client

[Feat]: Provide linux-arm64 binary in GitHub Releases

Closed this issue · 4 comments

int128 commented

Is your feature request related to a problem? Please describe.
We use the self-hosted runners of arm64 architecture in GitHub Actions. Currently, this project does not provide linux-arm64 binary.

Describe the solution you'd like
It would be nice if linux-arm64 binary is provided.

Thanks.

@int128 Thank you for your request and sorry for our late response. We're going to handle it in a couple of weeks.

Since the latest release 1.2.0.1, we started to provide linux-arm64 binary. Please try it.

I'm closing this issue.

Since MagicPod 1.3.0, you can download magicpod-api-client linux arm64 binary by Web API.
Please try the following commands.

export MAGICPOD_API_TOKEN=[YOUR_API_TOKEN]
export FILE_NAME=magicpod-api-client
curl -L "https://app.magicpod.com/api/v1.0/magicpod-clients/api/linux_arm64/latest/" -H "Authorization: Token ${MAGICPOD_API_TOKEN}" --output ${FILE_NAME}.zip

@nkns165 I confirmed the new release works in our arm64 runner. Thanks a lot!

jobs:
  run-magic-pod:
    runs-on: my-arm64-runner
    steps:
      - run: |
          curl -L "https://app.magicpod.com/api/v1.0/magicpod-clients/api/linux_arm64/latest/" -H "Authorization: Token ${MAGICPOD_API_TOKEN}" --output magicpod-api-client.zip
          unzip -q magicpod-api-client.zip
        env:
          MAGICPOD_API_TOKEN: ${{ secrets.MAGICPOD_API_TOKEN }}
      - run: ./magicpod-api-client batch-run --help