Skip to content

Commit

Permalink
Update version strings for 1.5.0 plugins/0.10.1 core (GoogleContainer…
Browse files Browse the repository at this point in the history
  • Loading branch information
TadCordle authored Aug 16, 2019
1 parent d3c2309 commit 6a93c35
Show file tree
Hide file tree
Showing 19 changed files with 44 additions and 24 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,12 @@ To use a local build of the `jib-gradle-plugin`:
mavenCentral()
}
dependencies {
classpath 'com.google.cloud.tools:jib-gradle-plugin:1.4.1-SNAPSHOT'
classpath 'com.google.cloud.tools:jib-gradle-plugin:1.5.1-SNAPSHOT'
}
}

plugins {
// id 'com.google.cloud.tools.jib' version '1.4.0'
// id 'com.google.cloud.tools.jib' version '1.5.0'
}

// Applies the java plugin after Jib to make sure it works in this order.
Expand Down
2 changes: 1 addition & 1 deletion examples/dropwizard/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<dropwizard-template-config.version>1.5.0</dropwizard-template-config.version>

<jib.container.appRoot>/app</jib.container.appRoot>
<jib-maven-plugin.version>1.4.0</jib-maven-plugin.version>
<jib-maven-plugin.version>1.5.0</jib-maven-plugin.version>
</properties>

<dependencyManagement>
Expand Down
2 changes: 1 addition & 1 deletion examples/helloworld/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'java'
id 'com.google.cloud.tools.jib' version '1.4.0'
id 'com.google.cloud.tools.jib' version '1.5.0'
}

sourceCompatibility = 1.8
Expand Down
2 changes: 1 addition & 1 deletion examples/helloworld/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jib-maven-plugin.version>1.4.0</jib-maven-plugin.version>
<jib-maven-plugin.version>1.5.0</jib-maven-plugin.version>
<maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
</properties>

Expand Down
2 changes: 1 addition & 1 deletion examples/java-agent/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'java'
id 'com.google.cloud.tools.jib' version '1.4.0'
id 'com.google.cloud.tools.jib' version '1.5.0'
id 'de.undercouch.download' version '3.4.0'
id "com.gorylenko.gradle-git-properties" version "1.5.2"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/java-agent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jib-maven-plugin.version>1.4.0</jib-maven-plugin.version>
<jib-maven-plugin.version>1.5.0</jib-maven-plugin.version>
<maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
<download-maven-plugin.version>1.4.1</download-maven-plugin.version>
<git-commit-id-plugin.version>2.2.5</git-commit-id-plugin.version>
Expand Down
2 changes: 1 addition & 1 deletion examples/micronaut/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
id 'groovy'
id 'io.spring.dependency-management' version '1.0.6.RELEASE'
id 'net.ltgt.apt-idea' version '0.18'
id 'com.google.cloud.tools.jib' version '1.4.0'
id 'com.google.cloud.tools.jib' version '1.5.0'
}

version '0.1'
Expand Down
2 changes: 1 addition & 1 deletion examples/multi-module/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
dependencies {
classpath 'org.springframework.boot:spring-boot-gradle-plugin:2.0.3.RELEASE'
classpath 'io.spring.gradle:dependency-management-plugin:1.0.6.RELEASE'
classpath 'gradle.plugin.com.google.cloud.tools:jib-gradle-plugin:1.4.0'
classpath 'gradle.plugin.com.google.cloud.tools:jib-gradle-plugin:1.5.0'
}
}

Expand Down
2 changes: 1 addition & 1 deletion examples/multi-module/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<version>1.4.0</version>
<version>1.5.0</version>
</plugin>
</plugins>
</pluginManagement>
Expand Down
2 changes: 1 addition & 1 deletion examples/spring-boot/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
id 'idea'
id 'org.springframework.boot' version '2.1.6.RELEASE'
id 'io.spring.dependency-management' version '1.0.6.RELEASE'
id 'com.google.cloud.tools.jib' version '1.4.0'
id 'com.google.cloud.tools.jib' version '1.5.0'
}

repositories {
Expand Down
2 changes: 1 addition & 1 deletion examples/spring-boot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<version>1.4.0</version>
<version>1.5.0</version>
</plugin>
</plugins>
</build>
Expand Down
2 changes: 1 addition & 1 deletion examples/vertx/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'io.vertx.vertx-plugin' version '0.1.0'
id 'com.google.cloud.tools.jib' version '1.4.0'
id 'com.google.cloud.tools.jib' version '1.5.0'
}

