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

test(ingest/minio): Configure delta lake minio tests for arm64 #8364

Merged
merged 7 commits into from
Jul 13, 2023

Conversation

asikowitz
Copy link
Collaborator

@asikowitz asikowitz commented Jul 4, 2023

Replaces with docker container

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
  • For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

@github-actions github-actions bot added the ingestion PR or Issue related to the ingestion of metadata label Jul 4, 2023
chmod +x ./tests/integrations/delta_lake/minio/minio
nohup ./tests/integrations/delta_lake/minio/minio server ./tests/integrations/delta_lake/minio/data > temp.log 2>&1 &
echo $! > ./tests/integrations/delta_lake/minio/minio_pid.txt
if [[ $(uname -m) == 'arm64' && $(uname) == 'Darwin' ]]; then
Copy link
Contributor

Choose a reason for hiding this comment

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

Why we don't install with brew if the arch is Darwin and amd64?

FYI -> here is how we do brew install in the preflight script ->
https://github.com/datahub-project/datahub/blob/cfa864e4187b6f9adafd7e951294be8e6109d03d/metadata-ingestion/scripts/datahub_preflight.sh#L8C7-L8C7

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I was just trying to make work with arm macs. I don't really have a preference here

@hsheth2
Copy link
Collaborator

hsheth2 commented Jul 6, 2023

@asikowitz to update this to use docker instead of downloading binaries

Copy link
Collaborator

@hsheth2 hsheth2 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 way better

@asikowitz asikowitz merged commit 851c5ba into datahub-project:master Jul 13, 2023
44 checks passed
@asikowitz asikowitz deleted the minio-test-arm branch July 13, 2023 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ingestion PR or Issue related to the ingestion of metadata
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants