You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Grant Henke (Code Review)" <ge...@cloudera.org> on 2020/04/19 15:36:20 UTC

[kudu-CR] [docker] Fix mini-ranger tests in the build image

Grant Henke has uploaded this change for review. ( http://gerrit.cloudera.org:8080/15756


Change subject: [docker] Fix mini-ranger tests in the build image
......................................................................

[docker] Fix mini-ranger tests in the build image

This patch fixes the mini-ranger tests when run in Docker. A few changes
were made to support running these tests:
- Keep Postgress and Ranger source in thirdparty
- Run the Kudu build and tests as the Kudu user
- Ensure the kudu user owns all the files

Additionally to simplify testing and improve the usuablilty of the build
images a few other changes were made:
- The sudo package was added and the kudu user was made a sudoer
- The default entrypoint for build images is `/bin/bash`

Change-Id: I41c9c9ca8bb02a6d9d6e16b3197a1e883f642098
---
M docker/Dockerfile
M docker/bootstrap-dev-env.sh
2 files changed, 77 insertions(+), 33 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/56/15756/1
-- 
To view, visit http://gerrit.cloudera.org:8080/15756
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I41c9c9ca8bb02a6d9d6e16b3197a1e883f642098
Gerrit-Change-Number: 15756
Gerrit-PatchSet: 1
Gerrit-Owner: Grant Henke <gr...@apache.org>

[kudu-CR] [docker] Fix mini-ranger tests in the build image

Posted by "Attila Bukor (Code Review)" <ge...@cloudera.org>.
Attila Bukor has posted comments on this change. ( http://gerrit.cloudera.org:8080/15756 )

Change subject: [docker] Fix mini-ranger tests in the build image
......................................................................


Patch Set 1: Code-Review+2


-- 
To view, visit http://gerrit.cloudera.org:8080/15756
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I41c9c9ca8bb02a6d9d6e16b3197a1e883f642098
Gerrit-Change-Number: 15756
Gerrit-PatchSet: 1
Gerrit-Owner: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Attila Bukor <ab...@apache.org>
Gerrit-Reviewer: Hao Hao <ha...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Tue, 21 Apr 2020 14:30:04 +0000
Gerrit-HasComments: No

[kudu-CR] [docker] Fix mini-ranger tests in the build image

Posted by "Grant Henke (Code Review)" <ge...@cloudera.org>.
Grant Henke has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/15756 )

Change subject: [docker] Fix mini-ranger tests in the build image
......................................................................

[docker] Fix mini-ranger tests in the build image

This patch fixes the mini-ranger tests when run in Docker. A few changes
were made to support running these tests:
- Keep Postgress and Ranger source in thirdparty
- Run the Kudu build and tests as the Kudu user
- Ensure the kudu user owns all the files

Additionally to simplify testing and improve the usuablilty of the build
images a few other changes were made:
- The sudo package was added and the kudu user was made a sudoer
- The default entrypoint for build images is `/bin/bash`

Change-Id: I41c9c9ca8bb02a6d9d6e16b3197a1e883f642098
Reviewed-on: http://gerrit.cloudera.org:8080/15756
Tested-by: Kudu Jenkins
Reviewed-by: Attila Bukor <ab...@apache.org>
---
M docker/Dockerfile
M docker/bootstrap-dev-env.sh
2 files changed, 77 insertions(+), 33 deletions(-)

Approvals:
  Kudu Jenkins: Verified
  Attila Bukor: Looks good to me, approved

-- 
To view, visit http://gerrit.cloudera.org:8080/15756
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I41c9c9ca8bb02a6d9d6e16b3197a1e883f642098
Gerrit-Change-Number: 15756
Gerrit-PatchSet: 2
Gerrit-Owner: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Attila Bukor <ab...@apache.org>
Gerrit-Reviewer: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Hao Hao <ha...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)