Skip to content

Commit 6dbec18

Browse files
ldetmergemini-code-assist[bot]jskeet
authored
chore: Update language onboarding guidelines to include container runtime specs (#2633)
fixes #2611 --------- Signed-off-by: ldetmer <[email protected]> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: Jon Skeet <[email protected]>
1 parent 1060946 commit 6dbec18

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/language-onboarding.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@ need to be executable by any user ID within the container.
5757
* Create a docker file for your container [example](https://github.com/googleapis/google-cloud-go/blob/main/internal/librariangen/Dockerfile)
5858
* Create a cloudbuild file [example](https://github.com/googleapis/google-cloud-go/blob/main/internal/librariangen/cloudbuild-exitgate.yaml) that uploads your image to us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-dev
5959

60+
### Guidelines on Language Container Runtimes
61+
62+
You should be able to run the `generate` or `release-init` commands for an API such as Google Cloud Functions in less than a
63+
minute. We understand that some libraries may take longer to process, however, long runtimes can adversely affect your
64+
ability to roll out emergency changes. While the CLI typically calls the container only for libraries with changes, a
65+
generator update could trigger a run for all your libraries.
66+
6067
### Implement Container Contracts
6168

6269
The following sections detail the contracts for each container command.

0 commit comments

Comments
 (0)