Skip to content

Unable to create build-response.json since the mounted folder is read-only #1771

@ohmayr

Description

@ohmayr

The librarian build command fails since the mounted /librarian folder is read only which restricts us to create a build-response.json file.

/usr/bin/docker run --rm -v /usr/local/google/home/omairn/git/googleapis/google-cloud-python/.librarian:/librarian:ro -v /usr/local/google/home/omairn/git/googleapis/google-cloud-python:/repo --user 1050142:89939 python-librarian-generator:latest build --librarian=/librarian --repo=/repo

Error:

nox > Session mypy-3.13 was successful.
Traceback (most recent call last):
  File "/app/./cli.py", line 383, in _run_nox_sessions
    with open(f"{librarian}/build-response.json", "w") as f:
OSError: [Errno 30] Read-only file system: '/librarian/build-response.json'

Metadata

Metadata

Assignees

Labels

🚨 criticalP0 critical issue. Fix immediately. Resolving this is the highest priority.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions