Simon Willison
59a5d336bd
Configured and applied isort, refs #516
2023-08-22 19:07:10 -07:00
Simon Willison
bd39cb4805
Use service-specific image ID for Cloud Run deploys, refs #2036
2023-03-08 12:25:55 -08:00
Simon Willison
82167105ee
--min-instances and --max-instances Cloud Run publish options, closes #1779
2022-08-14 10:07:30 -07:00
Simon Willison
e64d14e413
Use type integer for --timeout, refs #1717
2022-04-24 07:09:08 -07:00
Tim Sherratt
3001e1e394
Add timeout option to Cloudrun build ( #1717 )
...
* Add timeout option for build phase
* Make the --timeout setting optional
* Add test for --timeout setting
Thanks, @wragge
2022-04-24 07:03:08 -07:00
Simon Willison
515f8d38eb
Help summaries for publish cloudrun/heroku
2022-01-13 16:12:54 -08:00
Simon Willison
a1f3830356
--cpu option for datasette publish cloudrun, closes #1420
2021-08-03 22:20:50 -07:00
Konstantin Baikov
8e18c79431
Use context manager instead of plain open ( #1211 )
...
Context manager with open closes the files after usage.
When the object is already a pathlib.Path i used read_text
write_text functions
In some cases pathlib.Path.open were used in context manager,
it is basically the same as builtin open.
Thanks, Konstantin Baikov!
2021-03-11 08:15:49 -08:00
Simon Willison
e1efa9b7a3
force_https_urls on for publish cloudrun, refs #1178
2021-01-06 10:13:34 -08:00
Simon Willison
37d18a5bce
datasette publish cloudrun --apt-get-install, closes #1110
2020-11-24 19:05:35 -08:00
Simon Willison
30e64c8d3b
Use f-strings in place of .format()
...
Code transformed like so:
pip install flynt
flynt .
black .
2020-11-15 15:24:22 -08:00
Simon Willison
98632f0a87
--secret command for datasette publish
...
Closes #787
2020-06-11 09:02:03 -07:00
Simon Willison
af9cd4ca64
Fixes for new --memory option, refs #694
2020-03-05 17:44:15 -06:00
Simon Willison
ddd11b3ddd
--memory option for publish cloudrun, refs #694
2020-03-05 17:34:36 -06:00
Katie McLaughlin
34d77d780f
gcloud run is now GA, s/beta// ( #660 )
...
Thanks, @glasnt
2020-01-21 15:28:11 -08:00
Simon Willison
83fc5165ac
Improved UI for publish cloudrun, closes #608
2019-11-07 18:48:39 -08:00
Simon Willison
3e864b1625
Use --platform=managed for publish cloudrun, closes #587
2019-10-17 14:51:45 -07:00
Simon Willison
973f8f139d
--plugin-secret option for datasette publish
...
Closes #543
Also added new --show-files option to publish now and publish cloudrun - handy for debugging.
2019-07-07 19:06:31 -07:00
Simon Willison
f825e20121
Run black and update docs for #457
2019-05-09 09:48:13 -07:00
Simon Willison
b80b03ac9a
datasette publish cloudrun --service=x, closes #457
2019-05-09 09:45:01 -07:00
Simon Willison
35d6ee2790
Apply black to everything, enforce via unit tests ( #449 )
...
I've run the black code formatting tool against everything:
black tests datasette setup.py
I also added a new unit test, in tests/test_black.py, which will fail if the code does not
conform to black's exacting standards.
This unit test only runs on Python 3.6 or higher, because black itself doesn't run on 3.5.
2019-05-03 22:15:14 -04:00
Romain Primet
75a21fc2a1
datasette publish cloudrun ( #434 ) - thanks, @rprimet
...
New publish subcommand that publishes using the
new Google Cloud Run platform.
datasette publish cloudrun database.db
2019-05-03 09:59:01 -04:00