-
Notifications
You must be signed in to change notification settings - Fork 114
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
Address user feedback and prepare new major version release #207
Conversation
* Check existence of java-version file instead of just the directory. * Use show-java-version as a cleaner way to detect Java version. * When using dump-mpr, read the entire output & wait for exit code - so that errors are not streamed to jq. * Log how exactly a Mendix version was detected.
It could potentially be restored later, if build.py would also run the Docker build.
* Clarified requirements and limitations * Added an upgrade guide explaining how to use build.py in existing pipelines * Updated versions
Any pipeline that isn't updated to use build.py will fail to run, as CF Buildpack only works with specific Ubuntu versions.
Clarified that any Python >=3.8 <4 is supported.
* Clarify that the destination directory will be created/cleaned up. * Clarified that build.py should work with Mendix 8, 9 and 10 MPRs/MPKs.
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.
All comments are incorporated. Hence, approving this PR.
upgrading-from-v5.md
Outdated
Docker Buildpack v6 no longer uses CF Buildpack to compile MPR (or MPK) files - to continue supporting newer versions of Mendix, Java and the base OS. | ||
Instead, a custom `build.py` script will: | ||
|
||
1. Prepare a clean [Docker context](https://docs.docker.com/build/concepts/context/) in the path specified by `--destination`. All files required to build the app image will be copied to this destination. |
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.
Should we also mention that the if the destaination directory is not created, it will also create the directory
mx dump-mpr
exit code before sending its output tojq
build.py
script in existing pipelines.build.py
.