VakarisZ
ade2917ba3
Merge remote-tracking branch 'upstream/develop' into 519/scoutsuite-integration
...
# Conflicts:
# .swm/OwcKMnALpn7tuBaJY1US.swm
# .swm/tbxb2cGgUiJQ8Btma0fp.swm
# .travis.yml
# deployment_scripts/config
# monkey/common/utils/exceptions.py
# monkey/infection_monkey/control.py
# monkey/infection_monkey/exploit/hadoop.py
# monkey/monkey_island/cc/environment/set_server_config.py
# monkey/monkey_island/cc/resources/pba_file_upload.py
# monkey/monkey_island/cc/services/version_update.py
# monkey/monkey_island/cc/ui/src/components/pages/RunMonkeyPage/RunOptions.js
# monkey/monkey_island/cc/ui/src/styles/Main.scss
# monkey/monkey_island/cc/ui/src/styles/components/Buttons.scss
2021-01-28 16:13:26 +02:00
VakarisZ
d4dc42adb5
Removed the need to change server_config.json just to run tests.
2021-01-19 15:51:18 +02:00
Mike Salvatore
74933daf8d
ci: Use pytest-cov instead of coverage
...
For some unknown reason, running `coverage` omits some python files from
the coverage report. It also runs the test suite a second time, which is
inefficient. By using pytest-cov, tests are only run once and coverage
data is more complete.
2021-01-14 14:10:43 -05:00
VakarisZ
1bff64f09b
Merge pull request #875 from VakarisZ/validation_script
...
Validation script
2020-12-22 15:48:39 +02:00
Shreya
50bec61494
Update apt-get commands for Swimm in Travis
2020-12-15 11:33:59 +05:30
Shreya
9783b57761
Swimm changes in Travis
2020-12-10 00:18:56 +05:30
Shreya
96e103ada5
Add Swimm dependencies to Travis
2020-12-09 23:44:38 +05:30
Shreya
b78046e6f4
Update Swimm in Travis
2020-12-09 23:18:01 +05:30
VakarisZ
6401826ee3
Fixed travis script bug, where flake8 didn't pick up its configuration file
2020-11-06 13:18:03 +02:00
VakarisZ
1f1682fad8
Exported multiple configurations of CI tools to separate configurations, improved script
2020-11-06 11:48:52 +02:00
VakarisZ
2e35b9ac43
Initial implementation of validation script
2020-11-05 14:58:52 +02:00
VakarisZ
9540c93013
Fixed swimm validation in travis
2020-10-16 14:20:09 +03:00
VakarisZ
7478eab359
Updated swimm version for travis
2020-10-08 11:26:42 +03:00
VakarisZ
22f77d4a0a
Updated swimm version for travis
2020-10-08 10:27:22 +03:00
VakarisZ
94b960fe42
Last travis bugfix regarding isort
2020-10-07 10:55:03 +03:00
VakarisZ
1af19dc8fa
Fixed more bugs in travis, related to pytest and coverage
2020-10-07 10:39:44 +03:00
VakarisZ
abe20c6a3a
Once again fixed isort bug in travis and fixed some imports
2020-10-07 10:32:33 +03:00
VakarisZ
4a44a38be5
Changed travis to skip running scoutsuite tests. Altered zero trust tests to be skipped, because ScoutSuite implementation broke them
2020-10-06 16:16:07 +03:00
VakarisZ
b62829f34c
Fixed isort not to check scoutsuite submodule
2020-10-06 15:18:14 +03:00
VakarisZ
821024035e
Specified line-wrap option to isort and skipped a file that's not correctly wrapped
2020-10-06 14:54:05 +03:00
VakarisZ
179823c29e
Updated travis.yml to skip import check on ScoutSuite submodule
2020-10-06 13:15:31 +03:00
VakarisZ
d5f224f9f9
Updated travis.yml according to scoutsuite changes
2020-10-05 14:25:56 +03:00
VakarisZ
a7fc5d1191
Merge branch 'run_page_ui_improvements' into 519/scoutsuite-integration
2020-09-23 14:58:51 +03:00
VakarisZ
12e7c40db9
Increased js warning limit to 7, because I used ` for classnames.
2020-09-23 14:54:30 +03:00
VakarisZ
6e10dd20d1
Run monkey page: fixed a bunch of bugs, CR comments
2020-09-23 14:47:05 +03:00
VakarisZ
109b2cbcbb
Merge branch 'run_page_ui_improvements' into 519/scoutsuite-integration
...
# Conflicts:
# monkey/monkey_island/requirements.txt
2020-09-18 18:10:03 +03:00
VakarisZ
62708cf6b2
Fixed es-lint warnings and increased upper warning limit
2020-09-18 18:03:44 +03:00
VakarisZ
4eebb1a088
Merge remote-tracking branch 'upstream/develop' into 519/scoutsuite-integration
2020-09-08 12:42:17 +03:00
Shay Nehmad
6b9b755c52
Add swimm verify to Travis build
2020-09-03 15:23:01 +03:00
ophirharpazg
47d5b264ea
decrement number of allowed warnings
2020-09-02 12:51:05 +03:00
Shay Nehmad
accd6bd0fa
See https://eslint.org/docs/rules/no-prototype-builtins
2020-08-31 17:16:53 +03:00
Shay Nehmad
f23199c4a3
Fixed more warnings and lowered the linter upper limit to double digits
2020-08-31 14:40:03 +03:00
VakarisZ
b14193f848
Merge remote-tracking branch 'upstream/develop' into 519/scoutsuite-integration
...
# Conflicts:
# .gitmodules
# .travis.yml
# monkey/common/data/system_info_collectors_names.py
# monkey/monkey_island/cc/services/config_schema.py
# monkey/monkey_island/cc/services/telemetry/processing/system_info_collectors/system_info_telemetry_dispatcher.py
2020-08-31 11:34:15 +03:00
VakarisZ
f825c8551c
Removed debugging ls statements on travis.yml
2020-08-27 15:09:25 +03:00
VakarisZ
9803bc6a46
Added server_config.json initialization to travis script.
2020-08-17 11:51:19 +03:00
VakarisZ
05395fee6d
Created code that generates default server_config.json, so we don't need to track this file on git and remember not to commit credentials.
2020-08-14 15:44:47 +03:00
Shay Nehmad
ac21aca70d
Tested upgrade + small UI bugfix
2020-07-28 12:33:20 +03:00
Shay Nehmad
e21d67c37a
Clean some JS warnings
2020-07-26 14:40:13 +03:00
Shay Nehmad
9846477bea
Change to isort from flake8-import-order
...
fix issues in envs/ as well
2020-07-15 18:46:04 +03:00
Shreya
cebee2de0b
Add flake8-import-order
2020-07-15 17:33:24 +05:30
Shay Nehmad
638e6d61de
Added pipdeptree to build process
2020-07-08 17:03:50 +03:00
Shay Nehmad
d501bf3b00
Add six minimum requirement to explicitly resolve conflict
...
Added pip freeze to travis to ease debugging
2020-07-08 16:43:52 +03:00
Shay Nehmad
c20158c37e
Merge pull request #681 from guardicore/602/documentation-framework
...
602/documentation framework
2020-06-29 18:52:28 +03:00
VakarisZ
8a31ff21b8
Disabled no-unescaped-entities, because it throws warnings on ' usage in text, because typographically it's not an apostrophe
2020-06-25 11:33:28 +03:00
Shreya
53e6f893c6
Disabled prop-types warning in eslint
...
(Accidentally force-pushed over the previous commit changing this)
2020-06-24 13:58:52 +05:30
Shay Nehmad
86d30cdee7
Moved config and readme around, fixed travis
2020-06-17 17:36:37 +03:00
Shay Nehmad
dfa59cfd0c
Trying alternative installation method for brew
2020-06-16 13:08:33 +03:00
Shay Nehmad
98e4cda08a
Add building the docs to travis
2020-06-16 13:04:24 +03:00
Shay Nehmad
8d2b879ea7
nvm comes pre-installed on travis images, so we're fine
2020-05-20 16:09:36 +03:00
Shay Nehmad
6cf81304f8
Load NVM after installing in TravisCI script
2020-05-11 16:44:13 +03:00
Shay Nehmad
3f83176f84
Fix syntax (and add comment for future travelers)
2020-05-11 16:39:28 +03:00
Shay Nehmad
23d7ef4d97
Update travis script to use npm ci as well
2020-05-11 16:16:58 +03:00
Shay Nehmad
07330ff2f5
Fix build problem
...
eslint and node incompatebility
2020-05-10 15:42:42 +03:00
Ace Pace
2f4904d3a3
Merge branch 'develop' into bugfix/random_pep
2020-05-05 23:57:34 +03:00
Ace Pace
4c27ea4f7b
Fix a few more. Re set the number of flake warnings to be higher :(
2020-05-05 23:47:41 +03:00
Ace Pace
24dc84ced2
Bring back eslint errors, raise travisCI threshold :(
2020-05-01 15:06:49 +03:00
Ace Pace
431daa1f8e
Reduce number of flake8 warnings to 100.
2020-05-01 13:02:41 +03:00
Shay Nehmad
215dc59f12
Removed "discover" from coverage cmd (it's for unittest, not pytest)
2020-03-15 11:28:46 +02:00
Shay Nehmad
bff9cc36b1
Added codecov tests to travis yml and updated readme
2020-03-15 11:20:58 +02:00
Shay Nehmad
b8b015e84e
Update .travis.yml
2020-01-27 14:59:31 +02:00
Shay Nehmad
f49089aed3
Added basic framework for running scoutsuite
2020-01-27 14:46:39 +02:00
Shay Nehmad
87f90b36f0
Excluding scoutsuite from flake8
2020-01-27 14:28:52 +02:00
VakarisZ
adba6f5258
Increased upper error limit for js on travis
2019-12-03 17:10:44 +02:00
VakarisZ
bdd3d41a7b
Increased js warnings upper limit
2019-11-29 11:07:40 +02:00
Daniel Goldberg
401def5eb2
Merge Infection Monkey requirements files
2019-11-26 13:22:56 +02:00
Shay Nehmad
ad8be355a1
Update travis upper limit for JS from 500 to 30
2019-11-10 15:58:30 +02:00
Shay Nehmad
ad1e85f867
Fixed typo and added some documentation.
2019-11-08 16:30:43 +02:00
Shay Nehmad
0acec95c86
Updated JS lint upper limit (currently 497)
2019-11-07 17:00:14 +02:00
Shay Nehmad
fde8ac53e3
Moved npm i to after python checks
2019-11-07 16:44:00 +02:00
Shay Nehmad
1194bc0d06
Added npm install to make sure eslint will work (it needs babel)
2019-11-07 16:35:42 +02:00
Shay Nehmad
f313a34cbb
installing eslint
2019-11-07 16:29:10 +02:00
Shay Nehmad
c2ba6ce46c
Changed structure - everything is the same job
2019-11-07 16:24:36 +02:00
Shay Nehmad
54fd1d7744
Trying to make the travis script work
2019-11-07 15:02:49 +02:00
Shay Nehmad
a6aa0eb864
Trying to multi-language travis build
2019-11-07 14:58:52 +02:00
Shay Nehmad
c69766650c
Update upper limit to actual current amount of linter warnings
2019-11-05 12:22:55 +02:00
Shay Nehmad
bbdc12a412
Update .travis.yml
2019-11-05 12:19:46 +02:00
Shay Nehmad
d52d00e5d9
Trying to make the test work
2019-11-05 12:13:38 +02:00
Shay Nehmad
ea5ae67891
Updated flake8 to fail if number of warnings is too high
2019-11-05 12:05:45 +02:00
Shay Nehmad
97baaabdd7
Remove pylint from travis installation + added some doc + fixed notifications for travis
2019-10-28 13:54:07 +02:00
Shay Nehmad
f8cf78a292
Forgot python as command for running the script
2019-10-28 13:40:22 +02:00
Shay Nehmad
827c4942d9
Added script which changes the server_config to testing in travis so the default will be standard (for running)
2019-10-28 13:37:18 +02:00
Shay Nehmad
7c23065efa
Trying to get slack notifications to work.
2019-10-27 18:31:44 +02:00
Shay Nehmad
43048329d0
Fix requirements path
2019-10-27 13:50:13 +02:00
Shay Nehmad
ee1e913291
using python -m for tests - and trying still to make slack integ work
2019-10-27 13:48:09 +02:00
Shay Nehmad
cc674cac57
Trying to fix slack notifications from travis
2019-10-27 12:29:52 +02:00
Shay Nehmad
c11d78c6a0
cd-ing to source root
2019-10-27 12:24:46 +02:00
Shay Nehmad
05fbdafd9d
Updated travis file, let's test it
2019-10-27 12:13:26 +02:00
itay
111080d5cd
remove python 3 build from travis
2019-08-01 10:52:38 +03:00
cclauss
cba599257e
Travis CI: Add Python 3.7 to the testing
...
travis-ci/travis-ci#9069
2018-09-08 15:42:10 +02:00
cclauss
9cd839abf6
Travis CI for automated testing of all pull requests
...
Travis Continuous Integration is free for all open source projects like this one. This config file would have Travis CI run [flake8](http://flake8.pycqa.org ) tests to find Python syntax errors and undefined names in all pull requests _before_ they are reviewed. To turn Travis CI on, visit https://travis-ci.com/guardicore
2018-05-07 17:19:28 +02:00