Skip to content

Add an architecture-detecting installer for the latest packages #130

Description

@renecannao

Why

There is no generic install script that detects the host architecture and installs the latest orchestrator, orchestrator-cli, or orchestrator-client package.

Current install docs (docs/install.md) only show a manual download of a named .deb / .rpm / tarball. CI and Dockerfiles therefore hardcode a version and an architecture.

That is what happened in ProxySQL: test/infra/docker-base/Dockerfile wget's

https://github.com/proxysql/orchestrator/releases/download/v4.31.1/orchestrator-client_4.31.1_amd64.deb

Building proxysql-ci-base on arm64 fails with:

package architecture (amd64) does not match system (arm64)

The packages themselves already exist for both architectures (e.g. orchestrator-client_4.32.0_amd64.deb and orchestrator-client_4.32.0_arm64.deb). What is missing is an installer.

script/bootstrap is a Go build helper, not a package installer.

Request

Please add an install script (something that can be used as curl ... | bash) that:

  1. Detects amd64 vs arm64 (and .deb vs .rpm if reasonable).
  2. Installs the latest release of the chosen package (orchestrator / orchestrator-cli / orchestrator-client).
  3. Is documented from docs/install.md.

Until that exists, consumers have to hardcode version + arch, which is what we want to stop doing.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions