Skip to content

How should bartoc.org pick up new jskos-server releases? #278

@rodolv-commons

Description

@rodolv-commons

I learned that a new jskos-server release is not automatically picked up by bartoc.org, and this can lead to breaking changes if bartoc.org still ships an older bundled version.

I see three possible ways forward:

  1. Manual rebuild of the bartoc.org Docker image
    We can use a manual workflow button to rebuild/publish the Docker image when needed.
    I added workflow_dispatch in dev for this (only for admin users)

  2. Handle it in Dockerfile
    Another option would be to release bartoc.org update jskos-server for example something along these lines:

    ARG JSKOS_SERVER_REF=v2.4.1
    RUN git clone --depth 1 --branch ${JSKOS_SERVER_REF} https://github.com/gbv/jskos-server.git  && cd jskos-server && npm ci
  3. Longer-term solution
    I would prefer a cleaner separation: bartoc.org should not be responsible for setting up the jskos-server instance for the BARTOC ecosystem. In that setup, bartoc.org would only talk to something like jskos-server-bartoc, instead of bundling and managing it itself.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions