Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

Configuration

Individual bots can be set up manually without nodeservices also. The process is described below:

  • Clone our OnBot repository from github (git clone -b master https://github.com/CognizantOneDevOps/OnBot.git)
  • Copy the desired bot scripts from the scripts folder of the cloned repo
  • Run this command: npm install -g yo generator-hubot
  • Create a parent folder myhubot
  • Run the following commands:

          cd myhubot

          yo hubot

  • Copy the scripts from the cloned repository (first step) into myhubot/scripts folder
  • Copy the workflow.json and package.json file into the myhubot directory
  • Run: npm install
  • Now set the required environment variables and start the bot: ./bin/hubot -a <adapter>


Environment Variables for specific bots
 buildon
HUBOT_GIT_SOFTWARE (GitLab or GitHub)
HUBOT_GITLAB_IP (GitLab server IP)
GITLAB_SERVICE_TOKEN
HUBOT_BUILDON_SERVICE (buildon_host_address)
POSTGRES_LINK (jdbc:postgresql://<username>:<password>@<postgres_server_IP>:<port>/postgres)
BUILDON_DB_NAME
 github
HUBOT_GITHUB_API (https://api.github.com)
HUBOT_GITHUB_USER (github username)
HUBOT_GITHUB_TOKEN (github_token)
HUBOT_GITHUB_REPO (optional)
 insights-grafana


 jenkins


 nexus


 rundeck


 scalr


 sonar


 udeploy


 urelease


 xldeploy


 xlrelease


  • No labels