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

feat: check status of long running operation by its name #114

Merged
merged 1 commit into from
May 6, 2020

Conversation

alexander-fenster
Copy link
Contributor

For each client method returning a long running operation, a separate method to check its status is added.

Added methods: checkCreateBuildProgress, checkRetryBuildProgress, checkRunBuildTriggerProgress.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 6, 2020
@codecov
Copy link

codecov bot commented May 6, 2020

Codecov Report

Merging #114 into master will increase coverage by 0.50%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #114      +/-   ##
==========================================
+ Coverage   98.22%   98.72%   +0.50%     
==========================================
  Files           5        5              
  Lines        2254     2362     +108     
  Branches      105      111       +6     
==========================================
+ Hits         2214     2332     +118     
+ Misses         39       29      -10     
  Partials        1        1              
Impacted Files Coverage Δ
src/v1/cloud_build_client.ts 98.64% <100.00%> (+0.54%) ⬆️

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 7b55f19...d630abe. Read the comment docs.

@alexander-fenster alexander-fenster added the automerge Merge the pull request once unit tests and other checks pass. label May 6, 2020
For each client method returning a long running operation, a separate method to check its status is added.

Added methods: `checkCreateBuildProgress`, `checkRetryBuildProgress`, `checkRunBuildTriggerProgress`.
@gcf-merge-on-green gcf-merge-on-green bot merged commit 7b50a74 into master May 6, 2020
gcf-merge-on-green bot pushed a commit that referenced this pull request Jun 16, 2020
🤖 I have created a release \*beep\* \*boop\* 
---
## [2.0.0](https://www.github.com/googleapis/nodejs-cloudbuild/compare/v1.5.0...v2.0.0) (2020-06-11)


### ⚠ BREAKING CHANGES

* The library now supports Node.js v10+. The last version to support Node.js v8 is tagged legacy-8 on NPM.

### Features

* add time-to-live in a queue for builds ([04e3387](https://www.github.com/googleapis/nodejs-cloudbuild/commit/04e3387af33a7ab39eb0c4df47ce08026507b499))
* check status of long running operation by its name ([#114](https://www.github.com/googleapis/nodejs-cloudbuild/issues/114)) ([7b50a74](https://www.github.com/googleapis/nodejs-cloudbuild/commit/7b50a74c098e782393f92140a37e3bd26f45e77d))
* drop node8 support, support for async iterators ([#91](https://www.github.com/googleapis/nodejs-cloudbuild/issues/91)) ([74a195d](https://www.github.com/googleapis/nodejs-cloudbuild/commit/74a195d5cdf63dab1ac3d0d52ef42e1254ab3a2e))
* improve support for x-goog-request-params ([#111](https://www.github.com/googleapis/nodejs-cloudbuild/issues/111)) ([e08d640](https://www.github.com/googleapis/nodejs-cloudbuild/commit/e08d64017e059c911ebe55055c26a0ab76481d86))
* move ts target to es2018 from es2016 ([#121](https://www.github.com/googleapis/nodejs-cloudbuild/issues/121)) ([59c5477](https://www.github.com/googleapis/nodejs-cloudbuild/commit/59c547744519ef9e8d073ea3ecdb81248176a71a))


### Bug Fixes

* remove eslint, update gax, fix generated protos, run the generator ([#100](https://www.github.com/googleapis/nodejs-cloudbuild/issues/100)) ([aafb9cc](https://www.github.com/googleapis/nodejs-cloudbuild/commit/aafb9cc7745b4d5d6dce58f17763f76379af733f))
* synth.py clean up for multiple version ([#115](https://www.github.com/googleapis/nodejs-cloudbuild/issues/115)) ([aa7d99b](https://www.github.com/googleapis/nodejs-cloudbuild/commit/aa7d99b9c02267808cac07f7691f5ce62f06ca14))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
automerge Merge the pull request once unit tests and other checks pass. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants