Skip to content

librarian: rework configure container contract #769

@codyoss

Description

@codyoss

Reference: go/librarian:cli-reimagined

context type description
/librarian mount (read/write) This mount will contain exactly one file named configure-request.json. The container is expected to process this request and write a file back to this mount named configure-response.json. Both of these files use the schema of a library defined above in the state file. The container may wish to add more context to the library configuration which it expresses back to librarian via this message passing. It will then be librarians responsibility to commit these changes to the state.yaml file in the language repository.
/input mount (read/write) The exact contents of the generator-input folder, e.g. google-cloud-go/.librarian/generator-input. This folder has read/write access to allow the container to add any new language specific configuration required.
/source mount (read) This folder is mounted into the container. It contains, for example, the whole contents of googleapis. This will be needed in order to read the service config files and likely also the BUILD.bazel files that hold a lot of configuration today.
command Positional Argument

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions