Coder Social home page Coder Social logo

circleci-webhook-orb's Introduction

Webhook Orb

This orb attempts to simplify and transition from the legacy notify: webhook functionality of CircleCI.

Sample Output

{
  "build_num": "231",
  "branch": "webhook",
  "username": "eddiewebb",
  "job": "build",
  "build_url": "https://circleci.com/gh/eddiewebb/circleci-samples/231",
  "vcs_revision": "8f59df978e3fa133a2ee39ff66b3382342ce958c",
  "reponame": "circleci-samples",
  "workflow_id": "6dfa1b01-96ef-430d-bc35-11b5d20a5127",
  "workflow_url": "https://circleci.com/workflow-run/6dfa1b01-96ef-430d-bc35-11b5d20a5127",
  "pull_request": null,
  "user": "eddiewebb",
  "api_link": "https://circleci.com/api/v1.1/project/eddiewebb/circleci-samples/231",
  "status": "success"
}

Caveats

The legacy webhook mocked the entire payload of our API v1.1 job results. This orb contains a minimal payload with reference to lookup full job (via api_link) if aditional fields are required.

Please let me know by adding comments the discussion if you're missing a few specific fields or feel strongly about that decision.

Feedback

I want it! Please open an issue and let me know how to improve.

circleci-webhook-orb's People

Contributors

eddiewebb avatar movermeyer avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

circleci-webhook-orb's Issues

Field and layout considerations

This issue serves as the place to collect feedback on the migration from legacy webhook to this orb.

  • Are there specific fields you used not included?
  • Did you prefer the 'payload' wrapper element?
  • Any other feedbacks, critique about the fields and layout of webhook?

Add LICENSE file

I've taken a look at this project, and I would like to either fork and/or contribute to it.

However the lack of a LICENSE means that I don't know whether I can do that.

Please consider making the license explicit. (May I request the MIT License?)

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.