-
Notifications
You must be signed in to change notification settings - Fork 166
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
Support reproducible flow-build-info.json and stats.json #7556
Comments
As I understand you would like to have the same content of the |
@denis-anisimov Right. It appears to me that the only difference I get now is content ordering. As a more generic requirement, you could create a test where you build project twice and expect it to produce exact same artifact. Results may differ though depending on how much "from scratch" you are building each time - at the moment I am testing in dev environment where project is not cleaned between rebuilds. |
OK, thanks for clarification. |
I've got back to this issue, tested with Vaadin 21.0.6, For testing purposes I've created a test project which allows quickly deploying a test app into a Kubernetes cluster using Skaffold: https://github.com/lightoze/vaadin-build-demo. After byte to byte comparison of images produces by a clean build it is seen that |
In Vaadin 22, #12431 should make the |
Looks like it's only |
This ticket/PR has been released with platform 23.0.0.alpha1 and is also targeting the upcoming stable 23.0.0 version. |
This ticket/PR has been released with Vaadin 22.0.24. |
Currently (v14) generated
flow-build-info.json
andstats.json
entries are randomly reordered during build. In containerized environment it means that every build produces an unique image which creates problems both in development and CD workflows.This should be also taken into account in relation to #6398
The text was updated successfully, but these errors were encountered: