-
Notifications
You must be signed in to change notification settings - Fork 150
HBASE-27829 Introduce build for kuttl image, basis for dev/test environment
#118
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
HBASE-27829 Introduce build for kuttl image, basis for dev/test environment
#118
Conversation
|
First commit is #117 as a dependency. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
f3c9560 to
cea75dd
Compare
This comment was marked as outdated.
This comment was marked as outdated.
b8c29f9 to
53f61b5
Compare
This comment was marked as outdated.
This comment was marked as outdated.
| <plugins> | ||
| <plugin> | ||
| <groupId>org.codehaus.mojo</groupId> | ||
| <artifactId>exec-maven-plugin</artifactId> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The best alternative I can find to using exec:exec is the docker-maven-plugin. It has some nice features but ultimately also requires having docker installed on the build host and makes it more difficult to execute the image build from native docker tools.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
cbe434e to
7df63e3
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
8cac30a to
320d9d1
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
22aa19b to
834889d
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
834889d to
a8076bc
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
petersomogyi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was able to build it based on the readme (minor comments below). 🎉
The change looks fine to me but I don't have a lot of k8s or kuttl experience.
hbase-kubernetes-deployment/hbase-kubernetes-testing-image/README.md
Outdated
Show resolved
Hide resolved
| } | ||
|
|
||
| variable KUSTOMIZE_VERSION { | ||
| default = "4.5.4" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a new kustomize v5.0.3. We might consider moving to that one later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The version of the kustomize executable is tied to the version of kustomize that is used as a dependency by the version of kubectl that is packaged. We can upgrade them but they must stay in sync.
FYI, the version of the kubectl executable is coupled to the version of kubernetes that is targeted. There's a limited range of kubernetes version supported by a given kubectl version. Right now, the target kubernetes version in the dockerfile is ENVTEST_K8S_VERSION='1.23.x'.
hbase-kubernetes-deployment/hbase-kubernetes-testing-image/src/main/docker/Dockerfile
Show resolved
Hide resolved
| } | ||
|
|
||
| variable KUSTOMIZE_VERSION { | ||
| default = "4.5.4" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The version of the kustomize executable is tied to the version of kustomize that is used as a dependency by the version of kubectl that is packaged. We can upgrade them but they must stay in sync.
FYI, the version of the kubectl executable is coupled to the version of kubernetes that is targeted. There's a limited range of kubernetes version supported by a given kubectl version. Right now, the target kubernetes version in the dockerfile is ENVTEST_K8S_VERSION='1.23.x'.
…ironment Drive kuttl image build from maven. Use maven exec plugin to call `docker buildx bake` as part of the module `package` phase. Allow it all to run from within Docker-in-Docker via Yetus.
a8076bc to
da79d43
Compare
|
(!) A patch to the testing environment has been detected. |
|
🎊 +1 overall
This message was automatically generated. |
|
Superseded by apache/hbase-kustomize#3 |
No description provided.