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

ORC-1323: Make docker/reinit.sh support target OS arguments #1330

Closed
wants to merge 1 commit into from

Conversation

dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Nov 30, 2022

What changes were proposed in this pull request?

This PR aims to support target OS arguments in docker/reinit.sh.

Why are the changes needed?

Currently, it re-generates all Ones.

How was this patch tested?

Manually.

$ cd docker

$ ./reinit.sh centos7
Target: centos7
Re-initialize apache/orc-dev:centos7
...

$ ./reinit.sh centos7 ubuntu22
Target: centos7 ubuntu22
Re-initialize apache/orc-dev:centos7
...

$ ./reinit.sh
Target: centos7 debian10 debian11 ubuntu18 ubuntu20 ubuntu22 fedora37 debian10_jdk=11 ubuntu20_jdk=11 ubuntu20_jdk=11_cc=clang
Re-initialize apache/orc-dev:centos7
...

@github-actions github-actions bot added the INFRA label Nov 30, 2022
@dongjoon-hyun dongjoon-hyun changed the title ORC-1323: Make docker/reinit.sh support target OS arguments ORC-1323: Make docker/reinit.sh support target OS arguments Nov 30, 2022
@dongjoon-hyun
Copy link
Member Author

Could you review this PR, @williamhyun ?

@dongjoon-hyun dongjoon-hyun added this to the 1.8.2 milestone Nov 30, 2022
Copy link
Member

@williamhyun williamhyun left a comment

Choose a reason for hiding this comment

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

+1 LGTM

williamhyun pushed a commit that referenced this pull request Dec 1, 2022
### What changes were proposed in this pull request?

This PR aims to support target OS arguments in `docker/reinit.sh`.

### Why are the changes needed?

Currently, it re-generates all Ones.

### How was this patch tested?

Manually.
```
$ cd docker

$ ./reinit.sh centos7
Target: centos7
Re-initialize apache/orc-dev:centos7
...

$ ./reinit.sh centos7 ubuntu22
Target: centos7 ubuntu22
Re-initialize apache/orc-dev:centos7
...

$ ./reinit.sh
Target: centos7 debian10 debian11 ubuntu18 ubuntu20 ubuntu22 fedora37 debian10_jdk=11 ubuntu20_jdk=11 ubuntu20_jdk=11_cc=clang
Re-initialize apache/orc-dev:centos7
...
```

Closes #1330 from dongjoon-hyun/ORC-1323.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: William Hyun <william@apache.org>
(cherry picked from commit 3870ecd)
Signed-off-by: William Hyun <william@apache.org>
@dongjoon-hyun
Copy link
Member Author

Thank you, @williamhyun .

@dongjoon-hyun dongjoon-hyun deleted the ORC-1323 branch December 1, 2022 08:54
dongjoon-hyun added a commit that referenced this pull request Jan 6, 2023
### What changes were proposed in this pull request?

This PR aims to support target OS arguments in `docker/reinit.sh`.

### Why are the changes needed?

Currently, it re-generates all Ones.

### How was this patch tested?

Manually.
```
$ cd docker

$ ./reinit.sh centos7
Target: centos7
Re-initialize apache/orc-dev:centos7
...

$ ./reinit.sh centos7 ubuntu22
Target: centos7 ubuntu22
Re-initialize apache/orc-dev:centos7
...

$ ./reinit.sh
Target: centos7 debian10 debian11 ubuntu18 ubuntu20 ubuntu22 fedora37 debian10_jdk=11 ubuntu20_jdk=11 ubuntu20_jdk=11_cc=clang
Re-initialize apache/orc-dev:centos7
...
```

Closes #1330 from dongjoon-hyun/ORC-1323.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: William Hyun <william@apache.org>
(cherry picked from commit 3870ecd)
Signed-off-by: William Hyun <william@apache.org>
(cherry picked from commit 4cf4e87)
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
@dongjoon-hyun
Copy link
Member Author

I backported this test PR to branch-1.7 too.

@dongjoon-hyun dongjoon-hyun modified the milestones: 1.8.2, 1.7.8 Jan 6, 2023
cxzl25 pushed a commit to cxzl25/orc that referenced this pull request Jan 11, 2024
### What changes were proposed in this pull request?

This PR aims to support target OS arguments in `docker/reinit.sh`.

### Why are the changes needed?

Currently, it re-generates all Ones.

### How was this patch tested?

Manually.
```
$ cd docker

$ ./reinit.sh centos7
Target: centos7
Re-initialize apache/orc-dev:centos7
...

$ ./reinit.sh centos7 ubuntu22
Target: centos7 ubuntu22
Re-initialize apache/orc-dev:centos7
...

$ ./reinit.sh
Target: centos7 debian10 debian11 ubuntu18 ubuntu20 ubuntu22 fedora37 debian10_jdk=11 ubuntu20_jdk=11 ubuntu20_jdk=11_cc=clang
Re-initialize apache/orc-dev:centos7
...
```

Closes apache#1330 from dongjoon-hyun/ORC-1323.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: William Hyun <william@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants