Commit graph

51 commits

Author SHA1 Message Date
Mohammad Hasnain Mohsin Rajan
58a2c1f8b6 ci: fix coveralls (#12971)
* fix: add service

* Update ci-tests.yml

* Update ci-tests.yml

* fix: coverage version

* fix: coveralls

* Update requirements.txt

* fix: add service name env var

* ci: Set COVERALLS_SERVICE_NAME as github

* ci: add tokens

* Update ci-tests.yml

* ci: no rcfile

* fix: pin versions

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-04-27 14:56:14 +05:30
Ankush Menat
02df4a783a ci(semgrep): add more rules, r/python.correctness (#12876)
* ci(semgrep): add more rules, r/python.correctness

- Added file for defining rules as per frappe data model:
frappe_correctness.yml
- Add rule for SQLi, with WARNING only for now
- Add rule file for UX
- WARNING | INFO do not fail the build now

* ci(semgrep): on_cancel, on_submit correctness rule

* ci(semgrep): split workflow in steps

* ci(semgrep): catch line breaks in _()

* chore: fix sider issue
2021-04-27 14:56:13 +05:30
Mohammad Hasnain Mohsin Rajan
2db5e2242d ci: Set COVERALLS_SERVICE_NAME as github (#12961)
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-04-27 14:56:12 +05:30
Mohammad Hasnain Mohsin Rajan
3631dfdf49 ci: Fix coveralls (#12926) 2021-04-27 14:56:12 +05:30
Rohan Bansal
3142723d41 feat: manage Python 3 compatiblity with dependencies 2021-04-27 14:54:34 +05:30
Prssanna Desai
70b7909c06
Merge branch 'develop' into permlevel-fix 2021-03-24 18:56:28 +05:30
Suraj Shetty
6dcc00ad95 ci: Trigger ssh for gha based on label 2021-03-24 09:39:18 +05:30
Suraj Shetty
994818959b ci: Remove tmate 2021-03-23 19:53:53 +05:30
prssanna
d0ba1e0c4c test: debug failing tests 2021-03-23 13:58:25 +05:30
Suraj Shetty
c5b5dc3b48
Merge branch 'develop' into semgrep_translation_rules 2021-03-22 10:44:37 +05:30
Suraj Shetty
e43a0d141d chore: Ignore cypress setup for server tests 2021-03-19 19:19:56 +05:30
Gavin D'souza
428facac7e Merge branch 'refactor-personal-data-deletion' of github.com:gavindsouza/frappe into refactor-personal-data-deletion 2021-03-17 13:00:16 +05:30
Gavin D'souza
c0d052cf94 Revert "ci: Bump mariaDB version to 10.4"
This reverts commit c9d0aae791.
2021-03-17 12:59:27 +05:30
Suraj Shetty
a22123577a
Merge branch 'develop' into refactor-personal-data-deletion 2021-03-17 08:14:07 +05:30
Sagar Vora
86e76e6350
ci: update badge in README and add push event trigger (#12592) 2021-03-17 07:50:51 +05:30
Mohammad Hasnain Mohsin Rajan
e233d9dc3e
ci: Use Ubuntu 18.04 specifically and remove verbose flag (#12588) 2021-03-16 19:58:08 +05:30
Gavin D'souza
c9d0aae791 ci: Bump mariaDB version to 10.4
10.5 is latest stable, but this feature was developed on 10.4; so
leaving this here.
2021-03-16 12:45:31 +05:30
Gavin D'souza
5677629adb chore: Bump Postgres to 12.4 2021-03-15 16:15:29 +05:30
Ankush Menat
d7bc848a52
test(semgrep): python and javascript translation
- Move rules to .github folder to reduce clutter in root folder
- separate out rules
- add tests for rules
- docs for writing more rules
2021-03-13 18:22:48 +05:30
Mohammad Hasnain Mohsin Rajan
7148af3c20
ci: Fix Github Action (#12574) 2021-03-12 22:44:30 +05:30
Mohammad Hasnain Mohsin Rajan
3ee0d76776
ci: Port from TravisCI to Github Actions (#12559) 2021-03-12 13:59:30 +05:30
Ankush Menat
6c2d377e74
fix: use semgrep cli instead of docker image (#12566)
CLI is more flexible at present. Until github action catches up,
switch to CLI version.

This also fixes failure from forks which don't contain semgrep config
yet.
2021-03-11 10:42:42 +05:30
Ankush Menat
a74b7b04ac
chore: add semgrep linting (#12524) 2021-03-09 12:04:09 +05:30
Gavin D'souza
7c6cd34c51 ci: Update names for GHA workflows and jobs 2020-11-04 12:27:14 +05:30
gavin
e24c01f798
ci: Rename jobs (#11858) 2020-11-04 12:18:18 +05:30
gavin
012c637c30
chore: Replace existing Docs required check (#11618) 2020-10-02 16:58:45 +05:30
Gavin D'souza
0ac124f0d6 fix: Updated bucket name 2020-09-15 13:17:53 +05:30
Gavin D'souza
26e132b5b6 Revert "fix: Change assets endpoint"
This reverts commit 8a9545afdb.
2020-09-15 13:16:50 +05:30
Gavin D'souza
8a9545afdb fix: Change assets endpoint 2020-09-07 15:10:54 +05:30
Gavin D'souza
3cf9569e49 fix: Use a different action to attach built asset 2020-09-04 16:04:10 +05:30
Gavin D'souza
1b90e713c6 fix: Use Github token 2020-09-04 15:47:06 +05:30
Gavin D'souza
997e5b9c48 fix: Seperate workflows for releases and develop 2020-09-04 15:21:47 +05:30
Gavin D'souza
af8d94530b fix: ready-for-test 2020-09-04 15:06:31 +05:30
Gavin D'souza
93dcb8663f fix: Conditonal expressions for steps 2020-09-04 15:01:30 +05:30
Gavin D'souza
84b9670b94 feat: Add built asset to release made 2020-09-04 14:18:08 +05:30
Gavin D'souza
ed598fef49 fix: Path for builds push and artifacts generation 2020-09-04 13:49:03 +05:30
Gavin D'souza
e1f8f6e18b fix: Use relative paths for tarring asset files 2020-09-04 13:23:51 +05:30
Gavin D'souza
cdecb5cd7b fix: Use checkout and --frappe-path 2020-09-04 13:13:38 +05:30
Gavin D'souza
e326825fde fix: Reduce bulk 2020-09-04 13:05:09 +05:30
Gavin D'souza
f398be17cc fix: Don't use bench docker image 2020-09-04 12:46:26 +05:30
gavin
2727fafdc1 fix: Run bench as frappe user 2020-09-04 12:17:02 +05:30
gavin
662a7ac56e feat: Generate artifacts and publish to S3 2020-09-04 12:16:46 +05:30
gavin
55964c66cb feat: Publish built assets to S3 2020-09-04 12:16:33 +05:30
Revant Nandgaonkar
9d85de076d ci: trigger docker build on release 2020-06-19 22:36:04 +05:30
Afshan
b28eac2beb added flag to skip deleted files from check 2020-05-01 18:34:12 +05:30
Suraj Shetty
24b737f4c0 refactor: Move Syntax checking code to a separate file 2020-04-16 12:05:37 +05:30
Afshan
fe1dd4d88c renamed .yml file 2020-04-13 18:40:44 +05:30
Afshan
e6ff382d14 printing proper error message 2020-04-13 18:39:14 +05:30
Afshan
b0e236badd workflow for github actions to check translation formats 2020-04-13 18:07:08 +05:30
Suraj Shetty
c8cdbf8a36
chore: Remove Backport Github Action
Because it does not work
2020-04-10 18:47:26 +05:30