Skip to content

Rethink architecture #8

@rerpha

Description

@rerpha

I think that rather than ssh'ing into an instrument to check its git status, we should host a REST API which presents it without auth.

This would make the jenkins job a bit more secure and simpler.

Consider using something like https://fastapi.tiangolo.com/ which runs the commands in https://github.com/ISISComputingGroup/HotfixStatusChecker/blob/master/utils/hotfix_utils/InstrumentChecker.py on the server-side, which runs a service (under procserv?) and responds to a call like

GET GITSTATUS - > output of git status --porcelain

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