Commit graph

374 commits

Author SHA1 Message Date
Ankush Menat
00f20f43c6
build: add setproctitle as dependency (#24007)
* build: add setproctitle as dependency

RQ and other tools use it to automatically set a useful proc title

* ci: print all bench logs after running tests

This can help reveal failures from background jobs etc
2023-12-28 20:50:27 +05:30
dependabot[bot]
fff9635328
build(deps): bump actions/setup-python from 4 to 5 (#23743)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-12 14:10:44 +05:30
dependabot[bot]
811d167552
build(deps): bump actions/labeler from 4 to 5
Bumps [actions/labeler](https://github.com/actions/labeler) from 4 to 5.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](https://github.com/actions/labeler/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/labeler
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 18:03:58 +00:00
Ankush Menat
4cc1392697 ci: report all errors to sentry
This can be useful.
2023-11-30 17:34:15 +05:30
Ankush Menat
21e8abf899
build: python 3.12 support (#22706)
* ci: use python 3.12

We'll use minimum versions on stable branch CI configs.

* build(deps): bump dependencies

- Some for v12 support
- some just for new stuff
2023-11-23 11:42:51 +05:30
Ankush Menat
1a3f39daa0
chore: readme logo on dark theme (#23358)
closes https://github.com/frappe/frappe/issues/23352
2023-11-22 16:20:20 +05:30
dependabot[bot]
97ae9667d9
build(deps): bump dessant/lock-threads from 4 to 5
Bumps [dessant/lock-threads](https://github.com/dessant/lock-threads) from 4 to 5.
- [Release notes](https://github.com/dessant/lock-threads/releases)
- [Changelog](https://github.com/dessant/lock-threads/blob/main/CHANGELOG.md)
- [Commits](https://github.com/dessant/lock-threads/compare/v4...v5)

---
updated-dependencies:
- dependency-name: dessant/lock-threads
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-20 18:57:30 +00:00
Ankush Menat
3905e8970a test: smtp integration test using smtp4dev 2023-11-04 15:26:40 +05:30
dependabot[bot]
8b0efd5d4f
chore(deps): bump actions/setup-node from 3 to 4 (#22881)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-24 12:14:47 +05:30
Ankush Menat
14279bf74a
ci: update ci config to consider v15 (#22822) 2023-10-19 15:39:05 +05:30
gavin
c706040c31
ci: Add Coveragerc (#22530) 2023-10-16 18:24:16 +05:30
Ankush Menat
05d7646ab2 chore: disable beta releases 2023-10-11 12:21:29 +05:30
Suraj Shetty
6bcafb1730 ci: Add codecov_token to fix codecov issue 2023-09-25 17:12:22 +05:30
Ankush Menat
662b07170c test: orpahned doctype check after patch test 2023-09-15 16:18:25 +05:30
Ankush Menat
b6d65fea06 ci: update patch workflow
- start with v13 DB, drop py3.7
- New flow v13DB -> V14 -> V15 (when released) -> PR commit
- Restart bench before final migrate
2023-09-15 16:18:25 +05:30
dependabot[bot]
78d481760c
chore(deps): bump actions/checkout from 3 to 4 (#22310)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 10:41:55 +05:30
Ankush Menat
81d7dc6b00
chore: increase stale window
[skip ci]
2023-08-24 23:21:30 +05:30
Ankush Menat
06b86206ef
ci: make auto-merge work with skipped tests (#22070) 2023-08-16 05:55:55 +00:00
Ankush Menat
5f46f98699
ci: remove mysql (#21811) 2023-07-26 14:31:03 +05:30
Ankush Menat
6dda420176 ci: dont run tests on every push
Rationale:
- PRs already run test by merging PR in develop branch (this is how
  github works)
- Running tests on practically identical code JUST after merge rarely
  helpes. This has found failures from conflicting changes maybe once or
  twice a year. That much CO2 is not justified.
- Instead added daily scheduled tests so things like cypress dashboards
  still work and a *bisect* if requried in future can be done.
2023-07-19 12:15:41 +05:30
Ankush Menat
c3119af5b6 ci: unpin semgrep 2023-07-14 14:29:21 +05:30
Ankush Menat
fdf5350b77 ci: remove 'by mergify' in release notes
less clutter
2023-07-12 12:42:41 +05:30
Ankush Menat
17aad073d7
ci: fix release notes generator (#21651)
Without quotes it gets splatted and treated as separate args. Yes, bash.
2023-07-12 12:06:35 +05:30
Ankush Menat
0665712c1d ci: auto release beta 2023-07-10 12:47:36 +05:30
Ankush Menat
a63398778e perf: tune gc by default
This is running on several prod site without any noticable problems, so
making it default behaviour.

Opt out by setting env variable `FRAPPE_TUNE_GC=False`
2023-07-02 16:29:19 +05:30
Suraj Shetty
5581f960da chore: Update node version requirement in build config 2023-06-26 09:14:17 +05:30
Ankush Menat
af03b76c88 perf: Preload and share common python modules 2023-06-24 21:24:02 +05:30
Ankush Menat
085eb41245
ci: use multiple python version in patch test (#21443)
* ci: bump pyenv action

* ci: set default python version in patch test

* ci: setup pyenv manually

* ci: replace pyenv with setup-action

* debug

* use multiple python versions directly

* Revert "debug"

This reverts commit 692cbc0c9a407b86647ee09079fdde1510f300d7.

* setup py with --python flag
2023-06-22 13:48:20 +05:30
Ankush Menat
c2a562b82e
ci: debug patch workflow failure (#21369) 2023-06-14 11:45:03 +05:30
David Arnold
5d074f3237
ci: fix patch workflow (#21363) 2023-06-14 08:56:09 +05:30
Ankush Menat
6f4a7ddf10 Revert "build(deps)!: Require NodeJS 18 as minimum version (#21303)"
This reverts commit 67cd951013.
2023-06-11 11:40:22 +05:30
Ankush Menat
699e744617 ci: restart bench in patch test
also show bench output
2023-06-10 20:47:27 +05:30
Ankush Menat
67cd951013
build(deps)!: Require NodeJS 18 as minimum version (#21303) 2023-06-10 19:22:57 +05:30
Sagar Vora
6065179080
chore: bump requests, chardet, and dropbox to latest versions (#21080)
* chore: bump `requests` and `chardet`

* chore: bump `dropbox` to `11.36.0`, ignore `GHSA-4xqq-73wg-5mjp` during pip-audit
2023-05-24 15:05:50 +05:30
Sagar Vora
41dc220e02
ci: name step that installs and runs pip-audit (#20591) 2023-04-05 06:12:15 +05:30
Raffael Meyer
f7f575acbd
ci: copy docs checker from erpnext (#20441)
[skip ci]
2023-03-24 08:53:34 +05:30
Raffael Meyer
d8101cdf69
ci: print any vulnerabilities found (#20044)
[skip ci]
2023-02-15 11:41:50 +05:30
Ankush Menat
29be4a544e
ci: broken patch tests (#20010)
* Revert "chore: hard pin patch python versions"

This reverts commit aae3bac0b1.

* Revert "chore(deps): bump gabrielfalcao/pyenv-action from 10 to 13 (#19940)"

This reverts commit c525268084.
2023-02-13 16:17:18 +05:30
Ankush Menat
aae3bac0b1 chore: hard pin patch python versions
[skip ci]
2023-02-13 11:34:20 +05:30
dependabot[bot]
c525268084
chore(deps): bump gabrielfalcao/pyenv-action from 10 to 13 (#19940)
Bumps [gabrielfalcao/pyenv-action](https://github.com/gabrielfalcao/pyenv-action) from 10 to 13.
- [Release notes](https://github.com/gabrielfalcao/pyenv-action/releases)
- [Commits](https://github.com/gabrielfalcao/pyenv-action/compare/v10...v13)

---
updated-dependencies:
- dependency-name: gabrielfalcao/pyenv-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

[skip ci]
2023-02-10 19:52:47 +05:30
Ankush Menat
c0fab395a7 ci(vuln check): skip dropbox package and use cache 2023-01-27 09:05:56 +05:30
Ankush Menat
f5771baf66
ci: use GITHUB_TOKEN for roulette api calls (#19537)
This is safe cuz we set read only permission on this token in workflows.

NOTE: Changing permission type is dangerous here!
2023-01-09 17:09:59 +05:30
Ankush Menat
92a705f8fd
ci: retry if rate limited in roulette (#19523)
[skip ci]
2023-01-09 13:11:22 +05:30
Ankush Menat
ac5b86cab1
ci: use node18 for releases (#19525)
Node <18 isn't supported anymore

> [semantic-release]: node version >=18 is required. Found v14.21.1.

> See https://github.com/semantic-release/semantic-release/blob/master/docs/support/node-version.md for more details and solutions.

[skip ci]
2023-01-09 13:10:26 +05:30
Ankush Menat
9f02f37849
chore: new forum URL
[skip ci]
2023-01-03 16:11:47 +05:30
Sagar Vora
0e40dff4d7
chore: bump gitpython to 3.1.30 (#19446) 2023-01-01 16:00:11 +05:30
Bread Genie
9e79df9802
ci: use $GITHUB_OUTPUT instead of set-output (#19389)
* refactor(boilerplate): use `$GITHUB_OUTPUT` instead of `set-output`

* ci: use `$GITHUB_OUTPUT` instead of `set-output`

* fix: remove unterminated string literal
2022-12-22 14:16:09 +05:30
Ankush Menat
1ab85a66c5 ci: better release notes generation (#19380)
[skip ci]
2022-12-21 12:14:35 +05:30
Sagar Vora
1fbead137c
chore: ignore vuln GHSA-hcpj-qp55-gfph during pip audit (#19328) 2022-12-17 11:51:23 +05:30
Ankush Menat
290a3df68d chore!: drop backup.py direct calls + pragma nocov 2022-12-13 14:18:19 +05:30