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
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
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
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
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
b46ea3eb0b
ci: concurrency group per even types
...
refer: https://github.com/frappe/erpnext/pull/31806
2022-08-09 17:07:51 +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
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
Gavin D'souza
448f9573f5
ci: Separate PY / conflict validation step, merge install
2022-07-04 11:57:42 +05:30
Gavin D'souza
fddd624a7c
Merge branch 'develop' of github.com:frappe/frappe into mariadb-client-refactor
2022-06-30 14:31:52 +05:30
Gavin D'souza
404d5a3cd7
build!: Bump minimum Python version to 3.10
...
Given how widespread PY310's usage has become, and how we're just a
few months away from PY311 major release. This is a slightly late
bumping but necessary to ensure smoother updates & maintenance for
Frappe, ERPNext & other apps in the coming years. Almost all people
who participated in the pool from the community as well as Frappe team
voted (via active telegram groups) PY310 as their preferred minimum
requirement for v14.
2022-06-30 13:11:26 +05:30
Gavin D'souza
cf699fe40b
Merge branch 'develop' of github.com:frappe/frappe into mariadb-client-refactor
2022-06-29 13:49:18 +05:30
Gavin D'souza
bd3d7bf3ed
ci: Run test builds on min requirement PY38
...
Since version pinned in pyproject.toml is 38 & we've been running on 39,
we've pushed a few incompatible changes since :crie:
2022-06-29 10:44:55 +05:30
Gavin D'souza
aa83965313
ci(ui-tests): Print 'bench start' log on failure
...
Co-authored-by: Ankush Menat <ankush@frappe.io>
2022-06-27 12:19:54 +05:30
dependabot[bot]
e12d37a943
build(deps): bump actions/checkout from 2 to 3
...
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>
2022-06-20 18:40:35 +00:00
dependabot[bot]
b04bffe439
build(deps): bump codecov/codecov-action from 2 to 3 ( #17219 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 2 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: codecov/codecov-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>
2022-06-20 11:50:10 +05:30
dependabot[bot]
dd5a9e0d9c
build(deps): bump actions/cache from 2 to 3 ( #17220 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/cache
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-06-20 11:49:09 +05:30
dependabot[bot]
7570c0e2a1
build(deps): bump actions/setup-node from 2 to 3 ( #17222 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v2...v3 )
---
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>
2022-06-20 11:48:32 +05:30
dependabot[bot]
dd8aabcc2f
build(deps): bump actions/setup-python from 2 to 4 ( #17218 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 2 to 4.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v2...v4 )
---
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>
2022-06-20 11:48:06 +05:30
Suraj Shetty
b0503fc839
Merge branch 'develop' into add-more-instance-for-UI
2022-06-16 12:25:09 +05:30
Suraj Shetty
1298b39bb3
ci: Add one more instance for faster UI tests execution
2022-06-16 12:07:19 +05:30
Gavin D'souza
59ab6531c9
ci: Invalidate GHA pip cache on pyproject or setup changes
...
- Cache invalidated if any of the files change: *requirements.txt,
pyproject.toml, setup.py or setup.cfg
- Updated boilerplate for new apps too
2022-06-15 15:05:37 +05:30
Naveen
fd8af163ba
ci: Set permissions for GitHub actions ( #17102 )
...
chore: Set permissions for GitHub actions
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.
- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ )
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-08 11:55:16 +05:30
Suraj Shetty
5de89df5b7
ci: Only upload server-side coverage report if .py files are changed
2022-02-21 09:32:44 +05:30
Suraj Shetty
4e24efda8f
ci: Exclude coverage.py and build.py from the report
2022-02-16 17:44:14 +05:30
Suraj Shetty
20056a447f
ci: Track server-side coverage as well while doing UI tests
2022-02-16 17:21:59 +05:30
Suraj Shetty
da5779dc43
ci: Run cypress tests on each re-run
...
- using $GITHUB_RUN_ID-$GITHUB_RUN_ATTEMPT to keep each re-run unique
- Previously, cypress used to just return "Run finished" (without actually re-running the test) after re-running the GA build (without updating the code). This used to give false impression that all tests are passed.
2022-01-25 13:46:18 +05:30
Ankush Menat
d79450c501
ci: add timeout to CI jobs ( #15000 )
...
once a day some job gets stuck and default timeout is 6 hours.
Changed timeout to 1 hour which is 3-4x more than max running time of
all jobs.
2021-11-17 15:37:28 +05:30
Gavin D'souza
42acb7647f
ci: Upgrade Py37 to Py39
2021-10-07 20:33:50 +05:30
MitulDavid
b798b96deb
ci: Set Codecov flags to categorize coverage
2021-10-04 08:21:40 +05:30
Suraj Shetty
4d435e271e
Merge branch 'develop' into coverage
2021-09-30 23:11:26 +05:30
MitulDavid
eeae52bbf9
ci: Use file-existence-action instead of hashFiles()
2021-09-22 19:07:32 +05:30
Mitul David
eb16a09a57
ci: Upload coverage only if report is generated
2021-09-21 20:26:14 +05:30
MitulDavid
d8d8c8e54e
ci: Code coverage for JS files
2021-09-20 21:11:47 +05:30
Ankush Menat
765a255a00
ci: use ubuntu-latest for all jobs
2021-08-31 22:31:50 +05:30
Ankush Menat
132864a776
ci: extend concurrency control to all long jobs
2021-08-27 23:08:09 +05:30
Gavin D'souza
e2585cbc7e
ci(roulette): Add support for running on forks
2021-08-25 13:46:09 +05:30