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
EZP-30170: [2.5LTS] Drop Varnish 4 + get rid of duplicated VCL in meta repo #349
Conversation
@Plopix Will this change be a problem form eZ Launchpad? (aka do you need VCL file before composer install / create-project has been run) @alongosz / @mnocon Same question for you, would it make sense to change setup_ezplatform.sh back to somehow run composer install before spinning up all containers? |
Sadly I don't see any other clean way, given that the file is in another repository. |
@andrerom no, there is no impact for eZ Launchad as it has its own I will try to look into it, to remove this, actually, varnish is container is installed in the second round of docker-compose then it might be really simple. |
Should be no problem for Demo Cloud / Platform.sh. And since we run |
When/where exactly is this Dockerfile used? Maybe we could split the process into app (where
I'm not in the loop when it comes to the actual issue, but if this is related to eZ Launchpad, then maybe it calls for a separate setup script? |
This is what it did before (first do a build stage to pull in packages). This is also what launchpad and sales demo does, and what is required for solr contianer as well already. There are many ways to do it, either just using travis php, or run php container first, before orchestrating the whole setup in second phase. |
7670207
to
e432c0e
Compare
As removing the files depends on QA, I'll just deprecate it for now. So smaller PR here ready for review @lserwatka @mnocon |
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.
Looks ok for me, one doc nitpick 😛
doc/varnish/varnish.md
Outdated
For Varnish to work properly with eZ, you'll need to use the following VCL as starting point: | ||
|
||
* [eZ Platform 1.7+ with Varnish 4.x/5.x with xkey VMOD](vcl/varnish4_xkey.vcl) | ||
Provided VCL for eZ can be found in [vendor/ezsystems/ezplatform-http-cache/docs/varnish](https://github.com/ezsystems/ezplatform-http-cache/tree/0.8/docs/varnish). |
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.
Is it ok to link to 0.8 here? This VCL still supports 4.0 and needs manual changes (for example: https://github.com/ezsystems/ezplatform-http-cache/blob/master/docs/varnish/vcl/varnish4.vcl#L268) and we won't be changing it in 0.8 branch I guess.
I'd rather link to a file that is tailored for 5.1.
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.
See updates here and in ezsystems/ezplatform-http-cache#77
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.
Nice, thanks!
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.
Needs JIRA issue? :)
@mnocon Did you test the slightly new VCL? |
Story: https://jira.ez.no/browse/EZP-30170
Additional awareness / review ping:
Todo: