Panel
borderColorgreen
titleConfiguration

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>


...

Panel
borderColorgreen
titleEnvironment Variables for specific bots


Expand
titlebuildon


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



Expand
titlegithub


HUBOT_GITHUB_API (https://api.github.com)
HUBOT_GITHUB_USER (github username)
HUBOT_GITHUB_TOKEN (github_token)
HUBOT_GITHUB_REPO (optional)



Expand
titleinsights-grafana


HUBOT_GRAFANA_HOST
HUBOT_GRAFANA_API_KEY

NEO4J_USERNAME

NEO4J_PASSWORD
INSIGHT_URL
CHANNEL_ID (channel ID for slack/Hipchat and channel name for mattermost where grafana panel images will be uploaded)
AUTH_TOKEN (Authentication token with upload permission)



Expand
titlejenkins



Expand
titlenexus



Expand
titlerundeck



Expand
titlescalr



Expand
titlesonar



Expand
titleudeploy



Expand
titleurelease



Expand
titlexldeploy



Expand
titlexlrelease



...