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

Merge backend and worker dockerfile #8240

Merged
merged 14 commits into from
Nov 21, 2023

Conversation

kiendang
Copy link
Contributor

Description

Please include a summary of the change, the motivation, and any additional context that will help others understand your PR. If it closes one or more open issues, please tag them as described here.

Affected Dependencies

List any dependencies that are required for this change.

How has this been tested?

  • Describe the tests that you ran to verify your changes.
  • Provide instructions so we can reproduce.
  • List any relevant details for your test configuration.

Checklist

@kiendang kiendang force-pushed the remove-worker-dockerfile branch from 1bff400 to a153f8b Compare November 10, 2023 08:38
@kiendang kiendang requested a review from shubham3121 November 10, 2023 08:48
@kiendang kiendang force-pushed the remove-worker-dockerfile branch from a153f8b to 6fb1a7b Compare November 10, 2023 14:29
@kiendang kiendang changed the title Initial work on merging backend and worker dockerfile Merge backend and worker dockerfile Nov 10, 2023
return SQLiteStoreConfig(client_config=client_config)


def seaweedfs_config() -> SeaweedFSConfig:
Copy link
Collaborator

@rasswanth-s rasswanth-s Nov 21, 2023

Choose a reason for hiding this comment

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

Good work, seggregating it into distinct functions , makes the code more readable.

store_config = sql_store_config() if single_container_mode else mongo_store_config()
blob_storage_config = None if single_container_mode else seaweedfs_config()

worker = worker_class(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Perfect 🙌

@kiendang kiendang force-pushed the remove-worker-dockerfile branch from 6fb1a7b to c518578 Compare November 21, 2023 04:52
@kiendang kiendang force-pushed the remove-worker-dockerfile branch from 518a215 to 1871d85 Compare November 21, 2023 04:55
@kiendang kiendang marked this pull request as ready for review November 21, 2023 06:55
Copy link
Collaborator

@rasswanth-s rasswanth-s left a comment

Choose a reason for hiding this comment

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

Well Done @kiendang and @shubham3121 🚀 ❤️

Copy link
Member

@shubham3121 shubham3121 left a comment

Choose a reason for hiding this comment

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

Great work guys !! This looks good 💯✅

@rasswanth-s rasswanth-s merged commit 169ec72 into OpenMined:dev Nov 21, 2023
28 checks passed
@kiendang kiendang deleted the remove-worker-dockerfile branch November 21, 2023 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants