GithubHelp home page GithubHelp logo

stoat-dev / stoat-action Goto Github PK

View Code? Open in Web Editor NEW
65.0 1.0 2.0 13.87 MB

Turn pull request comments into developer dashboards.

Home Page: https://www.stoat.dev

License: MIT License

TypeScript 82.46% JavaScript 1.26% Shell 0.11% Handlebars 0.01% Jinja 0.01% CSS 15.39% HTML 0.76%
comment continuous-integration pull-request template ci-cd-pipeline pull-requests github-action developer-tools stoat

stoat-action's People

Contributors

avaidyanatha avatar dependabot[bot] avatar jrhizor avatar tuliren avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

stoat-action's Issues

document js and jinja2 templating

We now provide the merged config input to a sandbox vm for JS which is detected when a the template file has a .js extension and process the console logs as the markdown displayed in the Github comment.

We also provide the config input to Jinja2 for .jinja2 extensions.

We just need to document that usage so people can use it.

Create a release script / action

Release process:

  • Bump version
  • Tag the head commit with the latest version
  • Update latest, vN and vN.M tags.
  • Create a release on the market.

Add `plugins` field with plugin configs as first level citizens

The current tasks field has task configs as its first level citizen. This can be weird for global plugins (i.e. plugins that only needs to be configured once per repo). For example, the job_runtime should only be included in one task, but currently it is possible to set it in multiple tasks.

A stoat config schema that can enforce the uniqueness of global plugins is as follows. It adds a plugins field, under which plugin configs are first level citizens:

----
version: 1
enabled: true
plugins:
  static_hosting:
    jest-coverage-report:
      path: /coverage/lcov-report
      metadata:
        name: `jest` report
    jacoco-report
      path: /build/jacoco/report
      metadata:
        name: `jacoco` report
  job_runtime:

However, it is possible that it is not a good idea. A plugin that is "global" today may not be the case tomorrow. For example, there may be legit use cases for setting up job_runtime tasks multiple times so that different jobs can have their runtime chart presented in different styles or formats. So we should not rush in the implementation of this issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.