repositories {
Expand Down
8 changes: 8 additions & 0 deletions jib-core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.

### Added

### Changed

### Fixed

## 0.10.1

### Added

- `JavaContainerBuilder#setLastModifiedTimeProvider` to set file timestamps ([#1818](https://github.com/GoogleContainerTools/jib/pull/1818))

### Changed
Expand Down
4 changes: 2 additions & 2 deletions jib-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ Add Jib Core as a dependency using Maven:
<dependency>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-core</artifactId>
<version>0.10.0</version>
<version>0.10.1</version>
</dependency>
```

Add Jib Core as a dependency using Gradle:

```groovy
dependencies {
compile 'com.google.cloud.tools:jib-core:0.10.0'
compile 'com.google.cloud.tools:jib-core:0.10.1'
}
```

Expand Down
2 changes: 1 addition & 1 deletion jib-core/examples/build.gradle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.google.cloud.tools:jib-core:0.10.0'
classpath 'com.google.cloud.tools:jib-core:0.10.1'
}
}
Expand Down
10 changes: 8 additions & 2 deletions jib-gradle-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.

### Added

### Changed

### Fixed

## 1.5.0

### Added

- Can now set timestamps (last modified time) of the files in the built image with `jib.container.filesModificationTime`. The value should either be `EPOCH_PLUS_SECOND` to set the timestamps to Epoch + 1 second (default behavior), or an ISO 8601 date time parsable with [`DateTimeFormatter.ISO_DATE_TIME`](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/format/DateTimeFormatter.html) such as `2019-07-15T10:15:30+09:00` or `2011-12-03T22:42:05Z` ([#1818](https://github.com/GoogleContainerTools/jib/pull/1818))
- Can now set container creation timestamp with `jib.container.creationTime`. The value should be `EPOCH`, `USE_CURRENT_TIMESTAMP`, or an ISO 8601 date time ([#1609](https://github.com/GoogleContainerTools/jib/issues/1609))
- For Google Container Registry (gcr.io), Jib now tries [Google Application Default Credentials](https://developers.google.com/identity/protocols/application-default-credentials) (ADC) last when no credentials can be retrieved. ADC are available on many Google Cloud Platform (GCP) environments (such as Google Cloud Build, Google Compute Engine, Google Kubernetes Engine, and Google App Engine). Application Default Credentials can also be configured with `gcloud auth application-default login` locally or through the `GOOGLE_APPLICATION_CREDENTIALS` environment variable. ([#1902](https://github.com/GoogleContainerTools/jib/pull/1902))
Expand All @@ -14,8 +22,6 @@ All notable changes to this project will be documented in this file.
- When building to a registry, Jib now skips downloading and caching base image layers that already exist in the target registry. This feature will be particularly useful in CI/CD environments. However, if you want to force caching base image layers locally, set the system property `-Djib.alwaysCacheBaseImage=true` ([#1840](https://github.com/GoogleContainerTools/jib/pull/1840))
- `jib.container.useCurrentTimestamp` has been deprecated in favor of `jib.container.creationTime` with `USE_CURRENT_TIMESTAMP` ([#1609](https://github.com/GoogleContainerTools/jib/issues/1609))

### Fixed

## 1.4.0

### Added
Expand Down
2 changes: 1 addition & 1 deletion jib-gradle-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ In your Gradle Java project, add the plugin to your `build.gradle`:

```groovy
plugins {
id 'com.google.cloud.tools.jib' version '1.4.0'
id 'com.google.cloud.tools.jib' version '1.5.0'
}
```

Expand Down
10 changes: 8 additions & 2 deletions jib-maven-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.

### Added

### Changed

### Fixed

## 1.5.0

### Added

- Can now set file timestamps (last modified time) in the image with `<container><filesModificationTime>`. The value should either be `EPOCH_PLUS_SECOND` to set the timestamps to Epoch + 1 second (default behavior), or an ISO 8601 date time parsable with [`DateTimeFormatter.ISO_DATE_TIME`](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/format/DateTimeFormatter.html) such as `2019-07-15T10:15:30+09:00` or `2011-12-03T22:42:05Z` ([#1818](https://github.com/GoogleContainerTools/jib/pull/1818))
- Can now set container creation timestamp with `<container><creationTime>`. The value should be `EPOCH`, `USE_CURRENT_TIMESTAMP`, or an ISO 8601 date time ([#1609](https://github.com/GoogleContainerTools/jib/issues/1609))
- For Google Container Registry (gcr.io), Jib now tries [Google Application Default Credentials](https://developers.google.com/identity/protocols/application-default-credentials) (ADC) last when no credentials can be retrieved. ADC are available on many Google Cloud Platform (GCP) environments (such as Google Cloud Build, Google Compute Engine, Google Kubernetes Engine, and Google App Engine). Application Default Credentials can also be configured with `gcloud auth application-default login` locally or through the `GOOGLE_APPLICATION_CREDENTIALS` environment variable. ([#1902](https://github.com/GoogleContainerTools/jib/pull/1902))
Expand All @@ -14,8 +22,6 @@ All notable changes to this project will be documented in this file.
- When building to a registry, Jib now skips downloading and caching base image layers that already exist in the target registry. This feature will be particularly useful in CI/CD environments. However, if you want to force caching base image layers locally, set the system property `-Djib.alwaysCacheBaseImage=true` ([#1840](https://github.com/GoogleContainerTools/jib/pull/1840))
- `<container><useCurrentTimestamp>` has been deprecated in favor of `<container><creationTime>` with `USE_CURRENT_TIMESTAMP` ([#1609](https://github.com/GoogleContainerTools/jib/issues/1609))

### Fixed

## 1.4.0

### Added
Expand Down
6 changes: 3 additions & 3 deletions jib-maven-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ For information about the project, see the [Jib project README](../README.md).
You can containerize your application easily with one command:

```shell
mvn compile com.google.cloud.tools:jib-maven-plugin:1.4.0:build -Dimage=<MY IMAGE>
mvn compile com.google.cloud.tools:jib-maven-plugin:1.5.0:build -Dimage=<MY IMAGE>
```

This builds and pushes a container image for your application to a container registry. *If you encounter authentication issues, see [Authentication Methods](#authentication-methods).*

To build to a Docker daemon, use:

```shell
mvn compile com.google.cloud.tools:jib-maven-plugin:1.4.0:dockerBuild
mvn compile com.google.cloud.tools:jib-maven-plugin:1.5.0:dockerBuild
```

If you would like to set up Jib as part of your Maven build, follow the guide below.
Expand All @@ -63,7 +63,7 @@ In your Maven Java project, add the plugin to your `pom.xml`:
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<version>1.4.0</version>
<version>1.5.0</version>
<configuration>
<to>
<image>myimage</image>
Expand Down

0 comments on commit 6a93c35

Please sign in to comment.