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

Added ml-metadata-store rockfile #115

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

TakoB222
Copy link

@TakoB222 TakoB222 commented Oct 14, 2024

Description


  • Add rockcraft.yaml
  • Add tests
  • Add tox.ini

@TakoB222 TakoB222 requested a review from a team as a code owner October 14, 2024 16:18
Copy link
Contributor

@NohaIhab NohaIhab left a comment

Choose a reason for hiding this comment

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

thanks @TakoB222 for the PR, left some comments

@@ -0,0 +1,58 @@
# Based on: https://github.com/open-telemetry/opentelemetry-collector-releases/blob/main/distributions/otelcol/Dockerfile
Copy link
Contributor

Choose a reason for hiding this comment

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

should be:

Suggested change
# Based on: https://github.com/open-telemetry/opentelemetry-collector-releases/blob/main/distributions/otelcol/Dockerfile
# Based on: https://github.com/google/ml-metadata/blob/v1.14.0/ml_metadata/tools/docker_server/Dockerfile


platforms:
amd64:

Copy link
Contributor

Choose a reason for hiding this comment

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

missing the service details

bazel build -c opt --action_env=PATH \
--define=grpc_no_ares=true --verbose_failures \
//ml_metadata/metadata_store:metadata_store_server --cxxopt="-std=c++17"

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

need to install tzdata package in the final rock, see in the Dockerfile

Copy link
Contributor

Choose a reason for hiding this comment

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

can you add the sanity tests to check for the:

  1. binary in /bin/metadata_store_server
  2. third party files in /mlmd-src/third_party

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