Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Commit

Permalink
chore: update common templates (#66)
Browse files Browse the repository at this point in the history
* chore: release 1.0.1 (#51)

02aa33a
commit 02aa33a
Author: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Date:   Wed Apr 8 17:58:05 2020 +0000

    chore: release 1.0.1 (#51)

    🤖 I have created a release \*beep\* \*boop\*
    ---
    ### [1.0.1](https://www.github.com/googleapis/java-billing/compare/v1.0.0...v1.0.1) (2020-04-08)

    ### Dependencies

    * update core dependencies ([#35](https://www.github.com/googleapis/java-billing/issues/35)) ([786a990](https://www.github.com/googleapis/java-billing/commit/786a990da7631ed593da390451f9d7789871d86d))
    * update core dependencies ([#37](https://www.github.com/googleapis/java-billing/issues/37)) ([aa4e69e](https://www.github.com/googleapis/java-billing/commit/aa4e69ee5b1fa0f2012346b932d107cac914fd2d))
    * update dependency com.google.api:api-common to v1.9.0 ([#55](https://www.github.com/googleapis/java-billing/issues/55)) ([1e10269](https://www.github.com/googleapis/java-billing/commit/1e10269e561576eff869f960e0ceb695b6e94008))
    * update dependency com.google.cloud:google-cloud-core to v1.93.4 ([#62](https://www.github.com/googleapis/java-billing/issues/62)) ([a5d1152](https://www.github.com/googleapis/java-billing/commit/a5d1152e094942225ec33ec7a888fac572b33cbc))
    * update dependency org.threeten:threetenbp to v1.4.3 ([#46](https://www.github.com/googleapis/java-billing/issues/46)) ([dd501d5](https://www.github.com/googleapis/java-billing/commit/dd501d5cdff1ca9e930c92abc56209da44e45af3))
    ---

    This PR was generated with [Release Please](https://github.com/googleapis/release-please).

* build(java): fix retry_with_backoff when -e option set (#475)

googleapis/synthtool@bd69a2a
commit bd69a2aa7b70875f3c988e269706b22fefbef40e
Author: Jeff Ching <chingor@google.com>
Date:   Wed Apr 8 14:01:08 2020 -0700

    build(java): fix retry_with_backoff when -e option set (#475)

* build(java): fix nightly integration test config to run integrations (#465)

googleapis/synthtool@c7e0e51
commit c7e0e517d7f46f77bebd27da2e5afcaa6eee7e25
Author: Jeff Ching <chingor@google.com>
Date:   Wed Apr 8 14:06:04 2020 -0700

    build(java): fix nightly integration test config to run integrations (#465)

    This was only running the units.

* chore(java): release-please only updates non maven versions in README (#476)

googleapis/synthtool@7f8e62a
commit 7f8e62aa3edd225f76347a16f92e400661fdfb52
Author: Jeff Ching <chingor@google.com>
Date:   Wed Apr 8 14:14:25 2020 -0700

    chore(java): release-please only updates non maven versions in README (#476)

    Prevent release-please and synthtool from fighting over the released library version. Synthtool updates the install snippets from the samples pom.xml files so the bots fight if they are temporarily out of sync after a release.
  • Loading branch information
yoshi-automation committed Apr 8, 2020
1 parent 02aa33a commit 5aa065f
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 9 deletions.
14 changes: 12 additions & 2 deletions .kokoro/common.sh
Expand Up @@ -13,18 +13,28 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# set -eo pipefail

function retry_with_backoff {
attempts_left=$1
sleep_seconds=$2
shift 2
command=$@


# store current flag state
flags=$-

# allow a failures to continue
set +e
echo "${command}"
${command}
exit_code=$?

# restore "e" flag
if [[ ${flags} =~ e ]]
then set -e
else set +e
fi

if [[ $exit_code == 0 ]]
then
return 0
Expand Down
15 changes: 15 additions & 0 deletions .kokoro/nightly/integration.cfg
Expand Up @@ -6,11 +6,26 @@ env_vars: {
value: "gcr.io/cloud-devrel-kokoro-resources/java8"
}

env_vars: {
key: "JOB_TYPE"
value: "integration"
}

env_vars: {
key: "GCLOUD_PROJECT"
value: "gcloud-devel"
}

env_vars: {
key: "ENABLE_BUILD_COP"
value: "true"
}

env_vars: {
key: "GOOGLE_APPLICATION_CREDENTIALS"
value: "keystore/73713_java_it_service_account"
}

before_action {
fetch_keystore {
keystore_resource {
Expand Down
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -32,19 +32,19 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file

```

[//]: # ({x-version-update-start:google-cloud-billing:released})

If you are using Maven without BOM, add this to your dependencies:

```xml
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-billing</artifactId>
<version>1.0.1</version>
<version>1.0.0</version>
</dependency>

```

[//]: # ({x-version-update-start:google-cloud-billing:released})

If you are using Gradle, add this to your dependencies
```Groovy
compile 'com.google.cloud:google-cloud-billing:1.0.1'
Expand Down

0 comments on commit 5aa065f

Please sign in to comment.