An automatic, one-install and configurable code deployment and code installation application. Utilizes features like local and remote repo tracking and automatic code installation and email notifications configurable with JSON syntax.
Auto install code based on config.json file listing commands to run in a flexible and standard format
export REPO_DIRECTORY_PATH="/path/to/your/repo/"
export REPO_NAME="repo"
export REPO_USER="bob"
export INSTALL_DIRECTIVES_PATH="/path/to/your/repo/config.json"
export GITHUB_ACCESS_TOKEN="some-access-token-here"
Note that config.json file needs to inside the repo which controls the installation process and whether to actually run the installation or not.
"app_config": {
"run_installation": true,
"continue_on_fail": false,
"notify_emails": ["[email protected]"]
},
"app_commands": [
{
"name": "List the items",
"run_dir": "/home/shahid/",
"command": ["ls"]
},
{
"name": "Activate the python environment",
"run_dir": "/home/shahid/",
"command": ["source", "/path/to/env/bin/activate"]
}
]
}