Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up order of deploying #693

Closed
wants to merge 1 commit into from
Closed

Conversation

DominicOram
Copy link
Contributor

Fixes ##692

To test:

  • Do a full deployment based on the instructions
  • Or just trust my reasoning on the issue ;)

@DominicOram DominicOram marked this pull request as ready for review November 29, 2024 15:12
Copy link

codecov bot commented Nov 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.44%. Comparing base (8cdfcda) to head (e3230d2).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #693   +/-   ##
=======================================
  Coverage   86.44%   86.44%           
=======================================
  Files         102      102           
  Lines        6937     6937           
=======================================
  Hits         5997     5997           
  Misses        940      940           
Components Coverage Δ
i24 SSX 71.94% <ø> (ø)
hyperion 96.84% <ø> (ø)
other 94.15% <ø> (ø)

@rtuck99 rtuck99 force-pushed the 692_fixes_from_testing branch from 835f749 to e3230d2 Compare December 3, 2024 11:30
@@ -53,5 +53,5 @@ For building and deploying a Docker image please see :doc:`../../hyperion/deploy
.. code:: console

. ./.venv/bin/activate
pip install -e .
pip install -e ../dodal
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is wrong and will result in the reverse of what you want.
If you pip install -e ., this will install an editable version of mx-bluesky from the local git folder, however it will also install a non-editable version of dls-dodal from pypi, overriding the editable version previously installed

Because our deployments are based on editable versions of the folder, we want to install mx-bluesky first and dls-dodal second.

@rtuck99 rtuck99 closed this Dec 3, 2024
@rtuck99
Copy link
Contributor

rtuck99 commented Dec 3, 2024

PR rejected due to above reasoning

@rtuck99 rtuck99 mentioned this pull request Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants