I'm a bit confused about immutable mode and publishing to cloudrun. (I want to publish with immutable mode so that I can support database downloads.)
Running datasette publish cloudrun --extra-options="-i example.db" leads to an error:
Error: Invalid value for '-i' / '--immutable': Path 'example.db' does not exist.
However, running datasette publish cloudrun example.db not only works but seems to publish in immutable mode anyway! I'm seeing this both with /-/databases.json and the fact that downloads are working.
When I just datasette serve locally, this succeeds both ways and works as expected.
I'm a bit confused about immutable mode and publishing to cloudrun. (I want to publish with immutable mode so that I can support database downloads.)
Running
datasette publish cloudrun --extra-options="-i example.db"
leads to an error:However, running
datasette publish cloudrun example.db
not only works but seems to publish in immutable mode anyway! I'm seeing this both with/-/databases.json
and the fact that downloads are working.When I just
datasette serve
locally, this succeeds both ways and works as expected.