Commit Graph

112 Commits

Author SHA1 Message Date
VakarisZ c00754a3a4 Moved dev requirements of black, coverage, flake and others to dev dependencies of the island to be a single source of truth 2021-04-22 09:50:29 -04:00
VakarisZ e4415d822a Fixed requirement installation in travis to install from lock files, so that travis would ideally replicate our development 2021-04-22 09:50:29 -04:00
VakarisZ e7cef5fd9f Updated travis to use pipenv 2021-04-22 09:50:29 -04:00
Shreya d01de96e95 Change max JS warnings limit to 0 in travis.yml 2021-04-12 18:43:37 +05:30
Mike Salvatore 2792bac5e6 Merge branch 'e501-warnings' into develop
Resolves #1071
2021-04-08 08:02:53 -04:00
Shreya Malviya 4d951e2a8a
Merge pull request #1082 from guardicore/swimm-verify
Swimm verify
2021-04-08 17:31:31 +05:30
Shreya 2f8441f1d5 Update travis script for swimm verify 2021-04-08 17:12:10 +05:30
Mike Salvatore 7901446b4e ci: expand flake8 checks from `monkey/` to whole repo 2021-04-07 13:41:40 -04:00
Mike Salvatore 958fa50d83 Merge branch 'pre-commit' into develop 2021-04-07 11:07:27 -04:00
Mike Salvatore f22fc8e37e ci: use swimm version 0.4.1 in travis.yml 2021-04-07 07:16:57 -04:00
VakarisZ cd59e9ba1a Updated travis script to use the latest swimm version. 2021-04-07 06:57:04 -04:00
Mike Salvatore 1414d132d3 ci: Add swimm verify back to travis.yml
This reverts commit 4aa9a14f13.
2021-04-07 06:56:10 -04:00
Shreya ca365717b1 Modify travis script for isort 2021-04-06 17:50:52 -04:00
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 4966aaf213 ci: freeze versions of certain packages in travis build
Fix the versions of black, flake8, and isort in travis so that the same
versions are being used to pass/fail the build as developers are using
in their pre-commit hooks
2021-04-05 10:22:27 -04:00
Mike Salvatore ecfc59cfd7 ci: fail the build if code is not formatted with black 2021-04-05 07:53:03 -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