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

Docker Storage Support for the Firmware Manager #3

Merged
merged 3 commits into from
Mar 25, 2024

Conversation

dmccoystephenson
Copy link
Member

@dmccoystephenson dmccoystephenson commented Feb 5, 2024

Problem

The Firmware Manager addon currently only supports storing firmware files in GCP. In a deployment where this isn't desired, we need another way to store the firmware files.

Solution

Support for storing firmware files in a directory mounted as a docker volume has been added to the project.

Testing

  • Unit tests pass with these changes.
  • This has been deployed on WYDOT's Test VM.
  • Program starts up correctly & checks for firmware upgrades as expected.
  • Initiating a firmware upgrade for Trihydro's Test Bed RSU was successful.

Copy link

@mwodahl mwodahl left a comment

Choose a reason for hiding this comment

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

This looks good to me!

@@ -40,7 +40,7 @@ Available REST endpoints:

To properly run the firmware_manager microservice the following services are also required:

- Cloud based blob storage
- Cloud based blob storage (if not using a directory mounted as a docker volume)

Choose a reason for hiding this comment

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

This is a bit confusing, should the Docker volume be organized the same?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes it should. This has been modified to improve clarity.

Copy link

@payneBrandon payneBrandon left a comment

Choose a reason for hiding this comment

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

Just a couple questions, looks good!

@dmccoystephenson
Copy link
Member Author

This PR is ready for re-review. @payneBrandon

Copy link

@payneBrandon payneBrandon left a comment

Choose a reason for hiding this comment

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

lgtm!

@payneBrandon payneBrandon merged commit a4a41c8 into develop Mar 25, 2024
6 checks passed
@dmccoystephenson dmccoystephenson deleted the feature/docker-firmware-storage branch March 25, 2024 15:33
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