Commit graph

209 commits

Author SHA1 Message Date
Ankush Menat
f019b4fab6
build(deps): update caniuse (#18866)
[skip ci]
2022-11-14 15:46:54 +05:30
Ankush Menat
43ccb40d0e chore: rollback to 3.10 for vuln checks
cython dependency fails

[skip ci]
2022-11-05 18:33:50 +05:30
Ankush Menat
0ed7600604
build: py3.11 support (#18550)
* chore: bump RestrictedPython

* ci: use py3.11 on development version

* fix: py311 compat changes

* chore: bump to final versions
2022-11-03 20:49:05 +05:30
dependabot[bot]
ce9570de56
build(deps): bump bruceadams/get-release from 1.2.3 to 1.3.1 (#18535)
Bumps [bruceadams/get-release](https://github.com/bruceadams/get-release) from 1.2.3 to 1.3.1.
- [Release notes](https://github.com/bruceadams/get-release/releases)
- [Commits](https://github.com/bruceadams/get-release/compare/v1.2.3...v1.3.1)

---
updated-dependencies:
- dependency-name: bruceadams/get-release
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

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

[skip ci]
2022-10-25 11:30:08 +05:30
dependabot[bot]
ab259343c2
build(deps): bump actions/checkout from 2 to 3 (#18442)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [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/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-18 10:07:56 +05:30
Ankush Menat
6de4d68b24
ci: disable test orchestrator (#18385) 2022-10-12 10:10:44 +05:30
mergify[bot]
f0952d0fbb
refactor: use file api to read import data (#18379) (#18382)
* refactor: use file api for reading data in import

* fix: remove unused import

Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>

Co-authored-by: Faris Ansari <netchampfaris@users.noreply.github.com>
Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
(cherry picked from commit 702e8674f94fde353ac12885f5782ea73ef75b6f)

Co-authored-by: Ankush Menat <ankush@frappe.io>
2022-10-11 21:59:43 +05:30
Ankush Menat
66710ae5c5
ci: Verify yarn lock file (#18336) 2022-10-10 13:45:49 +05:30
Ankush Menat
939bf872ae fix: use compact JSON representation for monitor 2022-09-25 15:07:30 +05:30
Ankush Menat
4263aace27 chore: dont run cypress on forks 2022-09-22 14:59:39 +05:30
Ankush Menat
f5a45a7e78 fix: erase default before adding new series-es 2022-09-10 13:14:23 +05:30
Ankush Menat
f07bc3b369 test(UI): use non-admin user for tests 2022-09-10 12:48:33 +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
f4434e9c80
ci: add alternate backport workflow 2022-09-08 15:23:22 +05:30
Ankush Menat
b47205ff01 chore: use PAT instead of GH token
[skip ci]
2022-09-06 19:00:43 +05:30
Ankush Menat
441fcc5159
ci: auto raise release PRs (#18048) 2022-09-06 18:47:34 +05:30
Ankush Menat
a5ab0c21cc
ci: lock old PR and issues 2022-09-02 19:08:22 +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
Ankush Menat
fbee80f734
perf: rebuild website search index in background (#17974)
* perf: rebuild website search index in background

* refactor: allow enqueueing jobs during migrate

This was added a long time ago to handle missing redis during migrate.
It is not the case right now as redis HAS to be availabe during
migration.

ref: https://github.com/frappe/frappe/pull/2988

* ci: pass correct build type

* chore: warn about redis unavailability
2022-08-26 17:41:07 +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
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
c9da8d87e5 ci: dont submit coverage if tests din't run 2022-08-16 11:49:08 +05:30
Ankush Menat
4391f8d0f1 ci: dont check python syntax for patch test
patch test runs across multiple versions, doesn't make sense here.
2022-08-16 10:53:28 +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
c5a514055e ci: dont fail silently and wait for coverage 2022-08-13 22:50:22 +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
eab85fc291 ci: stablilize coverage tracking 2022-08-13 21:30:40 +05:30
Ankush Menat
8cdb8298e2
ci: include v14 in patch test (#17807) 2022-08-12 19:27:24 +05:30
Ankush Menat
b46ea3eb0b ci: concurrency group per even types
refer: https://github.com/frappe/erpnext/pull/31806
2022-08-09 17:07:51 +05:30
dependabot[bot]
3c4840f208
chore(deps): bump actions/labeler from 3 to 4 (#17698)
Bumps [actions/labeler](https://github.com/actions/labeler) from 3 to 4.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](https://github.com/actions/labeler/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/labeler
  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>
2022-08-02 11:50:48 +05:30
Ankush Menat
01fbd035a7
ci: label test requirement (#17691)
[skip ci]
2022-08-01 15:30:03 +05:30
Gavin D'souza
d2a5b8b002 ci: Skip pre-commit on branch builds 2022-07-25 16:30:11 +05:30
Gavin D'souza
590e983a7f ci: Rename release action
release.yml was a bit ambiguous given we have separate action configs
related to release event or intent.
2022-07-25 15:26:17 +05:30
Gavin D'souza
1e40b32ebf ci: Combine actions to be triggered 'on release'
* Trigger static asset building & updating release assets
* Trigger Docker release build
2022-07-25 15:26:17 +05:30
Gavin D'souza
de97eaf603 ci: Merge vulnerable dependency check to linter action 2022-07-25 15:26:17 +05:30
Gavin D'souza
a7ab78bde1 ci(minor): Actions
* Rename CI actions to add database_type
* Add workflow_dispatch to assets build action on develop
* Rename unit test jobs for better labelling on PR check titles
* Rename Patch action for consistency
2022-07-25 15:26:12 +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
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
4eb1fe74a5 chore: dont fetch full repo
In most cases we need 10-50 previous commits. Checking out full repo is
time consuming and not required.
2022-07-19 12:03:18 +05:30
Ankush Menat
8ac7e32214
ci: check commit messages with commitlint (#17541) 2022-07-19 11:50:48 +05:30
Ankush Menat
c200f5b3ae ci: check build requirement before setting up python
[skip ci]
2022-07-15 12:03:47 +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
Gavin D'souza
db53813a68 ci(install): Set mariadb root password via envvar
ref: https://github.com/frappe/frappe/runs/7175643618
2022-07-04 20:21:28 +05:30
Gavin D'souza
65c6914068 ci: Bump mariadb from 10.3 to 10.6 2022-07-04 12:33:29 +05:30
Ankush Menat
234c8beed6
ci: faster patch test (#17386)
* ci: slightly faster patch test

This workflow doesn't seem to properly cache built versions :)

* ci: bump pyenv action to latest version

latest version has fix for tool cache


[skip ci]
2022-07-04 12:09:03 +05:30
Gavin D'souza
448f9573f5 ci: Separate PY / conflict validation step, merge install 2022-07-04 11:57:42 +05:30
Gavin D'souza
3f65dab6b2 Merge branch 'develop' of github.com:frappe/frappe into mariadb-client-refactor 2022-06-30 17:53:51 +05:30
Gavin D'souza
95ad77584a ci: Install bench CLI before switching pyenv 2022-06-30 15:49:27 +05:30