Skip to content

fixing up docker issues from dev environment #109

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

Closed
wants to merge 1 commit into from

Conversation

neildsouth
Copy link
Contributor

Signed-off-by: Neil South [email protected]

Description

Fixes # .

A few issues including adding in plug-in's and also a /database/ folder to the docker image

Status

Ready

Types of changes

  • [ x] Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • New tests added to cover the changes.
  • All tests passed locally.
  • Documentation comments included/updated.
  • User guide updated.
  • I have updated the changelog

@codecov
Copy link

codecov bot commented Aug 1, 2022

Codecov Report

Merging #109 (8a27918) into develop (b9b2112) will increase coverage by 0.02305%.
The diff coverage is 100.00000%.

Impacted file tree graph

@@                 Coverage Diff                 @@
##             develop        #109         +/-   ##
===================================================
+ Coverage   93.62118%   93.64423%   +0.02304%     
===================================================
  Files            222         222                 
  Lines          13294       13295          +1     
  Branches         702         702                 
===================================================
+ Hits           12446       12450          +4     
+ Misses           615         612          -3     
  Partials         233         233                 
Flag Coverage Δ
unittests 93.64423% <100.00000%> (+0.02304%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/InformaticsGateway/Program.cs 92.15686% <100.00000%> (+0.07764%) ⬆️
...Test/Services/Storage/SpaceReclaimerServiceTest.cs 94.79167% <0.00000%> (-2.08334%) ⬇️
...sGateway/Services/Storage/SpaceReclaimerService.cs 75.60976% <0.00000%> (+2.43902%) ⬆️
...icsGateway/Services/Connectors/PayloadAssembler.cs 87.50000% <0.00000%> (+3.75000%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b9b2112...8a27918. Read the comment docs.

@@ -3,7 +3,7 @@
"Monai.Deploy.InformaticsGateway": {
"commandName": "Project",
"environmentVariables": {
"DOTNET_ENVIRONMENT": "Development"
"DOTNET_ENVIRONMENT": "Local"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Any difference between using Local vs Development?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just in MWM tests were/are using appsetting.development.json to read settings from (bad Idea!) so making a copy of it and using that for local development only was my solution (as my machine has services running on different ports)
happy to revert this file, if you think thats best

@mocsharp
Copy link
Collaborator

mocsharp commented Aug 1, 2022

Please do not merge until #98 is merged & release/0.2.0 branch is created.

@@ -47,6 +47,8 @@ COPY --from=build /tools /opt/dotnetcore-tools
EXPOSE 104
EXPOSE 5000

RUN mkdir /database/
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is mapped into the container, and that's why we don't create it in the Dockefile.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right ok, so this should be a volume mount point then.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Right, it's a mount point. Can we remove this so that it doesn't become a silent failure?

@neildsouth neildsouth closed this Oct 4, 2022
@neildsouth
Copy link
Contributor Author

Not needed

@neildsouth neildsouth deleted the nds-dockerfixup branch October 4, 2022 07:46
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.

2 participants