Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Update premd if new version available #92

Open

Description

@filopedraz

Description

  • Expose an endpoint GET /update-available : bool

Return True if there is a new version available for premd container.

  • Expose an endpoint POST /update-daemon

The endpoint should restart premd with the latest version.

Activity

  1. moved this to Todo in Prem Appon Jul 17, 2023
  2. self-assigned this
    on Jul 31, 2023
  3. moved this from Todo to In Progress in Prem Appon Aug 1, 2023
  4. casperdcl commented on Aug 1, 2023

    @casperdcl
    Contributor

    @nsosio as an alternative to

    gh api orgs/premai-io/packages/container/premd/versions --jq '.[0].metadata.container.tags[0]'

    (which requires a token with packages:read scope) perhaps a sneaky work-around is to parse https://github.com/premAI-io/prem-daemon/pkgs/container/premd?

    $('.Label.mr-1.mb-2.text-normal').text

    😬😅

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions