Skip to content
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 container creation timestamp configuration #1888

Merged
merged 17 commits into from
Aug 9, 2019

Conversation

TadCordle
Copy link
Contributor

@TadCordle TadCordle commented Aug 2, 2019

Fixes #1609. Adds container.creationTime config to maven and gradle. Accepted values are:

  • EPOCH - epoch + 1 second, same as files modification option
  • USE_CURRENT_TIMESTAMP - uses the current timestamp
  • an ISO 8601 date time

Also deprecates container.useCurrentTimestamp in favor of the USE_CURRENT_TIMESTAMP value.

Copy link
Member

@chanseokoh chanseokoh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can update CHANGELOG in another PR, but I recently felt it is better to foster the practice to update CHANGELOG in the related PR.

@TadCordle TadCordle marked this pull request as ready for review August 5, 2019 21:14
Copy link
Member

@chanseokoh chanseokoh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

Copy link
Member

@chanseokoh chanseokoh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@GoogleContainerTools/java-tools-build any objection to changing the default creation time from epoch to epoch + 1 sec?

@TadCordle TadCordle requested a review from a team August 8, 2019 16:55
@TadCordle TadCordle merged commit 577e442 into master Aug 9, 2019
@TadCordle TadCordle deleted the i1609-container-creation-timestamp branch August 9, 2019 15:14
@chanseokoh chanseokoh mentioned this pull request Aug 9, 2019
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow configuring container creation timestamp in plugins
3 participants