-
Notifications
You must be signed in to change notification settings - Fork 236
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
Add post_deploy example to the .magento.app.yaml file #164
Comments
Thanks @hostep We have a ticket |
Changes regarding correct hooks were merged. |
Thanks @shiftedreality & @billygilbert ! |
@hguthrie , please fix DevDocs examples of hooks (https://devdocs.magento.com/guides/v2.2/cloud/project/project-conf-files_magento-app.html#hooks) to be aligned with https://github.com/magento/magento-cloud/blob/master/.magento.app.yaml#L73-L82 Once fixed, this request can be marked as completed. Thanks! |
@YPyltiai I noticed this is not quite fixed yet. We have a sprint beginning and this is perfect to add to the sprint. |
Updated the hooks samples in the Cloud guide. Per @YPyltiai , this can be closed. |
I don't agree with closing this issue just yet, my third remark hasn't been fixed yet. The
|
@hostep , this cannot be included into template anymore. In latest ECE-Tools to be released |
@shiftedreality , please close the issue. Discussed with Pieter in Slack - we agreed that this can be marked as resolved. |
Closed |
Hi guys!
I was looking for information around how we should setup then new post_deploy hook which was introduced in ece-tools v2002.0.10 and I couldn't find it in the changelog for the ece-tools, so I started by looking here, since I assumed it would be here, but it isn't unfortunately.
After some more searching around, I did find it on the devdocs: http://devdocs.magento.com/guides/v2.2/cloud/project/project-conf-files_magento-app.html
But I think it should be added to this project as well?
Slightly related, it looks like we have a new binary now
./vendor/bin/ece-tools
, and I think it can be used for the build and deploy hooks as well. If that's true, it might make sense to make these hooks in this project consistent so it looks clean (and also do the same thing in the documentation)Update: and just found another config missing, in the .magento.env.yaml file, it currently doesn't contain the post-deploy configuration, which can be found over here at the devdocs: http://devdocs.magento.com/guides/v2.2/cloud/env/variables-post-deploy.html
Update 2: also the
SKIP_HTML_MINIFICATION
example doesn't exist yet in this project, see docs again: http://devdocs.magento.com/guides/v2.2/cloud/env/variables-intro.html#skip_html_minificationIt might be possible that other examples are also missing, but I'm going to stop looking for these now 😉
Thanks!
The text was updated successfully, but these errors were encountered: