Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

doc: document how to run samples using Bazel #1228

Merged
merged 2 commits into from
Jan 31, 2020
Merged

doc: document how to run samples using Bazel #1228

merged 2 commits into from
Jan 31, 2020

Conversation

coryan
Copy link
Contributor

@coryan coryan commented Jan 30, 2020

Update the README.md generate to include instructions to build the
and run the examples using Bazel.

This PR changes the target name from

//google/cloud/spanner/samples:spanner_client_samples

to

//google/cloud/spanner/samples:samples

The latter seems easier to explain.

This fixes #1133


This change is Reviewable

Update the README.md generate to include instructions to build the
and run the examples using Bazel.
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 30, 2020
@coryan coryan marked this pull request as ready for review January 30, 2020 20:53
Copy link
Contributor

@devjgm devjgm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks.

I'm looking at the Java getting started guide here, https://cloud.google.com/spanner/docs/getting-started/java#before-you-begin

So I'm thinking that @antfitch will need to extract some parts of this info into a new Getting started in C++ doc. But that's fine, and this looks like good, clear steps that can be copied.

README.md Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Jan 30, 2020

Codecov Report

Merging #1228 into master will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #1228      +/-   ##
=========================================
+ Coverage   94.78%   94.8%   +0.01%     
=========================================
  Files         185     185              
  Lines       13850   13849       -1     
=========================================
+ Hits        13128   13129       +1     
+ Misses        722     720       -2
Impacted Files Coverage Δ
google/cloud/spanner/keys.h 100% <0%> (ø) ⬆️
...on_tests/rpc_failure_threshold_integration_test.cc 85.71% <0%> (+0.15%) ⬆️
google/cloud/spanner/internal/spanner_stub.cc 70.65% <0%> (+1.08%) ⬆️
google/cloud/spanner/internal/retry_loop.h 100% <0%> (+4.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 d5c0877...f1ee7a2. Read the comment docs.

@coryan coryan merged commit 47dcf3d into googleapis:master Jan 31, 2020
@coryan coryan deleted the add-instructions-to-run-examples-pr2 branch January 31, 2020 03:22
devjgm pushed a commit to devjgm/google-cloud-cpp that referenced this pull request May 7, 2020
…-cpp-spanner#1228)

Update the README.md generate to include instructions to build the
and run the examples using Bazel.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Need easy instructions for running "samples" commands
4 participants