David Arnold
0aa089b9f0
ci: remove obsolete helpers & fix coverage config setup ( #28603 )
...
* ci: remove obsolete helpers
* ci: fix coverage
2024-11-28 00:00:21 +00:00
David Arnold
61a107b6af
ci: make gh actions functions ( #28299 )
...
* ci: make gh actions downstream reusable
* refactor: merge ci helper into run-parallel-test command
* ci: refactor to sensible db password
2024-10-27 02:09:02 +00:00
David
b77f112fb2
ci: measure bench install times and control verbosity
2024-10-04 15:22:53 +02:00
David
f0ba65eb9b
ci: improve reporting
2024-10-04 15:22:49 +02:00
David
d03900c0e8
ci: add description to ci helper script
2024-10-04 15:22:45 +02:00
David
9288ad2a9c
ci: add description to roullette script
2024-10-04 15:22:36 +02:00
David
9f6b97b214
ci: split up install
...
when init fails, this separates long log sections and keeps github responsive
2024-09-12 02:06:43 +02:00
David
2e6004cc12
ci: split up install prepare
2024-09-12 01:31:27 +02:00
barredterra
ea5aec20d0
ci: explicitly stage pot file
...
Avoid accidentally adding any other changed files, like yarn.lock, to the commit.
2024-06-27 19:44:28 +02:00
Ankush Menat
33547a6354
ci: group output and limit diff
...
Verbose outut is MASSIVE and unreadable.
2024-03-20 14:23:08 +05:30
Ankush Menat
69dad391e4
Merge branch 'develop' into potfile-ci
2024-02-29 09:58:02 +05:30
Akhil Narang
3f1e19de85
refactor(treewide): enable RUF rules
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-02-21 16:20:28 +05:30
barredterra
fe907673b4
ci: fix issues in POT script
2024-02-11 20:26:25 +01:00
Akhil Narang
26ae0f3460
fix: ruff fixes
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-02-07 17:04:31 +05:30
Ankush Menat
064d97cafe
ci: only capture coverage on non-pull jobs ( #24783 )
2024-02-06 09:19:03 +00:00
Ankush Menat
4dce9d0d37
ci: skip UI test for PO files ( #24581 )
2024-01-29 11:17:04 +00:00
barredterra
9d6cbd0c15
fix: typos
2024-01-24 02:41:03 +01:00
barredterra
9008580f8d
ci: auto-generate potfile
2024-01-19 19:19:46 +01:00
Ankush Menat
3905e8970a
test: smtp integration test using smtp4dev
2023-11-04 15:26:40 +05:30
Ankush Menat
5f46f98699
ci: remove mysql ( #21811 )
2023-07-26 14:31:03 +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
Ankush Menat
af03b76c88
perf: Preload and share common python modules
2023-06-24 21:24:02 +05:30
Ankush Menat
699e744617
ci: restart bench in patch test
...
also show bench output
2023-06-10 20:47:27 +05:30
Raffael Meyer
f7f575acbd
ci: copy docs checker from erpnext ( #20441 )
...
[skip ci]
2023-03-24 08:53:34 +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
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
290a3df68d
chore!: drop backup.py direct calls + pragma nocov
2022-12-13 14:18:19 +05:30
Raffael Meyer
7484ebacb5
ci(deps): install mariadb 10.6 ( #19166 )
2022-12-07 00:23:35 +05:30
Ankush Menat
b0cb1adc01
ci: config cleanup and bump coverage
2022-11-09 15:58:46 +05:30
mergify[bot]
939d926b91
feat: Added Subscription Banner for remotely logging into FrappeCloud dashboard from site (backport #18263 ) ( #18281 )
...
* feat: Added Subscription Banner for remotely logging into FrappeCloud dashboard from site (#18263 )
* feat: added Subscription Banner and Manage Subscription button
* feat[patch]: added a patch for adding `Manage Subscription` button in
navbar_settings
* chore: removed console ;)
* refactor: make the `Manage Subscription` navbar item optional
* keep it hidden by default, only show when the site configs are present
* style: prettier, isort and stuff
* chore: handling null responses, translation and refactored patch
* fix: correct index reset
* perf: reduce network/db calls
If not sys manager then why make a request?
* fix: removed network call and added subscription_expiry to boot process
* chore: added enable_manage_susbcriptions as daily background job and refactored patch
* chore: added hook to hooks.py
* this looks clean enough, also don't have insert for child tables ;)
Co-authored-by: Ankush Menat <ankush@frappe.io>
(cherry picked from commit 68f315d372cc8c6e41f2aabda61eba0d42dcf6e4)
# Conflicts:
# frappe/patches.txt
* chore: conflicts
* style: format
[skip ci]
Co-authored-by: Rutwik Hiwalkar <50401596+rutwikhdev@users.noreply.github.com>
2022-10-03 16:41:12 +05:30
Ankush Menat
967cc26fab
feat: capture custom values in frappe monitor
...
lets monitor add extra info for:
- Save/Submit by doctype
- Report generation time by standard report name
2022-09-25 15:07:30 +05:30
Ritwik Puri
fddaa2da57
Merge pull request #17910 from phot0n/remove-event-streaming
...
refactor!: remove event streaming
2022-09-08 22:00:45 +05:30
Ankush Menat
236ab8dbed
ci: separate cache for UI jobs and selective test
...
This is reusing normal cache which doesn't contain half the things
2022-09-02 17:47:30 +05:30
phot0n
5d943a4b6e
ci: create only one site/db for CI
...
* removed producer and consumer db and sites
* changed db_names to test_frappe
* moved site_config under helper/db dir
2022-08-26 00:54:13 +05:30
Ankush Menat
8950c4170b
ci: only wait for assets in server task
...
[skip ci]
2022-08-25 23:22:06 +05:30
Ankush Menat
9d06979b2d
ci: misc ci things ( #17960 )
...
* ci: skipped jobs should exit with neutral status
* ci: dont cache NPM
We don't use npm, why is this even here?
* ci: supress non-failure compile messages
1000s of files make it difficult to find where failure actually occured.
* ci: install wkhtml after other deps
two apt processes clash each other and waste time till lock is released.
Also silence download... no one cares.
* ci: build assets concurrently
* style: clean up messy bash script
* ci: rename patch job
2022-08-25 19:16:25 +05:30
Ankush Menat
3ec4a618e3
test: FrappeClient tests not skipped ( #17843 )
2022-08-16 14:10:12 +05:30
gavin
953b6bde2c
ci: Use separate script outside frappe
...
This is an attempt to calculate python coverage more accurately
Co-Authored-By: Ankush Menat <ankush@frappe.io>
2022-08-14 12:57:31 +05:30
Ankush Menat
936c073d23
Revert "ci: Only upload server-side coverage report if .py files are changed"
...
partially reverts this PR https://github.com/frappe/frappe/pull/16048
This is causing random fluctations.
2022-08-13 21:30:42 +05:30
Ankush Menat
c8843e8703
ci: dont install from mariadb repo
2022-07-29 16:36:35 +05:30
Gavin D'souza
4289e7c7ea
ci: Merge PR linter checks
...
* Combine jobs to be triggered at pull_request events: commit-lint,
docs-required, linter
* PY310-ize helper scripts
2022-07-25 14:33:30 +05:30
Gavin D'souza
31658e5241
ci: Install wkhtmltopdf in the background
2022-07-25 13:07:53 +05:30
Gavin D'souza
d23705f60c
ci: Cleanup install.sh
2022-07-25 13:06:07 +05:30
gavin
d285ce910f
Merge branch 'develop' into mariadb-client-refactor
2022-07-22 12:11:54 +05:30
Ankush Menat
d2177d16a1
ci: bump node version to node16 ( #17564 )
...
* ci: bump node version to node16
* chore: remove `node-sass` - no longer used
Co-authored-by: Sagar Vora <sagar@resilient.tech>
2022-07-21 16:54:41 +05:30
Gavin D'souza
1ccdad811a
Merge branch 'develop' of github.com:frappe/frappe into mariadb-client-refactor
2022-07-19 16:23:24 +05:30
Ankush Menat
3a7c7ff182
ci: ignore HTML files for server tests
2022-07-13 20:30:07 +05:30
Gavin D'souza
1723a6dc9d
ci: Add mariadb system dependency
2022-07-05 16:16:46 +05:30
Gavin D'souza
71b5c77e6e
Merge branch 'develop' of github.com:frappe/frappe into mariadb-client-refactor
2022-07-05 14:55:02 +05:30