Bots at community service for GR8Conf 2017

72
01

Transcript of Bots at community service for GR8Conf 2017

Page 1: Bots at community service for GR8Conf 2017

01

Page 2: Bots at community service for GR8Conf 2017

02

Page 3: Bots at community service for GR8Conf 2017

Let's start!03

Page 4: Bots at community service for GR8Conf 2017

Thecommunity04

Page 5: Bots at community service for GR8Conf 2017

LatcraftLatvian Software Craftsmanship Community

Different topics: about and beyond IT

Consistent: every month since December 2014

Good crowd: over 100 people on each event, with 1000+ people in the

community

••••

05

Page 6: Bots at community service for GR8Conf 2017

The team

06

Page 7: Bots at community service for GR8Conf 2017

The passion

07

Page 8: Bots at community service for GR8Conf 2017

Latcraft

08

Page 9: Bots at community service for GR8Conf 2017

Latcraft

09

Page 10: Bots at community service for GR8Conf 2017

Latcraft

10

Page 11: Bots at community service for GR8Conf 2017

Latcraft

11

Page 12: Bots at community service for GR8Conf 2017

Latcraft

12

Page 13: Bots at community service for GR8Conf 2017

Latcraft

13

Page 14: Bots at community service for GR8Conf 2017

Latcraft

14

Page 15: Bots at community service for GR8Conf 2017

Latcraft

15

Page 16: Bots at community service for GR8Conf 2017

Eventpreparation16

Page 17: Bots at community service for GR8Conf 2017

Integration17

Page 18: Bots at community service for GR8Conf 2017

ServicesTrello

Eventbrite

SendGrid

Slack

Twitter

Facebook

••••••

18

Page 19: Bots at community service for GR8Conf 2017

ServicesTelegram

Lanyrd

Linkedin

Youtube

GitHub

Sli.do

Typeform

•••••••

19

Page 20: Bots at community service for GR8Conf 2017

Dashboard20

Page 21: Bots at community service for GR8Conf 2017

Dashboard

21

Page 22: Bots at community service for GR8Conf 2017

ImplementationDashing  as the engine

Ruby  tasks for collecting data andd sending update events to the

dashboard

CoffeeScript  +  HTML  for widgets

SQLite  for storing data statistics

••

••

22

Page 23: Bots at community service for GR8Conf 2017

Dashboards

23

Page 24: Bots at community service for GR8Conf 2017

Dashboards

24

Page 25: Bots at community service for GR8Conf 2017

Dashboards

25

Page 26: Bots at community service for GR8Conf 2017

Dashboards

26

Page 27: Bots at community service for GR8Conf 2017

Voting27

Page 28: Bots at community service for GR8Conf 2017

Voting gen. 1

28

Page 29: Bots at community service for GR8Conf 2017

Voting web

29

Page 30: Bots at community service for GR8Conf 2017

Voting gen. 2

30

Page 31: Bots at community service for GR8Conf 2017

Meet Craftbot!31

Page 32: Bots at community service for GR8Conf 2017

Meet Craftbot!

32

Page 33: Bots at community service for GR8Conf 2017

TasksPublish event on EventBrite

Publish campaign on SendGrid

Generate event cards for sharing on social media

Query integration services

••••

33

Page 34: Bots at community service for GR8Conf 2017

Cards

34

Page 35: Bots at community service for GR8Conf 2017

Repositories

35

Page 36: Bots at community service for GR8Conf 2017

Integration

36

Page 37: Bots at community service for GR8Conf 2017

Deployment

37

Page 38: Bots at community service for GR8Conf 2017

Craftbot inaction!

38

Page 39: Bots at community service for GR8Conf 2017

Craftbot in action!

39

Page 40: Bots at community service for GR8Conf 2017

Craftbot in action!

40

Page 41: Bots at community service for GR8Conf 2017

Craftbot in action!

41

Page 42: Bots at community service for GR8Conf 2017

Craftbot in action!

42

Page 43: Bots at community service for GR8Conf 2017

Craftbot in action!

43

Page 44: Bots at community service for GR8Conf 2017

Craftbot in action!

44

Page 45: Bots at community service for GR8Conf 2017

Details45

Page 46: Bots at community service for GR8Conf 2017

AWS Lambdalambda function

set of roles and permissions

api gateway endpoints

s3 storage

kms encryption

•••••

46

Page 47: Bots at community service for GR8Conf 2017

Terraform47

Page 48: Bots at community service for GR8Conf 2017

PitfallsAWS policy configuration

time zone management

font configuration

timeouts and cold starts

••••

48

Page 49: Bots at community service for GR8Conf 2017

How muchdoes it cost?

49

Page 50: Bots at community service for GR8Conf 2017

How much does it cost?

50

Page 51: Bots at community service for GR8Conf 2017

Meet Pechkin!51

Page 52: Bots at community service for GR8Conf 2017

Meet Pechkin!

52

Page 53: Bots at community service for GR8Conf 2017

TasksCollect useful links from team members inside a Slack channel

Store them in the database

Periodically publish links into media channels

•••

53

Page 54: Bots at community service for GR8Conf 2017

Glitch54

Page 55: Bots at community service for GR8Conf 2017

Glitch

55

Page 56: Bots at community service for GR8Conf 2017

Glitch

56

Page 57: Bots at community service for GR8Conf 2017

Pechkin inaction!

57

Page 58: Bots at community service for GR8Conf 2017

Pechkin in action!

58

Page 59: Bots at community service for GR8Conf 2017

Pechkin in action!

59

Page 60: Bots at community service for GR8Conf 2017

Pechkin in action!

60

Page 61: Bots at community service for GR8Conf 2017

Pechkin in action!

61

Page 62: Bots at community service for GR8Conf 2017

Pechkin in action!

62

Page 63: Bots at community service for GR8Conf 2017

Pechkin in action!

63

Page 64: Bots at community service for GR8Conf 2017

Bright future64

Page 65: Bots at community service for GR8Conf 2017

Dashboard's futureintegrate with sli.do

implement dashboard carousel••

65

Page 66: Bots at community service for GR8Conf 2017

Craftbot's futureautomate remaining publising tasks (lanyrd, facebook, linkedin)

automate event statistics fetching

automate notifications and hints

•••

66

Page 67: Bots at community service for GR8Conf 2017

Pechkin's futureautomate publishing of the link summary on Twitter, web site and

potentially other media channels•

67

Page 68: Bots at community service for GR8Conf 2017

CodeCraftbot: https://github.com/latcraft/event­manager

Dashboard: https://github.com/latcraft/dashboard

Voting: https://github.com/latcraft/voting­machine

•••

68

Page 69: Bots at community service for GR8Conf 2017

DevTernity69

Page 70: Bots at community service for GR8Conf 2017

That's all!70

Page 71: Bots at community service for GR8Conf 2017

Thank you!71

Page 72: Bots at community service for GR8Conf 2017

72