Giter Site home page Giter Site logo

relay-fastlane's Introduction

Relay Integration Template

This repository serves as a template for creating new Relay integration repositories. You can create a new repository from this template. Delete this section from your actual README and start below the horizontal line.

Directory structure

.
├── integration.yaml    # metadata describing the integration as a whole
├── LICENSE             # defaults to Apache, replace if that doesn't suit
├── media               # include a svg icon for your integration
├── README.md           # you're reading it right now
├── steps               # subdirectory for containerized steps
│  └── template           # rename this to your own step's name
|     ├── README.md       # detail about how to use this step
│     ├── Dockerfile      # needed to build the container
│     ├── step.sh         # entrypoint script (plus any additional files)
│     └── step.yaml       # step metadata 
├── triggers            # subdirectory for triggers
│  └── template           # rename this to your trigger's name
|     ├── README.md       # detail about how to use this trigger
│     ├── Dockerfile      # ... 
│     ├── handler.py      # Entrypoint webhook handler script
│     └── trigger.yaml    # trigger metadata
└── workflows           # subdirectory for example workflows
   └── example1           # an example workflow
      ├── README.md          # how to use this workflow
      ├── example1.png       # picture of workflow graph from app
      └── example1.yaml      # the workflow itself

Metadata definition

The example metadata files show the minimum required information. The formal specification for the metadata is in the Relay Integrations RFC.

Naming conventions

Steps and triggers should result in containers that follow a naming scheme like:

integrationname-{step|trigger}-descriptor

This follows from the directory structure, where integrationname is the top-level directory and the steps and triggers (pluralized names of the type of container) have a subdirectory named descriptor for each action that's available.

The descriptors can be as simple as notify or respond but noun-verb constructions are also helpful, like ticket-close.

Workflows are less rigidly specified since they are likely to be snippets or example code which end-users will need to modify to use.


Foobar Integration for Relay.sh

This integration allows you to connect Foobar to Relay. Foobar is a ...

Steps

Name Description
foobar-step-notify This steps sends a notification to Foobar

Triggers

Name Description
foobar-trigger-receive Trigger to handle a webhook event from Foobar

Workflows

Name Description
example1.yaml This workflow shows you how to link the Foobar steps and triggers together

Contributing

Issues

Feel free to submit issues and enhancement requests.

Contributing Code

In general, we follow the "fork-and-pull" Git workflow.

  1. Fork the repo on GitHub
  2. Clone the project to your own machine
  3. Commit changes to your own branch
  4. Push your work back up to your fork
  5. Submit a Pull request so that we can review your changes

NOTE: Be sure to merge the latest from "upstream" before making a pull request!

License

As indicated by the repository, this project is licensed under Apache 2.0.

relay-fastlane's People

Contributors

woodburndesigns 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.