ISISComputingGroup / ISISComputingGroup/HotfixStatusChecker

Rethink architecture

Open
#8 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

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`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.