diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 0b836e119..21ad18bd7 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -13,4 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest - digest: sha256:e6d785d6de3cab027f6213d95ccedab4cab3811b0d3172b78db2216faa182e32 + digest: sha256:0527a86c10b67742c409dc726ba9a31ec4e69b0006e3d7a49b0e6686c59cdaa9 +# created: 2023-05-24T20:32:43.844586914Z diff --git a/.kokoro/release/docs-devsite.sh b/.kokoro/release/docs-devsite.sh index 2198e67fe..3596c1e4c 100755 --- a/.kokoro/release/docs-devsite.sh +++ b/.kokoro/release/docs-devsite.sh @@ -25,5 +25,6 @@ if [[ -z "$CREDENTIALS" ]]; then fi npm install -npm install --no-save @google-cloud/cloud-rad@^0.2.5 -npx @google-cloud/cloud-rad \ No newline at end of file +npm install --no-save @google-cloud/cloud-rad@^0.3.7 +# publish docs to devsite +npx @google-cloud/cloud-rad . cloud-rad diff --git a/samples/createSubscriptionWithDeadLetterPolicy.js b/samples/createSubscriptionWithDeadLetterPolicy.js index 5839ec0ca..708efc18a 100644 --- a/samples/createSubscriptionWithDeadLetterPolicy.js +++ b/samples/createSubscriptionWithDeadLetterPolicy.js @@ -61,7 +61,6 @@ async function createSubscriptionWithDeadLetterPolicy( console.log( `Created subscription ${subscriptionNameOrId} with dead letter topic ${deadLetterTopicNameOrId}.` ); - console.log( 'To process dead letter messages, remember to add a subscription to your dead letter topic.' ); diff --git a/samples/createSubscriptionWithExactlyOnceDelivery.js b/samples/createSubscriptionWithExactlyOnceDelivery.js index f28c0df91..6bbcb1422 100644 --- a/samples/createSubscriptionWithExactlyOnceDelivery.js +++ b/samples/createSubscriptionWithExactlyOnceDelivery.js @@ -55,7 +55,6 @@ async function createSubscriptionWithExactlyOnceDelivery( console.log( `Created subscription ${subscriptionNameOrId} with exactly-once delivery.` ); - console.log( 'To process messages, remember to check the return value of ackWithResponse().' ); diff --git a/samples/createSubscriptionWithOrdering.js b/samples/createSubscriptionWithOrdering.js index 92e432ca1..933260704 100644 --- a/samples/createSubscriptionWithOrdering.js +++ b/samples/createSubscriptionWithOrdering.js @@ -55,7 +55,6 @@ async function createSubscriptionWithOrdering( console.log( `Created subscription ${subscriptionNameOrId} with ordering enabled.` ); - console.log( 'To process messages in order, remember to add an ordering key to your messages.' ); diff --git a/samples/publishAvroRecords.js b/samples/publishAvroRecords.js index a4460b3c1..f40f3e418 100644 --- a/samples/publishAvroRecords.js +++ b/samples/publishAvroRecords.js @@ -80,7 +80,6 @@ async function publishAvroRecords(topicNameOrId) { console.log(`Unknown schema encoding: ${schemaEncoding}`); break; } - if (!dataBuffer) { console.log(`Invalid encoding ${schemaEncoding} on the topic.`); return; diff --git a/samples/publishMessage.js b/samples/publishMessage.js index beccf0fd4..2436b07fb 100644 --- a/samples/publishMessage.js +++ b/samples/publishMessage.js @@ -54,7 +54,6 @@ async function publishMessage(topicNameOrId, data) { console.log(`Message ${messageId} published.`); } catch (error) { console.error(`Received error while publishing: ${error.message}`); - process.exitCode = 1; } } diff --git a/samples/publishProtobufMessages.js b/samples/publishProtobufMessages.js index 9ef309359..bab100563 100644 --- a/samples/publishProtobufMessages.js +++ b/samples/publishProtobufMessages.js @@ -82,7 +82,6 @@ async function publishProtobufMessages(topicNameOrId) { console.log(`Unknown schema encoding: ${schemaEncoding}`); break; } - if (!dataBuffer) { console.log(`Invalid encoding ${schemaEncoding} on the topic.`); return;