-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[WFLY-18768] OpenShift support for the mail quickstart #923
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
base: main
Are you sure you want to change the base?
Conversation
Hi @Dkafetzis. Thanks for your PR. I'm waiting for a wildfly member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
hi @Dkafetzis , I am delegating review to @yersan , who leads mail's component |
/ok-to-test |
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.
Hello @Dkafetzis , you did great work with this, thanks!
I've added minor notes to review, also, when I compile the mail server locally, the readme.html generated does not contain all the steps related to helm charts and OpenShift, what is the trick to read the final documentation generated from this soruces?
dcd43d1
to
e72a2f6
Compare
@yersan Applied the suggested changes. Also fixed the Readme, it should now generate correctly. |
e72a2f6
to
d373165
Compare
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 changes looks good to me. If CI testing is green and @yersan approves too I will merge it.
d373165
to
458756a
Compare
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.
Please note that Kubernetes support will be needed to overcome the CI fail, but this can be done in a separated JIRA and PR. In case you want to do it here and now please let me know so I point you in the right direction.
@emmartins I'd like to also add support for kubernetes on the quickstart but In another issue since this is not part of Openshift and this one has been open for a long time. |
@Dkafetzis FYI not forgotten, just waiting for additional @kstekovi review, who will later add some testing changes on top of your work, this may take a week or more |
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.
hi @Dkafetzis, I was trying your branch with Openshift sandbox, to finally merge this PR, but there is a major issue, there are no README instructions wrt the greenmail Helm Chart install. This should be done similar to how microprofile-reactive-messaging-kafka extends its README-source.adoc ( by adding an extra adoc file and pointing an attr to it, please see
:helm-install-prerequisites-openshift: ../microprofile-reactive-messaging-kafka/helm-install-prerequisites-openshift.adoc |
Unfortunately I was not able to just use the traditional command we use for extras, which would be "oc apply -f ./charts/greenmail-openshift.yaml --wait --timeout=10m0s", and succeed with the standard openshift test command "$ mvn verify -Pintegration-testing -Dserver.host=https://$(oc get route mail --template='{{ .spec.host }}')"
I know this one has not been easy to make everyone happy, but in this case we really need fully working OpenShift instructions.
@emmartins I have added the needed reference to the RADME-source.adoc and renamed the file with the instructions on how to deploy greenmail on openshift to make it more clear. Also there was an error in one of the 2 integration tests that I hadn't noticed back then when I filed the PR. Finally and I don't know if this is mitigated when the automated testsuite is ran, but currently the helm file for the quickstart mentions this repository:
Because of this though, the old jboss cli script of the mail quickstart is used resulting in the wildfly instance on openshift being unable to connect to greenmail on openshift. Changing temporarily the url and ref to my fork and this branch like so:
results in the correct jboss-cli script being downloaded and the tests working as expected. Obviously, once this pr is merged this will not be an issue anymore since the cli script on the main branch will get updated to the correct one. |
Thanks @Dkafetzis, I will check it as soon as possible. |
https://issues.redhat.com/browse/WFLY-18768