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

[#4072] improvement(docker-image): Transfer docker hub from datastrato to apache #4523

Merged
merged 29 commits into from
Aug 20, 2024

Conversation

yuqi1129
Copy link
Contributor

@yuqi1129 yuqi1129 commented Aug 14, 2024

What changes were proposed in this pull request?

Transfer docker image used Gravitino from user datastrato to Apache.

Why are the changes needed?

Apache project should use the apache docker hub as the user to keep docker image.

Fix: #4072

Does this PR introduce any user-facing change?

N/A.

How was this patch tested?

Existing CI.

@yuqi1129 yuqi1129 marked this pull request as draft August 14, 2024 14:47
@yuqi1129 yuqi1129 changed the title [Test] Test new docker image name [#4445] improvement(docker-image): Transfer docker hub from datastrato to apache Aug 15, 2024
@yuqi1129 yuqi1129 self-assigned this Aug 15, 2024
@yuqi1129 yuqi1129 changed the title [#4445] improvement(docker-image): Transfer docker hub from datastrato to apache [#4072] improvement(docker-image): Transfer docker hub from datastrato to apache Aug 15, 2024
@yuqi1129 yuqi1129 marked this pull request as ready for review August 15, 2024 01:54
@yuqi1129 yuqi1129 requested a review from xunliu August 15, 2024 08:02
catalogs/catalog-jdbc-doris/build.gradle.kts Outdated Show resolved Hide resolved
docs/docker-image-details.md Outdated Show resolved Hide resolved
@yuqi1129
Copy link
Contributor Author

@mchades
Could you also assist me in reviewing this PR?

@yuqi1129
Copy link
Contributor Author

@xunliu
Could you also assist me in reviewing this PR?

Copy link
Contributor

@mchades mchades left a comment

Choose a reason for hiding this comment

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

@yuqi1129
Copy link
Contributor Author

Should this file be removed or updated?main/docs/publish-docker-images.md

done

@@ -67,7 +67,7 @@ RUN mkdir /tmp/gravitino
COPY --chown=trino:trino packages/gravitino-trino-connector /tmp/gravitino

ARG IMAGE_NAME
RUN if [ "$IMAGE_NAME" = "datastrato/trino" ] ; then \
RUN if [ "$IMAGE_NAME" = "apache/gravitino-*:trino-*" ] ; then \
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@diqiu50
Please help to verify this part.

Copy link
Contributor

Choose a reason for hiding this comment

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

I this this is better:

apache/gravitino-trino-*:*

Copy link
Contributor Author

Choose a reason for hiding this comment

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

After this PR, the name for Trino Docker image will be:

apache/gravitino-ci:trino-xxxx
apache/gravitino-playground:trino-xxxx

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@diqiu50
We will use the tag name to indicate whether it's a Trino image, so please help verify its accuracy.

Copy link
Contributor

Choose a reason for hiding this comment

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

That's ok.

- 'gravitino-ci:ranger'
- 'gravitino-playground:trino'
- 'gravitino-playground:hive'
- 'gravitino-playground:ranger'
- 'gravitino-iceberg-rest-server'
Copy link
Contributor

Choose a reason for hiding this comment

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

Should you update this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's the display name in GitHub image actions, I've already updated the final image name. Please refer to line 84.

- trino:435-gravitino-0.5.1
- Based on Gravitino 0.5.1, you can know more information from 0.5.1 release notes.
- apache/gravitino-playground:trino-435-gravitino-0.6.0-incubating (Switch to Apache official DockerHub repository)
- Use `datastrato/trino:435-gravitino-0.5.1` Dockerfile to rebuild the image.
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this comment right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I will modify it as all the docker images are based on the release-0.6 NOT 0.5.1

@@ -112,28 +112,32 @@ You can use these kinds of Docker images to facilitate integration testing of al
You can use this kind of image to test the catalog of Apache Hive with kerberos enable

Changelog
- gravitino-ci-kerberos-hive:0.1.5

- apache/gravitino-ci:kerberos-hive-0.1.5 (Switch to Apache official DockerHub repository)
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we would better use 0.1.6 here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We can keep the current version as it is because they are now different Docker repos.

@jerqi
Copy link
Contributor

jerqi commented Aug 19, 2024

After you release the images, you should update the playground, too.

@jerryshao
Copy link
Contributor

@jerqi do you have any more feedbacks?

Copy link
Contributor

@jerryshao jerryshao left a comment

Choose a reason for hiding this comment

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

Generally LGTM, @jerqi can you please take another look?

@jerryshao jerryshao merged commit 4f484a1 into apache:main Aug 20, 2024
34 checks passed
yuqi1129 added a commit to yuqi1129/gravitino that referenced this pull request Aug 20, 2024
…astrato to apache (apache#4523)

### What changes were proposed in this pull request?

Transfer docker image used Gravitino from user `datastrato` to Apache.

### Why are the changes needed?

Apache project should use the apache docker hub as the user to keep
docker image.

Fix: apache#4072

### Does this PR introduce _any_ user-facing change?

N/A.

### How was this patch tested?

Existing CI.

---------

Co-authored-by: xunliu <[email protected]>
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.

Move to use ASF's DockerHub
6 participants