Skip to content

Commit fc6a1af

Browse files
authored
feat(generator): generate quickstart scaffold (#7676)
Modify the generator to also create a scaffold for the quickstart program. Then I used the generator to create the scaffold for the `logging`, `pubsublite`, `secretmanager`, and `tasks` libraries. The generated code requires some editing, but these are fairly small. These quickstarts are compiled in the `cmake-install` build, where we can compile them in parallel. This was very useful, it found several bugs in the generated CMake files.
1 parent b92933b commit fc6a1af

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+2463
-60
lines changed

Diff for: .bazelignore

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ cmake-build-release/
77
google/cloud/bigquery/quickstart/
88
google/cloud/bigtable/quickstart/
99
google/cloud/iam/quickstart/
10+
google/cloud/logging/quickstart/
11+
google/cloud/pubsublite/quickstart/
1012
google/cloud/pubsub/quickstart/
13+
google/cloud/secretmanager/quickstart/
1114
google/cloud/spanner/quickstart/
1215
google/cloud/storage/quickstart/
16+
google/cloud/tasks/quickstart/

Diff for: .codecov.yml

+3
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ ignore:
1717
- "google/cloud/iam"
1818
- "google/cloud/logging"
1919
- "google/cloud/spanner/admin"
20+
- "google/cloud/pubsublite"
21+
- "google/cloud/secretmanager"
22+
- "google/cloud/tasks"

Diff for: ci/cloudbuild/builds/cmake-install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ done
170170

171171
# Tests the installed artifacts by building and running the quickstarts.
172172
# shellcheck disable=SC2046
173-
libraries="$(printf ";%s" $(quickstart::libraries))"
173+
libraries="$(printf ";%s" $(features::list | grep -v experimental-))"
174174
libraries="${libraries:1}"
175175
cmake -G Ninja \
176176
-S "${PROJECT_ROOT}/ci/verify_quickstart" \

0 commit comments

Comments
 (0)