Giter Club home page Giter Club logo

circleci-feedback's Introduction

circleci-feedback

A Github app that posts build logs from failed CircleCI jobs to Pull Requests.

screenshot

For each pull request event, a webhook is sent to API Gateway, the request is authorized and ultimately an AWS Step Function is started. The step function runs very simple logic with Lambda functions and uses step function features to run this as cheap as possible.

Want to install it for yourself? Start here

Things to Note

  • This currently uses two versions of the CircleCI API (v1.1 and the beta 2.0 API) so, this is likely to change and is as reliable as these API's
  • This polls CircleCI APIs and definetly isn't perfect as is, I didn't event think this would be too possible based on the limited CircleCI API but, this is the MVP
  • A much simpler approach would be to curl some endpoint inside your CircleCI build on failures (it's possible to configure a job to run on failures of other jobs) but, from a user experience I didn't want to have users modify their CircleCI configuration to work
  • This code is rough! But, this is my first opensource golang project, I a still learning for sure.

What's Next?

  • Improvements to reduce the amount of API calls to CircleCI
  • Improvements on the backoff logic to wait for a build to finish
  • A Terraform deployment guide
  • A least privledge IAM policy to deploy this application

Props to Some Other Projects

I want to give a shoutout to some projects I used to create this,

circleci-feedback's People

Contributors

codingdiaz avatar

Stargazers

 avatar

Watchers

 avatar

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.