How caseybraithwaite/concourse-slack-resource works
Main Components
a) Resource Components (Core):
• Check Component (/src/check)
• In Component (/src/in)
• Out Component (/src/out)
These represent the three main interfaces required by Concourse for custom resources.
b) External Systems:
• Concourse CI Pipeline
• Slack API
• Container Registry (for deployment)
[Concourse Pipeline] <---> [Concourse Slack Resource] <---> [Slack API]
[Resource Container]
• Check Component
• In Component
• Out Component
Key Elements to Highlight
a) Data Flow Directions:
• How messages flow from Concourse to Slack
• How updates and thread responses are handled
• Timestamp and response handling
b) Configuration Points:
• Source Configuration (bot_token, channel)
• Params Configuration (blocks, timestamp, thread_ts)
Specific Implementation Details
• Blue rectangles for core components (check, in, out)
• Green diamonds for configuration points
• Yellow hexagons for external services
Important Interactions
• Message Creation Flow
• Message Update Flow
• Thread Creation Flow
• Environment Variable Interpolation
• Retry Mechanism
• Component Overview |
• Message Flow Paths |
• Configuration Flow |
Technical Details
• Docker container boundaries
• GitHub Actions workflow integration
• Go module structure
• Error handling paths
• Retry mechanism for timeouts
Implementation Notes
• Maintain consistent styling throughout
• Version information
• Notes about critical configuration requirements