Skip to content

Config file for a pipeline #3

Description

@tr00st

If we've got a string of tools to work together - we should probably have a way of writing a config file to do it in one command. Being able to run gst run and have your outputs processed and stored in one go.

First thoughts would be just having a section of inputs and a section of outputs. By default, all inputs go to all outputs. Look to add some filtering later?

We'd want certain parameters to be specified dynamically, eg:

  • Input files for output modules - temp files, or streamed directly internally?
  • Commit hash: arg/environment/sniffable?
  • Timestamp: current time

Rough concept:

# gst.config.yaml
inputs:
  lint:
    inputFiles:
      - reports/eslint.json
    includeMessages: true
  tests:
    inputFiles:
      - reports/jest.junit.xml
    includeFailures: true
    includeSkipped: true
    includePasses: false
    
outputs:
  db:
    type: dynamodb
    repositoryUri: https://github.com/tr00st/git-stat-tracker
    tableName: git-stat-tracker-stats

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions