Ankush Menat
5b0312c258
Revert "ci: correct last commit for patch test ( #17113 )"
...
This reverts commit 4c8787d523 .
2022-06-09 11:13:31 +05:30
Ankush Menat
4c8787d523
ci: correct last commit for patch test ( #17113 )
2022-06-09 10:58:03 +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
8a84ae4f08
ci: Use node version 14 to avoid node-sass failure in patch testing build ( #15176 )
2021-12-03 13:57:57 +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
Ankush Menat
b70251baba
ci: user hotfix branches for patch test
2021-11-11 12:25:03 +05:30
Gavin D'souza
42acb7647f
ci: Upgrade Py37 to Py39
2021-10-07 20:33:50 +05:30
Ankush Menat
c1f9231d72
fix: install future and minor changes
...
minor changes:
1. quitely checkout new tags
2. avoid changing directory
3. use pip instead of bench to install deps.
2021-09-28 17:28:24 +05:30
Ankush Menat
42791744ff
test: migration tests each version at a time
2021-09-26 13:18:21 +05:30
Ankush Menat
b140bb3f43
test: run patch test to last release and PR
...
In the patch test, instead of migrating to the current SHA directly.
Migrate to the latest release (with code at the time of release) and
then migrate to last commit in PR.
Why? When directly migrating, the previous patches that would've run
with old code have access to the new code and it's not realistic. This
change brings it a little bit closer to reality. Hence missing failures
that would occur with IRL installations.
2021-09-21 18:14:17 +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
Gavin D'souza
e01ef7ff52
ci(roulette): Use GitHub REST to figure out changed files
2021-08-25 12:40:44 +05:30
Gavin D'souza
597d237f63
ci: Roulette for GHA
2021-08-24 20:41:24 +05:30
gavin
850939ed13
Revert "ci: ignore js only changes while running unittests ( #13932 )"
...
This reverts commit ead26527b7 .
2021-08-24 13:26:03 +05:30
Ankush Menat
ead26527b7
ci: ignore js only changes while running unittests ( #13932 )
...
* ci: ignore js only changes while running unittests
- IF PR only changes JS files then unittests / patch tests wont run.
- Change done to save resources / concurrent builds.
* ci: ignore md files in build
2021-08-13 18:14:47 +05:30
Gavin D'souza
95ab1a60b4
ci: Add frappe patch test
...
* Generated v10 backup archive
* used old v7 erpnext backup hosted via build.erpnext.com
* upgraded to v10 frappe + erpnext
* uninstalled and deleted erpnext related data
* Hosted backup on https://frappeframework.com/files/v10-frappe.sql.gz
2021-06-03 17:38:03 +05:30