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

Bump jib-maven-plugin from 3.0.0 to 3.1.1 #2119

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 15, 2021

Bumps jib-maven-plugin from 3.0.0 to 3.1.1.

Release notes

Sourced from jib-maven-plugin's releases.

jib-maven-plugin v3.1.1

Major Changes

  • Fixed the regression introduced in 3.1.0 where a build may fail due to an error from main class inference even if <container><entrypoint> is configured. (#3295)

See CHANGELOG.md for more details.

jib-gradle-plugin v3.1.1

Major Changes

  • Fixed the regression introduced in 3.1.0 where a build may fail due to an error from main class inference even if jib.container.entrypoint is configured. (#3295)

See CHANGELOG.md for more details.

jib-maven-plugin v3.1.0

Major Changes

  • For Google Artifact Registry (*-docker.pkg.dev), Jib now tries Google Application Default Credentials last like it has been doing for gcr.io. (#3241)
  • Jib now creates an additional layer that contains two small text files: /app/jib-classpath-file and /app/jib-main-class-file. They hold, respectively, the final Java runtime classpath and the main class computed by Jib that are suitable for app execution on JVM. For example, with Java 9+, setting the container entrypoint to java --class-path @/app/jib-classpath-file @/app/jib-main-class-file will work to start the app. (This is basically the default entrypoint set by Jib when the entrypoint is not explicitly configured by the user.) The files are always generated whether Java 8 or 9+, or whether jib.container.entrypoint is explicitly configured. The files can be helpful especially when setting a custom entrypoint for a shell script that needs to get the classpath and the main class computed by Jib, or for AppCDS. (#3280)
  • For Java 9+ apps, the default Java runtime classpath explicitly lists all the app dependencies, preserving the dependency loading order declared by Maven. This is done by changing the default entrypoint to use the new classpath JVM argument file (basically java -cp @/app/jib-classpath-file). As such, <container><expandClasspathDependencies> takes no effect for Java 9+. (#3280)
  • Timestamps of file entries in a tarball built with jib:buildTar are set to the epoch, making the tarball reproducible. (#3158)

See CHANGELOG.md for more details.

jib-gradle-plugin v3.1.0

Major Changes

  • For Google Artifact Registry (*-docker.pkg.dev), Jib now tries Google Application Default Credentials last like it has been doing for gcr.io. (#3241)
  • Jib now creates an additional layer that contains two small text files: /app/jib-classpath-file and /app/jib-main-class-file. They hold, respectively, the final Java runtime classpath and the main class computed by Jib that are suitable for app execution on JVM. For example, with Java 9+, setting the container entrypoint to java --class-path @/app/jib-classpath-file @/app/jib-main-class-file will work to start the app. (This is basically the default entrypoint set by Jib when the entrypoint is not explicitly configured by the user.) The files are always generated whether Java 8 or 9+, or whether jib.container.entrypoint is explicitly configured. The files can be helpful especially when setting a custom entrypoint for a shell script that needs to get the classpath and the main class computed by Jib, or for AppCDS. (#3280)
  • For Java 9+ apps, the default Java runtime classpath explicitly lists all the app dependencies, preserving the dependency loading order declared by Gradle. This is done by changing the default entrypoint to use the new classpath JVM argument file (basically java -cp @/app/jib-classpath-file). As such, jib.container.expandClasspathDependencies takes no effect for Java 9+. (#3280)
  • Timestamps of file entries in a tarball built with jibBuildTar are set to the epoch, making the tarball reproducible. (#3158)
  • Added lazy evaluation for jib.container.labels using Gradle Property and Provider. (#3242)

See CHANGELOG.md for more details.

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [jib-maven-plugin](https://github.com/GoogleContainerTools/jib) from 3.0.0 to 3.1.1.
- [Release notes](https://github.com/GoogleContainerTools/jib/releases)
- [Commits](https://github.com/GoogleContainerTools/jib/commits)

---
updated-dependencies:
- dependency-name: com.google.cloud.tools:jib-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Type: Pull requests that update a dependency file java Pull requests that update Java code labels Jun 15, 2021
@codecov
Copy link

codecov bot commented Jun 15, 2021

Codecov Report

Merging #2119 (6bf70c2) into master (0000d7b) will increase coverage by 21.57%.
The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff              @@
##             master    #2119       +/-   ##
=============================================
+ Coverage     57.92%   79.49%   +21.57%     
- Complexity        0     1922     +1922     
=============================================
  Files            56      377      +321     
  Lines          2491     9307     +6816     
  Branches        325      879      +554     
=============================================
+ Hits           1443     7399     +5956     
- Misses          903     1644      +741     
- Partials        145      264      +119     
Impacted Files Coverage Δ
...n/java/com/hedera/datagenerator/DataGenerator.java 0.00% <ø> (ø)
...dera/datagenerator/DataGeneratorConfiguration.java 0.00% <ø> (ø)
.../hedera/datagenerator/DataGeneratorProperties.java 0.00% <ø> (ø)
...agenerator/common/CryptoTransactionProperties.java 0.00% <ø> (ø)
...com/hedera/datagenerator/common/EntityManager.java 0.00% <ø> (ø)
...atagenerator/common/FileTransactionProperties.java 0.00% <ø> (ø)
...tagenerator/common/TopicTransactionProperties.java 0.00% <ø> (ø)
...era/datagenerator/common/TransactionGenerator.java 0.00% <ø> (ø)
...nerator/common/TransactionGeneratorProperties.java 0.00% <ø> (ø)
.../java/com/hedera/datagenerator/common/Utility.java 86.95% <ø> (ø)
... and 471 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 29171cf...6bf70c2. Read the comment docs.

@steven-sheehy steven-sheehy added this to the Mirror 0.36.0 milestone Jun 15, 2021
@steven-sheehy steven-sheehy merged commit 2012b0d into master Jun 15, 2021
@steven-sheehy steven-sheehy deleted the dependabot/maven/com.google.cloud.tools-jib-maven-plugin-3.1.1 branch June 15, 2021 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Type: Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant