-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Conversation
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/TaskCommon.java
Outdated
Show resolved
Hide resolved
jib-gradle-plugin/src/test/java/com/google/cloud/tools/jib/gradle/TaskCommonTest.java
Outdated
Show resolved
Hide resolved
jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/JibPluginConfiguration.java
Show resolved
Hide resolved
jib-maven-plugin/src/test/java/com/google/cloud/tools/jib/maven/JibPluginConfigurationTest.java
Outdated
Show resolved
Hide resolved
jib-maven-plugin/src/test/java/com/google/cloud/tools/jib/maven/JibPluginConfigurationTest.java
Outdated
Show resolved
Hide resolved
...in/java/com/google/cloud/tools/jib/plugins/common/InvalidFilesModificationTimeException.java
Show resolved
Hide resolved
...on/src/main/java/com/google/cloud/tools/jib/plugins/common/PluginConfigurationProcessor.java
Outdated
Show resolved
Hide resolved
...on/src/main/java/com/google/cloud/tools/jib/plugins/common/PluginConfigurationProcessor.java
Outdated
Show resolved
Hide resolved
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.
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.
jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/MojoCommon.java
Outdated
Show resolved
Hide resolved
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 good.
...src/integration-test/java/com/google/cloud/tools/jib/gradle/EmptyProjectIntegrationTest.java
Outdated
Show resolved
Hide resolved
...rc/integration-test/java/com/google/cloud/tools/jib/gradle/SingleProjectIntegrationTest.java
Outdated
Show resolved
Hide resolved
...rc/test/java/com/google/cloud/tools/jib/plugins/common/PluginConfigurationProcessorTest.java
Outdated
Show resolved
Hide resolved
...ven-plugin/src/test/java/com/google/cloud/tools/jib/maven/BuildImageMojoIntegrationTest.java
Outdated
Show resolved
Hide resolved
…09-container-creation-timestamp
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.
LGTM
@GoogleContainerTools/java-tools-build any objection to changing the default creation time from epoch to epoch + 1 sec?
Fixes #1609. Adds
container.creationTime
config to maven and gradle. Accepted values are:EPOCH
- epoch + 1 second, same as files modification optionUSE_CURRENT_TIMESTAMP
- uses the current timestampAlso deprecates
container.useCurrentTimestamp
in favor of theUSE_CURRENT_TIMESTAMP
value.