-
Notifications
You must be signed in to change notification settings - Fork 163
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
Build Reasons and Changes diff #556
Conversation
a4b2562
to
383a06c
Compare
@sukhil-suresh is there an environment variable limit that would prevent use from storing all changes in the |
Yes, there is a size limit on linux per environment variable and I believe for the combined block of env variables. I don't have a definitive number on hand; but based on google search it seems to be a 128KiB limit. It is also configurable. The alternative considered was the Downward API Volume files but opted not to go down that path based on some very rough math of the changes value maxing out between 1500..2000 chars (at the moment) But yes, still open to changing approach of passing the Changes value around |
That makes sense, thanks! |
Captured Build reason(s) and Change diff for the different Build Reasons: CONFIG, TRIGGER, COMMIT, STACK, and BUILDPACK CONFIG
TRIGGER
COMMIT
STACK
BUILDPACK
Combination of TRIGER and BUILDPACK
|
383a06c
to
69baa7a
Compare
69baa7a
to
9d9a3f3
Compare
9d9a3f3
to
552762a
Compare
This looks AWESOME !! A few comments:
|
@sampeinado Assuming you were referring to a format similar to the one below? Yes, can make that change
|
yes exactly! I think that makes more sense |
For context...
I am assuming you are referring to the About how the diff is generated? The Config objects are serialized to string and then compared. Test case that covers the CONFIG scenario. |
Address change request on PR #556 (comment)
Address change request on PR #556 (comment) Co-authored-by: Elenore Bastian <ebastian@vmware.com>
95cf552
to
f6ad291
Compare
Avoid showing irrelevant fields during diff Ref: #556 (comment) Co-authored-by: Elenore Bastian <ebastian@vmware.com>
Updated CONFIG, and TRIGGER change (based on @sampeinado comments) CONFIG
TRIGGER
|
9b929a0
to
88f3fca
Compare
- use only changes string - changes string is now parsed into an array of GenericChange object - changes on old/new fields are printed as is provided - multiple change errors are bunched and reported for ChangeProcessor Reason for the switch to a lightweight logger is captured in this issue comment: #556 (comment)
6c5b899
to
3a47900
Compare
- use only changes string - changes string is now parsed into an array of GenericChange object - changes on old/new fields are printed as is provided - multiple change errors are bunched and reported for ChangeProcessor Reason for the switch to a lightweight logger is captured in this issue comment: #556 (comment)
3a47900
to
6bcb2c1
Compare
- use only changes string - changes string is now parsed into an array of GenericChange object - changes on old/new fields are printed as is provided - multiple change errors are bunched and reported for ChangeProcessor Reason for the switch to a lightweight logger is captured in this issue comment: #556 (comment)
6bcb2c1
to
e6e1245
Compare
- use only changes string - changes string is now parsed into an array of GenericChange object - changes on old/new fields are printed as is provided - multiple change errors are bunched and reported for ChangeProcessor Reason for the switch to a lightweight logger is captured in this issue comment: #556 (comment)
e6e1245
to
be3ad6d
Compare
- use only changes string - changes string is now parsed into an array of GenericChange object - changes on old/new fields are printed as is provided - multiple change errors are bunched and reported for ChangeProcessor Reason for the switch to a lightweight logger is captured in this issue comment: #556 (comment)
be3ad6d
to
e73935f
Compare
Source: https://git.io/JklOZ https://git.io/JklOB Co-authored-by: Sukhil Suresh <ssukhil@vmware.com>
Update the `prepare` and `rebase` stages of the Build process to display the Build Reason and corresponding Change diff for a Build Co-authored-by: Elenore Bastian <ebastian@vmware.com>
- use only changes string - changes string is now parsed into an array of GenericChange object - changes on old/new fields are printed as is provided - multiple change errors are bunched and reported for ChangeProcessor Reason for the switch to a lightweight logger is captured in this issue comment: #556 (comment) Co-authored-by: Sukhil Suresh <ssukhil@vmware.com>
e73935f
to
7ad0379
Compare
The PR updates the
prepare
andrebase
stages of the Build process to display the Build Reason and corresponding Change diff.