-
Notifications
You must be signed in to change notification settings - Fork 32
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
MJML compiler in TCP mode failing in CI on bitbucket #119
Comments
@bramski could you show your |
In the case of our CI environment |
try to use |
Hmmm, all the other configured servers for CI use localhost as the hostname. I wasn't aware of the bitbucket docker container setting up local domain names but I'll give it a shot. |
and also try to use the default port settings of
and
note that when you run CI in your configuration case it can use global ports to run services and if you run them more than one or one of them wasn't stopped correctly, you can have an issue with conflicts. just add |
Yeah this is coming up for me in the wild as well on our dev & staging systems. |
This is still not working. I had to change to command mode in CI which is
far slower. Please reopen.
…On Fri., Jan. 1, 2021, 9:27 a.m. Igor Melnyk, ***@***.***> wrote:
Closed #119 <#119>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#119 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADG7FMMODMR6WBLHQ7XGDTSXYAYHANCNFSM4USJKKBA>
.
|
provide all info to reproduce the issue locally and after that I'll try to fix that. currently I don't see any problem neither python library nor docker image. they are working on various projects quite stable and well (including gitlab-ci to run functional and unit tests) |
Please leave it open I will be able to deal with this after holidays thanks.
…On Fri., Jan. 1, 2021, 10:41 a.m. Igor Melnyk, ***@***.***> wrote:
provide all info to reproduce the issue locally and after that I'll try to
fix that. currently I don't see any problem neither python library nor
docker image. they are working on various projects quite stable and well
(including gitlab-ci to run functional and unit tests)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#119 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADG7FP5G5PCVR6DQLXNUITSXYJOTANCNFSM4USJKKBA>
.
|
Had a chance to investigate this further. There seem to be some bugs in bitbucket's docker work. I changed to port 28101 and then updated the definition for the MJML docker container to be much more plain:
That managed to make the ports work correctly. Not sure why "expose" and "ports" were causing this to fail so randomly. |
I'm having some issues getting our CI builds to pass using MJML-django in TCP mode as the renderer. It was working and then quite consistently when we started rendering more emails they started failing:
I'm a bit baffled by the error. It appears that there are working servers but the compilation step is failing immediately.
Bitbucket YAML looks as follows for docker config:
The text was updated successfully, but these errors were encountered: