Skip to content
This repository was archived by the owner on Nov 30, 2021. It is now read-only.
This repository was archived by the owner on Nov 30, 2021. It is now read-only.

Kube annotations for Deis applications #545

Closed
@intellix

Description

@intellix

TL;DR: K8S Annotations for attaching arbitrary metadata to applications for attaching/retrieving from Deis API

So I'm creating Heroku-style pipelines using the Atlassian stack. We have JIRA issues created like FE-1231 and then create pull-requests and commits with the issue number prefixed:

Branch: FE-1231-footer-styling
Commit: FE-1231 fix(footer): improve the styling to not glitch

I've got webhooks making POST requests to an Express middleware for creating applications in the Pull-Request lifecycle like:

PR Opened: deis apps:create myproject-pr-1 --remote myproject-pr-1
PR Declined: deis apps:destroy --app myproject-pr-1 --confirm myproject-pr-1
PR Updated: git push myproject-pr-1 origin/myproject-pr-1

Once my middleware server is fully working, I want to create 3-lane UI for showing the Pull-requests in their lifecycle by using the Deis API.

Column 1: List of PR applications
Column 2: Staging [deploy to Production]
Column 3: Production

When I create these 3 columns of cards, it would be nice to present additional data such as the

  • JIRA ID
  • PR Title
  • PR Comment
  • Commit hash
  • PR Creator

At the moment, I can only attach tags, and that complains that there aren't any Nodes to match against. I'll have to use kubectl for the time being to attach them, but guessing I need to retrieve them via the k8s API as well

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions