mergify[bot]
b661c1a669
build(deps): bump bruceadams/get-release from 1.2.3 to 1.3.1 ( #18535 ) ( #18549 )
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]
(cherry picked from commit ce9570de56
)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 роки тому
Ankush Menat
702e8674f9
refactor: use file api to read import data ( #18379 )
* 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>
2 роки тому
mergify[bot]
3524dfd1d4
ci: Verify yarn lock file ( #18336 ) ( #18338 )
(cherry picked from commit 66710ae5c5
)
Co-authored-by: Ankush Menat <ankush@frappe.io>
2 роки тому
Ankush Menat
66592827f4
fix: make --record optional for cypress tests #18341
2 роки тому
Ankush Menat
e510104a7d
chore: record UI runs
2 роки тому
mergify[bot]
38d15d38fa
test(UI): non-admin user for UI tests and misc fixes (backport #17995 ) ( #18079 )
* test(UI): use non-admin user for tests
(cherry picked from commit f07bc3b369
)
# Conflicts:
# .github/workflows/ui-tests.yml
* test: fix tests using admin account
(cherry picked from commit a6b341bd59
)
# Conflicts:
# cypress/integration/dashboard_links.js
* test: add test role to user
(cherry picked from commit 0896873c8a
)
* chore: conflicts
* test: fix broken test
Not sure why there's test on doctype "created by". Makes no sense.
Co-authored-by: Ankush Menat <ankush@frappe.io>
2 роки тому
Ankush Menat
1e81a2a2b5
ci: separate cache for UI jobs and selective test
This is reusing normal cache which doesn't contain half the things
(cherry picked from commit 236ab8dbed
)
2 роки тому
Ankush Menat
ac9cfe7f9f
ci: disable parallel tests ( #18008 )
Not required on stable branches.
2 роки тому
Ankush Menat
cc03176f50
ci: disable coverge on stable branch
Coverage has ~30% overhead, not required on stable branch
2 роки тому
Ankush Menat
6c0992e4a4
ci: v14 meta stuff ( #17701 )
* ci: mergify v14 hotfix and develop backports
* ci: setup automated releases for v14
2 роки тому
Ankush Menat
01fbd035a7
ci: label test requirement ( #17691 )
[skip ci]
2 роки тому
Gavin D'souza
d2a5b8b002
ci: Skip pre-commit on branch builds
2 роки тому
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.
2 роки тому
Gavin D'souza
1e40b32ebf
ci: Combine actions to be triggered 'on release'
* Trigger static asset building & updating release assets
* Trigger Docker release build
2 роки тому
Gavin D'souza
de97eaf603
ci: Merge vulnerable dependency check to linter action
2 роки тому
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
2 роки тому
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
2 роки тому
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>
2 роки тому
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.
2 роки тому
Ankush Menat
8ac7e32214
ci: check commit messages with commitlint ( #17541 )
2 роки тому
Ankush Menat
c200f5b3ae
ci: check build requirement before setting up python
[skip ci]
2 роки тому
Gavin D'souza
db53813a68
ci(install): Set mariadb root password via envvar
ref: https://github.com/frappe/frappe/runs/7175643618
2 роки тому
Gavin D'souza
65c6914068
ci: Bump mariadb from 10.3 to 10.6
2 роки тому
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]
2 роки тому
Gavin D'souza
448f9573f5
ci: Separate PY / conflict validation step, merge install
2 роки тому
Gavin D'souza
95ad77584a
ci: Install bench CLI before switching pyenv
2 роки тому
Gavin D'souza
80f36b255a
ci: Install bench CLI to system python
2 роки тому
Gavin D'souza
c2516c7460
ci(patch): Install bench CLI on all Python envs
\# HACK
2 роки тому
Gavin D'souza
f44333a18e
ci: Use bench commands with verbose option
2 роки тому
Gavin D'souza
4451773daa
ci: Fetch pyenv installed specific version
2 роки тому
Gavin D'souza
f16a24a777
ci: Set pyenv version to 310 before running install step
2 роки тому
Gavin D'souza
ab54e72cbc
ci(patch): Switch Python env for each version
2 роки тому
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.
2 роки тому
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:
2 роки тому
Ankush Menat
9bd753551b
ci: temp fix for semgrep ( #17228 )
* ci: respekt my authoritah
* ci: use pip semgrep
2 роки тому
Gavin D'souza
aa83965313
ci(ui-tests): Print 'bench start' log on failure
Co-authored-by: Ankush Menat <ankush@frappe.io>
2 роки тому
Gavin D'souza
593fd0a178
ci: Add audit for python dependencies via pip-audit
3 роки тому
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>
3 роки тому
dependabot[bot]
4811c51ecc
build(deps): bump pre-commit/action from 2.0.3 to 3.0.0
Bumps [pre-commit/action](https://github.com/pre-commit/action ) from 2.0.3 to 3.0.0.
- [Release notes](https://github.com/pre-commit/action/releases )
- [Commits](https://github.com/pre-commit/action/compare/v2.0.3...v3.0.0 )
---
updated-dependencies:
- dependency-name: pre-commit/action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
3 роки тому
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>
3 роки тому
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>
3 роки тому
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>
3 роки тому
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>
3 роки тому
dependabot[bot]
27b0b3669d
build(deps): bump bruceadams/get-release from 1.2.0 to 1.2.3
Bumps [bruceadams/get-release](https://github.com/bruceadams/get-release ) from 1.2.0 to 1.2.3.
- [Release notes](https://github.com/bruceadams/get-release/releases )
- [Commits](https://github.com/bruceadams/get-release/compare/v1.2.0...v1.2.3 )
---
updated-dependencies:
- dependency-name: bruceadams/get-release
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 роки тому
Suraj Shetty
1298b39bb3
ci: Add one more instance for faster UI tests execution
3 роки тому
Gavin D'souza
21bad02b72
ci: Remove dependency on requirements.txt for builds
3 роки тому
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
3 роки тому
Ankush Menat
5b0312c258
Revert "ci: correct last commit for patch test ( #17113 )"
This reverts commit 4c8787d523
.
3 роки тому
Ankush Menat
4c8787d523
ci: correct last commit for patch test ( #17113 )
3 роки тому
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>
3 роки тому