RocketChat and HuBot

  • Hubot

Hubot is your friendly robot sidekick.

https://hubot.github.com/

  • hubot-rocketchat

Hubot adapter for Rocket.Chat!

https://github.com/RocketChat/hubot-rocketchat

  • RocketChat – Guide – Create and run a bot

https://docs.rocket.chat/guides/bots/create-and-run-a-bot/hubot-bot

  • Hubot Documentation – Scripting

https://hubot.github.com/docs/scripting/

  • hubot-rocketchat and docker-compose.yml
version: '3'
 services:
   mybot:
     image: rocketchat/hubot-rocketchat
     environment:
       ROCKETCHAT_ROOM: 'my_room_test'
       RESPOND_TO_DM: 'true'
       LISTEN_ON_ALL_PUBLIC: 'false'
       ROCKETCHAT_USER: 'my_bot_username'
       ROCKETCHAT_PASSWORD: 'my_bot_password'
       ROCKETCHAT_URL: 'https://rocketchat.foobar.com'
       BOT_NAME: 'my_bot_nickname'
  • bearyinnovative / hubot-zabbix

https://github.com/bearyinnovative/hubot-zabbix

1 - Copy scripts/zabbix.coffee to hubot scripts
2 - Copy source package.json to hubot package.json

Jenkins e Caddy – Docker

  • Jenkins Pipeline Examples
    https://jenkins.io/doc/pipeline/examples/
  • Jenkins Continuous Integration and Delivery server
    https://github.com/shazChaudhry/docker-jenkins/blob/ee0f386fd1706829b956cb2e723c0f2935496933/Dockerfile
  • Using Docker-in-Docker for your CI or testing environment?
    http://jpetazzo.github.io/2015/09/03/do-not-use-docker-in-docker-for-ci/
  • Parallel stages with Declarative Pipeline 1.2
    https://jenkins.io/blog/2017/09/25/declarative-1/
  • Jenkins – Plugin Job Cacher
    https://plugins.jenkins.io/jobcacher
docker run -d --privileged --group-add 129 -v jenkins_home:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock -v $(which docker):/usr/bin/docker -p 8080:8080 -p 50000:50000 jenkins/jenkins:lts
docker run -d --privileged --group-add $(getent group docker |awk -F ":" '{  -v jenkins_home:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock -v $(which docker):/usr/bin/docker -p 8080:8080 -p 50000:50000 jenkins/jenkins:ltsprint $3 }')

=-= pensar =-=
* auto apagar workspace
* job nao cancela
* cache compartilhado fora da workspace