-
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
Adding the from.platforms
Jib config parameter to jib-maven-plugin and to the jib-gradle-plugin
#2568
Conversation
jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/JibPluginConfiguration.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/main/java/com/google/cloud/tools/jib/maven/JibPluginConfiguration.java
Outdated
Show resolved
Hide resolved
jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/JibPluginConfiguration.java
Outdated
Show resolved
Hide resolved
jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/JibPluginConfiguration.java
Outdated
Show resolved
Hide resolved
jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/JibPluginConfiguration.java
Outdated
Show resolved
Hide resolved
jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/JibPluginConfiguration.java
Outdated
Show resolved
Hide resolved
jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/JibPluginConfiguration.java
Outdated
Show resolved
Hide resolved
… already exists in the target registry (#2531) * Adds proposal to control the pushing of tags on existing images in target registry. * Updates proposal with more detail. * Work for tags-on-existing-images.md * Cleanup. * * Simplified implementation: * Removed newly added class ManifestDescriptor, replaced it with already existing ManifestAndDigest. * Removed the CheckImageStep and incorporated the check within the PushImageStep. Implementation now follows similar checks, eg, in PushBlopStep. * Adds unit and integration tests. * Fixes resulting from testing. * Code formatting changes. * Code cleanup, post-review. * Code cleanup, post-review. * * Adds a new CheckImageStep and integrates it in the StepsRunner. * Reverts PushImageStep to the state before the PR started, apart from the manifest existence check. * Refactor code * CHANGELOG * Update comments * Improve test Co-authored-by: Chanseok Oh <[email protected]>
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. Fix the minor Javadoc issue, and should be good to go.
jib-maven-plugin/src/main/java/com/google/cloud/tools/jib/maven/JibPluginConfiguration.java
Outdated
Show resolved
Hide resolved
from.platforms
Jib config parameter to jib-maven-plugin #2148
from.platforms
Jib config parameter to jib-maven-plugin #2148 from.platforms
Jib config parameter to jib-maven-plugin
Oh, I thought you'd merge this and start a new PR for further changes. Whatever works, I'm good with it. And it's a good practice to put some relevant description in the first PR comment. |
I added the |
from.platforms
Jib config parameter to jib-maven-pluginfrom.platforms
Jib config parameter to jib-maven-plugin and to the jib-gradle-plugin
The |
from.platforms
Jib config parameter to jib-maven-plugin and to the jib-gradle-pluginfrom.platforms
Jib config parameter to jib-maven-plugin and to the jib-gradle-plugin
...plugins-common/src/main/java/com/google/cloud/tools/jib/plugins/common/RawConfiguration.java
Outdated
Show resolved
Hide resolved
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/PlatformsParametersSpec.java
Outdated
Show resolved
Hide resolved
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/PlatformsParametersSpec.java
Outdated
Show resolved
Hide resolved
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/PlatformsParameters.java
Outdated
Show resolved
Hide resolved
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/PlatformsParameters.java
Outdated
Show resolved
Hide resolved
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/PlatformsParameters.java
Outdated
Show resolved
Hide resolved
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/JibExtension.java
Outdated
Show resolved
Hide resolved
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/BaseImageParameters.java
Outdated
Show resolved
Hide resolved
I am getting a |
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/BaseImageParameters.java
Show resolved
Hide resolved
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/PlatformParameters.java
Show resolved
Hide resolved
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/PlatformParameters.java
Show resolved
Hide resolved
FTR: we realized there was a really tricky issue on the Gradle side, so I needed to take care of that part. @louismurerwa please verify there's no issue when running a snapshot version. |
@louismurerwa actually, I think we can go simpler with renaming the interface method names to |
Gradle plugin built and ran successfully |
I have tested both the |
The plugins are compiling and executing without errors on my local environment. |
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. Only some nits.
Toward #1567