Skip to content

Commit

Permalink
island: Remove server_config.json.develop
Browse files Browse the repository at this point in the history
Since Monkey Island no longer writes to server_config.json in the source
code directory, and each package will overwrite server_config.json with
its own server config (until we separate the deployment from the config
in issue #1205), we no longer need server_config.json.develop and we
don't need to worry about accidentally committing credentials to git.
  • Loading branch information
mssalvatore committed Jun 4, 2021
1 parent e57e28a commit 0cd9709
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ python:

os: linux

before_install:
# Init server_config.json to default
- cp monkey/monkey_island/cc/server_config.json.develop monkey/monkey_island/cc/server_config.json

install:
# Python
Expand Down
File renamed without changes.
4 changes: 0 additions & 4 deletions monkey/monkey_island/cc/server_utils/consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,5 @@ def _get_monkey_island_abs_path() -> str:
os.path.join(MONKEY_ISLAND_ABS_PATH, "cc", SERVER_CONFIG_FILENAME)
)

DEFAULT_DEVELOP_SERVER_CONFIG_PATH = os.path.join(
MONKEY_ISLAND_ABS_PATH, "cc", f"{SERVER_CONFIG_FILENAME}.develop"
)

DEFAULT_LOG_LEVEL = "INFO"
DEFAULT_START_MONGO_DB = True

0 comments on commit 0cd9709

Please sign in to comment.