semantic-release-bot
0060fa0b09
chore(release): Bumped to Version 5.21.0
...
# [5.21.0](https://github.com/frappe/bench/compare/v5.20.0...v5.21.0 ) (2024-01-24)
### Bug Fixes
* add safety filter for untarring ([e8ea985
](e8ea98552c
))
* check if installed FF supports use-cached ([d177d8f
](d177d8ff63
))
* prevent circular dependency ([7bcea60
](7bcea6099d
))
* remove rem check from app-cache --clear ([4e170a2
](4e170a2042
))
* remove unused nodemodules before caching ([0e2e8b4
](0e2e8b4da3
))
* update install_app with using_cached flag ([10bb5a4
](10bb5a4794
))
* version check before AbsoluteLinkError ([3502c77
](3502c776c0
))
* version check before data_filter import ([80f2e70
](80f2e70af6
))
* wrap tarfile with error handling ([30f301e
](30f301e3ff
))
* wrong help string ([7a89ccd
](7a89ccd53a
))
### Features
* add bench app-cache helper command ([42ac015
](42ac015bff
))
* cache get-app artifacts by commit_hash ([87d4aa3
](87d4aa3b10
))
* comment out unsupported typing ([23bd717
](23bd717d7b
))
* set `startretries` in supervisor configuration ([deadc7c
](deadc7c7c2
))
### Performance Improvements
* add Cache-Control header for assets ([8d3270e
](8d3270e4ad
))
2024-01-24 07:54:45 +00:00
Ankush Menat
bc5f8463c5
Merge branch 'staging' into v5.x
2024-01-24 13:22:00 +05:30
Ankush Menat
c88c15f193
Merge branch 'develop' into staging
2024-01-24 13:21:43 +05:30
Ankush Menat
d84a05ed2a
ci: use node20 for release
2024-01-24 13:21:14 +05:30
18alantom
0ecc940e03
Merge branch 'staging' into v5.x
2024-01-24 12:48:30 +05:30
18alantom
e4bf665ff6
Merge branch 'develop' into staging
2024-01-24 12:46:20 +05:30
Alan
38822f7871
Merge pull request #1523 from frappe/add-tar-safety
...
fix: add safety filter for untarring
2024-01-24 12:22:12 +05:30
18alantom
3502c776c0
fix: version check before AbsoluteLinkError
2024-01-24 12:11:04 +05:30
18alantom
80f2e70af6
fix: version check before data_filter import
...
- better error handling if untar fails
2024-01-24 11:58:03 +05:30
18alantom
23bd717d7b
feat: comment out unsupported typing
2024-01-23 17:26:08 +05:30
18alantom
e8ea98552c
fix: add safety filter for untarring
2024-01-23 17:20:16 +05:30
Alan
36c3cf4415
Merge pull request #1519 from frappe/get-app-cache
...
feat: cache get-app artifacts by commit_hash
2024-01-23 16:20:25 +05:30
Alan
8c125c6f62
Merge branch 'develop' into get-app-cache
2024-01-23 15:07:13 +05:30
18alantom
a3d0c2cf9c
chore: bump Jinja appease CI
2024-01-23 13:40:21 +05:30
18alantom
4e170a2042
fix: remove rem check from app-cache --clear
2024-01-19 19:28:57 +05:30
18alantom
c5ec4f7528
chore: rename commit-hash to cache-key
2024-01-19 19:18:13 +05:30
18alantom
42ac015bff
feat: add bench app-cache helper command
2024-01-19 14:59:28 +05:30
18alantom
30f301e3ff
fix: wrap tarfile with error handling
...
- ensure return to cwd after tarring
2024-01-18 18:06:08 +05:30
18alantom
0e2e8b4da3
fix: remove unused nodemodules before caching
2024-01-18 17:44:25 +05:30
18alantom
683a421e43
refactor: use env to trigger using-cached flag
...
Click supports pulling args from an envvar if it is present,
this would be quicker and cleaner than calling a dummy command
to check if the feature is supported
2024-01-18 16:23:04 +05:30
18alantom
d177d8ff63
fix: check if installed FF supports use-cached
2024-01-18 13:04:50 +05:30
Ankush Menat
8d3270e4ad
perf: add Cache-Control header for assets
...
closes https://github.com/frappe/bench/issues/1154
2024-01-17 20:38:47 +05:30
Akhil Narang
20ccfdff8f
Merge pull request #1520 from akhilnarang/supervisor-startretries
...
feat: set startretries in supervisor configuration
2024-01-15 16:34:51 +05:30
18alantom
10bb5a4794
fix: update install_app with using_cached flag
2024-01-15 15:56:45 +05:30
Akhil Narang
deadc7c7c2
feat: set startretries
in supervisor configuration
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-01-15 14:23:24 +05:30
18alantom
7bcea6099d
fix: prevent circular dependency
...
- put check_existing_dir back in its place
2024-01-15 13:40:26 +05:30
Akhil Narang
9460a46ac3
chore: simplify output of bench setup supervisor
when supervisor isn't installed
...
Seeing the whole stacktrace isn't too useful here
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-01-15 13:34:58 +05:30
Akhil Narang
7a89ccd53a
fix: wrong help string
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-01-15 13:33:49 +05:30
18alantom
87d4aa3b10
feat: cache get-app artifacts by commit_hash
2024-01-15 12:02:47 +05:30
Himanshu Shivhare
209f716b5b
chore: fix typo ( #1517 )
2024-01-11 14:13:18 +05:30
semantic-release-bot
5f8e6fb064
chore(release): Bumped to Version 5.20.0
...
# [5.20.0](https://github.com/frappe/bench/compare/v5.19.0...v5.20.0 ) (2024-01-10)
### Bug Fixes
* more reliable gunicorn restart ([2ec0c0a
](2ec0c0a95a
))
### Features
* pass verbose to npm install ([00391bf
](00391bfeb9
))
* pass verbose to yarn install ([346d08d
](346d08d30f
))
* **supervisor:** restart each group separately ([839bd7c
](839bd7c630
))
2024-01-10 17:42:13 +00:00
Ankush Menat
ce6ebb2592
Merge branch 'staging' into v5.x
2024-01-10 23:11:18 +05:30
Ankush Menat
93fc1cc0de
Merge branch 'develop' into staging
2024-01-10 23:10:14 +05:30
Ankush Menat
0056cdf310
Merge pull request #1507 from akhilnarang/optimize-restart
...
feat(supervisor): restart each group separately
2024-01-10 23:05:57 +05:30
Akhil Narang
839bd7c630
feat(supervisor): restart each group separately
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2023-12-07 16:12:10 +05:30
Ankush Menat
a834d864bb
Merge pull request #1486 from revant/fix-verbose
...
fix: pass verbose to yarn or npm install
2023-11-29 11:19:45 +05:30
Ankush Menat
2ec0c0a95a
fix: more reliable gunicorn restart
...
killasgroup will ensure that all child processes die even if gunicorn
fails to do it. This isn't truly required because stopwaitsecs and
gunicorn graceful timeout work fine. In any case, if supervisor has to
send SIGKILL, it better send it to entire process group.
2023-11-03 21:38:47 +05:30
semantic-release-bot
dc4bb21057
chore(release): Bumped to Version 5.19.0
...
# [5.19.0](https://github.com/frappe/bench/compare/v5.18.0...v5.19.0 ) (2023-11-02)
### Bug Fixes
* Prevent Gunicorn child workers hangup ([36f2194
](36f2194865
))
### Features
* flag to setup bench with developer mode enabled ([f29e25a
](f29e25a5d2
))
2023-11-02 14:20:17 +00:00
Ankush Menat
f7fec3012f
Merge branch 'staging' into v5.x
2023-11-02 19:49:16 +05:30
Ankush Menat
b253e35302
Merge branch 'develop' into staging
2023-11-02 19:45:55 +05:30
Ankush Menat
255c9301e9
Merge pull request #1494 from frappe/dev_bench
...
feat: flag to setup bench with developer mode enabled
2023-11-02 19:45:27 +05:30
Ankush Menat
f29e25a5d2
feat: flag to setup bench with developer mode enabled
...
Dev dependencies are not installed if developer_mode is not enabled.
When creating a new bench it's not possible to modify this config
upfront, so offer a flag to do it instead.
Note:
- Disabled by default.
- Very few people need this, those who write and run tests locally primarily.
- You mostly should not do this in CI, do `bench setup requirements --dev` explicitly instead.
2023-11-02 14:28:21 +05:30
Ankush Menat
52f704777b
Merge pull request #1493 from frappe/timeout
...
fix: Prevent Gunicorn child workers hangup
2023-11-02 12:11:09 +05:30
Ankush Menat
36f2194865
fix: Prevent Gunicorn child workers hangup
...
Problem:
- Prerequisite: long running reqeust is going on.
- `bench restart` is requested.
- supervisord sends sigterm to gunicorn master process.
- gunicorn passes it to all child table and waits for graceful shutdown (30 seconds)
- supervisord has no chill, and sends sigkill to master process in 10 seconds
- gunicorn master proesss is dead, so now child workers will keep running until they complete request which can take a really long time.
- This entire time the sites will be down.
Fix:
- Explicitly encode default graceful_timeout in config - 30 seconds.
- Make supervisor wait 10 more seconds for gunicorn to do its thing, then only send sigkill.
2023-11-02 11:40:07 +05:30
semantic-release-bot
786c9faaf9
chore(release): Bumped to Version 5.18.0
...
# [5.18.0](https://github.com/frappe/bench/compare/v5.17.2...v5.18.0 ) (2023-10-21)
### Bug Fixes
* **easy-install:** set default site to site1.localhost ([fde7a82
](fde7a8209d
))
* image replace and site creation ([f93f065
](f93f065ba3
))
* nodejs redis v4 interprets localhost as ipv6 address ([697939e
](697939e205
))
* override X-Forwarded-For address in bench manager ([53a8fed
](53a8fedadc
))
### Features
* allow custom image in easy install ([8ba685c
](8ba685cc50
))
2023-10-21 06:03:35 +00:00
Ankush Menat
0122ef17bf
Merge branch 'staging' into v5.x
2023-10-21 11:32:41 +05:30
Ankush Menat
ce1ec43f73
Merge branch 'develop' into staging
2023-10-21 11:31:50 +05:30
Ankush Menat
53a8fedadc
fix: override X-Forwarded-For address in bench manager
2023-10-19 17:06:21 +05:30
Ankush Menat
96f1229648
Merge pull request #1489 from akhilnarang/mysql-to-mariadb
...
refactor(treewide): use `mariadb` commands and service instead of `mysql`
2023-10-10 15:09:31 +05:30
Akhil Narang
8f3f1a48a6
refactor(treewide): use mariadb
commands and service instead of mysql
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2023-10-10 13:49:03 +05:30