From 345a0570df0f7dd8c8266785689610e62e4b61ae Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 8 Apr 2020 20:55:07 -0700 Subject: [PATCH] chore: update common templates (#137) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/39c06e45-efe9-45a2-98fc-54de7a19f352/targets --- java-resourcemanager/.kokoro/common.sh | 14 ++++++++++++-- .../.kokoro/nightly/integration.cfg | 15 +++++++++++++++ java-resourcemanager/README.md | 4 ++-- java-resourcemanager/synth.metadata | 12 ++++++++++-- 4 files changed, 39 insertions(+), 6 deletions(-) diff --git a/java-resourcemanager/.kokoro/common.sh b/java-resourcemanager/.kokoro/common.sh index a3bbc5f67963..8f09de5d3d10 100644 --- a/java-resourcemanager/.kokoro/common.sh +++ b/java-resourcemanager/.kokoro/common.sh @@ -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 diff --git a/java-resourcemanager/.kokoro/nightly/integration.cfg b/java-resourcemanager/.kokoro/nightly/integration.cfg index 8bf59c02edd6..ca027480092f 100644 --- a/java-resourcemanager/.kokoro/nightly/integration.cfg +++ b/java-resourcemanager/.kokoro/nightly/integration.cfg @@ -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 { diff --git a/java-resourcemanager/README.md b/java-resourcemanager/README.md index cdb72e506d84..bf091ab26a4e 100644 --- a/java-resourcemanager/README.md +++ b/java-resourcemanager/README.md @@ -35,8 +35,6 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file ``` -[//]: # ({x-version-update-start:google-cloud-resourcemanager:released}) - If you are using Maven without BOM, add this to your dependencies: ```xml @@ -48,6 +46,8 @@ If you are using Maven without BOM, add this to your dependencies: ``` +[//]: # ({x-version-update-start:google-cloud-resourcemanager:released}) + If you are using Gradle, add this to your dependencies ```Groovy compile 'com.google.cloud:google-cloud-resourcemanager:0.117.2-alpha' diff --git a/java-resourcemanager/synth.metadata b/java-resourcemanager/synth.metadata index fd0cf7be7d05..27f65156c6e1 100644 --- a/java-resourcemanager/synth.metadata +++ b/java-resourcemanager/synth.metadata @@ -1,11 +1,19 @@ { - "updateTime": "2020-04-07T00:22:02.106712Z", + "updateTime": "2020-04-09T02:24:34.499763Z", "sources": [ + { + "git": { + "name": ".", + "remote": "https://github.com/googleapis/java-resourcemanager.git", + "sha": "8ea245d10fa6f42ccc7df42ee51e36e62cae214d" + } + }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "e36822bfa0acb355502dab391b8ef9c4f30208d8" + "sha": "7f8e62aa3edd225f76347a16f92e400661fdfb52", + "log": "7f8e62aa3edd225f76347a16f92e400661fdfb52\nchore(java): release-please only updates non maven versions in README (#476)\n\nPrevent 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.\nc7e0e517d7f46f77bebd27da2e5afcaa6eee7e25\nbuild(java): fix nightly integration test config to run integrations (#465)\n\nThis was only running the units.\nbd69a2aa7b70875f3c988e269706b22fefbef40e\nbuild(java): fix retry_with_backoff when -e option set (#475)\n\n\nd9b173c427bfa0c6cca818233562e7e8841a357c\nfix: record version of working repo in synth.metadata (#473)\n\nPartial revert of b37cf74d12e9a42b9de9e61a4f26133d7cd9c168.\nf73a541770d95a609e5be6bf6b3b220d17cefcbe\nfeat(discogapic): allow local discovery-artifact-manager (#474)\n\n\n8cf0f5d93a70c3dcb0b4999d3152c46d4d9264bf\ndoc: describe the Autosynth & Synthtool protocol (#472)\n\n* doc: describe the Autosynth & Synthtool protocol\n\n* Accommodate review comments.\n980baaa738a1ad8fa02b4fdbd56be075ee77ece5\nfix: pin sphinx to <3.0.0 as new version causes new error (#471)\n\nThe error `toctree contains reference to document changlelog that doesn't have a title: no link will be generated` occurs as of 3.0.0. Pinning to 2.x until we address the docs build issue.\n\nTowards #470\n\nI did this manually for python-datastore https://github.com/googleapis/python-datastore/pull/22\n928b2998ac5023e7c7e254ab935f9ef022455aad\nchore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.15 (#466)\n\nCo-authored-by: Jeffrey Rennie \n188f1b1d53181f739b98f8aa5d40cfe99eb90c47\nfix: allow local and external deps to be specified (#469)\n\nModify noxfile.py to allow local and external dependencies for\nsystem tests to be specified.\n1df68ed6735ddce6797d0f83641a731c3c3f75b4\nfix: apache license URL (#468)\n\n\nf4a59efa54808c4b958263de87bc666ce41e415f\nfeat: Add discogapic support for GAPICBazel generation (#459)\n\n* feat: Add discogapic support for GAPICBazel generation\n\n* reformat with black\n\n* Rename source repository variable\n\nCo-authored-by: Jeffrey Rennie \n99820243d348191bc9c634f2b48ddf65096285ed\nfix: update template files for Node.js libraries (#463)\n\n\n3cbe6bcd5623139ac9834c43818424ddca5430cb\nfix(ruby): remove dead troubleshooting link from generated auth guide (#462)\n\n\na003d8655d3ebec2bbbd5fc3898e91e152265c67\ndocs: remove \"install stable\" instructions (#461)\n\nThe package hasn't been released to PyPI in some time\nf5e8c88d9870d8aa4eb43fa0b39f07e02bfbe4df\nchore(python): add license headers to config files; make small tweaks to templates (#458)\n\n\n" } } ]