DiamondLightSource / DiamondLightSource/crystallography-bluesky

Make a new image that installs `heliotrapi` as a dependency

Open
#72 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
0
Forks
0
Avg merge
21h 40m
Merged PRs (30d)
8

Description

To trigger analysis we need to use the `heliotrapi` client, which we can install with `pip install heliotrapi`. To do this in production we need our own image that `blueAPI` uses. e.g. see https://github.com/DiamondLightSource/mx-bluesky/blob/main/Dockerfile.blueapi. We're currently working around this by adding it into the helm chart https://gitlab.diamond.ac.uk/controls/containers/beamline/i15-services/-/blob/main/services/i15-1-blueapi/values.yaml?ref_type=heads#L96

## Acceptance Criteria
- We have our own image with `heliotrapi` installed that blueAPI uses
- We remove adding it in `i15-services`

Contributor guide

Open the contributing guide

Research direction

Start by reading the referenced Dockerfile.blueapi in mx-bluesky and the i15-services values.yaml around line 96. Build the crystallography-bluesky image with heliotrapi installed, configure blueAPI to use it, and verify that the i15-services Helm chart no longer adds the dependency.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, helm, python
Domain
devops, infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.