Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce a concept of step-metadata #86

Open
flosell opened this issue Feb 7, 2016 · 1 comment
Open

Introduce a concept of step-metadata #86

flosell opened this issue Feb 7, 2016 · 1 comment

Comments

@flosell
Copy link
Owner

flosell commented Feb 7, 2016

At the moment, all information about a build pipeline needs to be extracted from individual build steps:

  • The build duration and build timestamps
  • If the build was retriggered and from which one
  • What triggered a build (was it a VCS commit, a manual user interaction, ...)
  • That it received and processed a kill

If we had a separate concept of metadata, this could be used by build steps as well as LambdaCD itself to store such information and access it in a convenient way. It could also simplify the life of everyone trying to aggregate and visualize information about their builds in a custom way (see for example #84).

Some ideas on how it could look like:

Pipeline State:

{ :step-results { :step-results-like-before }
  :metadata     { :a-map-of-metadata }}

Sending metadata:

  • As part of a step-result:

    { :status :success
      :metadata {:foo :bar }}
  • Through the event-bus

    (event-bus/publish ctx :metadata-updated {:build-number 42 :step-id [1 2 3] :metadata {:foo :bar}

In the API and UI

  • Build history could include all metadata
  • UI could display some aspects of common metadata (maybe commits, ...)
@philwhln
Copy link
Contributor

+1

@flosell flosell changed the title Introduce a concept of step-metadata? Introduce a concept of step-metadata Feb 5, 2017
@flosell flosell added this to Backlog in LambdaCD Feb 11, 2017
@flosell flosell moved this from Backlog to TODO in LambdaCD Feb 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
LambdaCD
  
TODO
Development

No branches or pull requests

2 participants