Mike Salvatore
d0e1239b27
ci: fail the build if code is not formatted with black
2021-04-06 09:15:35 -04:00
Mike Salvatore
c1929c2bd3
ci: remove dlint from travis
...
Issue #1075 has been created to track the task to add this back in and
integrate with pre-commit
2021-04-05 14:26:24 -04:00
Mike Salvatore
a7f8efa102
ci: fail travis build if flake8 finds any issues
2021-04-05 13:45:18 -04:00
Mike Salvatore
fef44bcd05
cc: deploy "develop" environment by default
2021-03-31 07:36:07 -04:00
VakarisZ
24564fd0f0
Removed ScoutSuite from travis, since it's no longer a submodule
2021-03-17 11:49:51 -04:00
Mike Salvatore
4aa9a14f13
ci: remove `swimm verify` for now
...
There is a bug in swimm that is causing `swimm verify` to fail in the CI
pipeline, eventhough it succeeds locally. Disabling for now while the
swimm team works to rectify the issue.
2021-02-23 07:51:56 -05:00
VakarisZ
2549e1f345
Deleted custom travis flags that remove scoutsuite code checking, because they are already added in config files
2021-01-28 16:32:24 +02:00
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