-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating master See merge request faradaysec/cloud/faraday_agent_dispatcher!18
- Loading branch information
Showing
26 changed files
with
1,025 additions
and
282 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ variables: | |
FARADAY_PASSWORD: custom_pass | ||
FARADAY_EMAIL: [email protected] | ||
FARADAY_REF: white/dev | ||
EXECUTOR_DIR: ./basic_executor.py | ||
|
||
cache: | ||
paths: | ||
|
@@ -37,15 +38,17 @@ unit_tests: | |
- pip install pytest pytest-cov pytest-aiohttp | ||
- python setup.py install | ||
- mkdir run_from | ||
- cd run_from && pytest ../tests/unittests --capture=sys -v --cov=../faraday_agent_dispatcher --color=yes --disable-warnings | ||
- cd run_from && mkdir logs && pytest ../tests/unittests --capture=sys -v --cov=../faraday_agent_dispatcher --color=yes --disable-warnings | ||
artifacts: | ||
when: on_failure | ||
paths: | ||
- dist/* | ||
when: on_failure | ||
paths: | ||
- dist/* | ||
- run_from/logs/* | ||
expire_in: 7 days | ||
except: | ||
variables: | ||
- $INTEGRATION | ||
- $CI_COMMIT_REF_NAME =~ /^.*ci.*$/ | ||
- $CI_COMMIT_REF_NAME =~ /^.*ci-int.*$/ | ||
|
||
integration_faraday: | ||
stage: post_testing | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ Types of Contributions | |
Report Bugs | ||
~~~~~~~~~~~ | ||
|
||
Report bugs at https://github.com/EricHorvat/dummy_faraday_agent/issues. | ||
Report bugs at https://github.com/faradaysec/faraday_agent_dispatcher/issues. | ||
|
||
If you are reporting a bug, please include: | ||
|
||
|
@@ -38,14 +38,14 @@ and "help wanted" is open to whoever wants to implement it. | |
Write Documentation | ||
~~~~~~~~~~~~~~~~~~~ | ||
|
||
dummy_faraday_agent could always use more documentation, whether as part of the | ||
official dummy_faraday_agent docs, in docstrings, or even on the web in blog posts, | ||
faraday_agent_dispatcher could always use more documentation, whether as part of the | ||
official faraday_agent_dispatcher docs, in docstrings, or even on the web in blog posts, | ||
articles, and such. | ||
|
||
Submit Feedback | ||
~~~~~~~~~~~~~~~ | ||
|
||
The best way to send feedback is to file an issue at https://github.com/EricHorvat/dummy_faraday_agent/issues. | ||
The best way to send feedback is to file an issue at https://github.com/faraday/faraday_agent_dispatcher/issues. | ||
|
||
If you are proposing a feature: | ||
|
||
|
@@ -57,17 +57,17 @@ If you are proposing a feature: | |
Get Started! | ||
------------ | ||
|
||
Ready to contribute? Here's how to set up `dummy_faraday_agent` for local development. | ||
Ready to contribute? Here's how to set up `faraday_agent_dispatcher` for local development. | ||
|
||
1. Fork the `dummy_faraday_agent` repo on GitHub. | ||
1. Fork the `faraday_agent_dispatcher` repo on GitHub. | ||
2. Clone your fork locally:: | ||
|
||
$ git clone [email protected]:your_name_here/dummy_faraday_agent.git | ||
$ git clone [email protected]:your_name_here/faraday_agent_dispatcher.git | ||
|
||
3. Install your local copy into a virtualenv. Assuming you have virtualenvwrapper installed, this is how you set up your fork for local development:: | ||
|
||
$ mkvirtualenv dummy_faraday_agent | ||
$ cd dummy_faraday_agent/ | ||
$ mkvirtualenv faraday_agent_dispatcher | ||
$ cd faraday_agent_dispatcher/ | ||
$ python setup.py develop | ||
|
||
4. Create a branch for local development:: | ||
|
@@ -79,7 +79,7 @@ Ready to contribute? Here's how to set up `dummy_faraday_agent` for local develo | |
5. When you're done making changes, check that your changes pass flake8 and the | ||
tests, including testing other Python versions with tox:: | ||
|
||
$ flake8 dummy_faraday_agent tests | ||
$ flake8 faraday_agent_dispatcher tests | ||
$ python setup.py test or py.test | ||
$ tox | ||
|
||
|
@@ -103,15 +103,15 @@ Before you submit a pull request, check that it meets these guidelines: | |
your new functionality into a function with a docstring, and add the | ||
feature to the list in README.rst. | ||
3. The pull request should work for Python 2.7, 3.4, 3.5 and 3.6, and for PyPy. Check | ||
https://travis-ci.org/EricHorvat/dummy_faraday_agent/pull_requests | ||
https://travis-ci.org/faradaysec/faraday_agent_dispatcher/pull_requests | ||
and make sure that the tests pass for all supported Python versions. | ||
|
||
Tips | ||
---- | ||
|
||
To run a subset of tests:: | ||
|
||
$ py.test tests.test_dummy_faraday_agent | ||
$ py.test tests.faraday_agent_dispatcher | ||
|
||
|
||
Deploying | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,8 +16,8 @@ | |
# along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
|
||
|
||
"""Top-level package for faraday_dummy_agent.""" | ||
"""Top-level package for faraday_agent_dispatcher.""" | ||
|
||
__author__ = """Eric Horvat""" | ||
__email__ = '[email protected]' | ||
__version__ = '0.1.0' | ||
__version__ = '1.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.