-
Notifications
You must be signed in to change notification settings - Fork 139
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
feat: specify create time for image built with buildpacks #1685
feat: specify create time for image built with buildpacks #1685
Conversation
Welcome @cuichenli! It looks like this is your first PR to knative/func 🎉 |
I think we can have this but I would prefer having this behind some config flag in |
yeah, definitely it would be great to make it configurable. if the owners are ok with this, i will try to implement it. |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1685 +/- ##
===========================================
+ Coverage 49.81% 63.12% +13.31%
===========================================
Files 81 93 +12
Lines 11148 11989 +841
===========================================
+ Hits 5553 7568 +2015
+ Misses 5111 3735 -1376
- Partials 484 686 +202
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
@lance @zroubalik wdyt? |
I agree behind a config flag would be nice |
Perhaps a Builder option |
i have updated accordingly, please let me know if i missed anything. thanks! |
@cuichenli you need to fix one linter error. |
i (think) i have fixed it in the latest commit, can you trigger the build again? thanks |
/lgtm |
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 really good. Thanks @cuichenli
I re-ran the failed tests. They've been flaky lately
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cuichenli, lkingland The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Changes
Currently the image built with
func build
command all says the image was built 42 years ago. Although it was treated as a feature of buildpacks (in buildpacks/pack#931 (comment)), they have fixed this feature recently in buildpacks/imgutil#138 hence I think it is worth to change the behavior here as well./kind enhancement
Note: I am new to the func project and this change may be inappropriate, feel free to reject it. Thanks