Welcome to the Cog Book!¶
Note
This book is released under the Apache 2 license. More information about contributing to this book along with access to the source code and previous releases is available at GitHub.
Cog is Built for ChatOps.¶
Use Cog to manage your infrastructure, support peer learning, and conduct collaborative research at the same time, right from chat. Cog is easy to install and simple to operate while remaining powerful enough to handle complex enterprise workflows.
Table of Contents¶
- 1. Getting Started
- 2. Bootstrapping Cog
- 3. Installing and Managing Relays
- 4. Commands and Bundles
- 5. Managing Bundles
- 6. Writing A Command Bundle
- 6.1. Scenario: Tweet from Cog
- 6.2. Tweet from Plain Ruby
- 6.3. First Steps Toward Cog: Arguments
- 6.4. Describe it to Cog: Bundle Definitions
- 6.5. Installing the Bundle
- 6.6. Dynamic Configuration
- 6.7. Output
- 6.8. Tweet Permissions and Rules
- 6.9. Options: Tweet from different accounts
- 6.10. Packaging with Docker
- 6.11. Handling Input
- 6.12. Error Handling
- 6.13. Logging
- 6.14. Summary
- 7. Configuring password resets
- 8. Permissions and Rules
- 9. Command Execution Rules
- 10. Bundle Configs
- 11. Command Environment Variables
- 12. Dynamic Command Configuration
- 13. Returning data from Cog
- 14. Services
- 15. Templates
- 16. Installing Your First Command Bundle
- 17. Developing a Trigger
- 18. Cog Architecture
- 19. Command pipelines
- 20. Redirecting Pipeline Output
- 21. Triggers
- 22. User management
- 23. Contributor License Agreement
- 24. Cog Server Configuration
- 25. Relay Configuration
- 26. Command Output Tags
- 27. Greenbar Tags
- 28. Audit Log Events
- 29. Glossary
- 30. Designing ChatOps Commands
- 31. Notes on Chat Platform Support