Coder Social home page Coder Social logo

index's Introduction

StackStorm Exchange Index

Hello, my friend. Stay awhile and listen.

I am going to tell you all about the StackStorm Exchange Index, a sacred tome holding detailed accounts of every StackStorm pack that the Order deemed worthy of the world to see.

Structure

The index is currently compiled into a single JSON object and stored as a file: v1/index.json. Packs are identified by names, and their metadata is copied as is from the pack.yaml files. repo_url is the only property that is stored in the index but not in pack.yaml; it contains, quite unsurprisingly, a URL for the git repository to clone the pack from.

This is a simplified index example:

{
  "metadata": {
    "generated_ts": 1476974445,
    "hash": "79c790a6ca3c22783f4adabd5c163059",
  },
  "packs": {
    "aws": {
      "name": "aws",
      "version": "0.0.1",
      <other metadata from pack.yaml>
      "repo_url": "https://github.com/StackStorm-Exchange/stackstorm-aws/"
    },
    "sensu": {
      "name": "sensu",
      "version": "0.3.7",
      <other metadata from pack.yaml>
      "repo_url": "https://github.com/StackStorm-Exchange/stackstorm-sensu/"
    }
  }
}

Rebuilding the index

Rebuilding of the StackStorm Exchange index is performed on every pack.yaml change in the master branch of a tracked StackStorm Exchange pack. The rebuild is automatic and rarely takes more than a couple minutes. If your PR has been merged for some time, and the index has not been updated, please raise an issue.

Our CI repository contains the necessary scripts, and you can take a peek to see how the rebuild works. The repository is public, so the whole process is fully transparent!

Building your own index (advanced)

The index_urls parameter inside st2.conf supports a comma-separated list of index files. Building your own index might be useful if you have a bunch of internal packs: you would be able to keep track of them in a centralized way and make them easily discoverable in your StackStorm instances.

Additionally, if your StackStorm deployment is subject to a security policy or heavily firewalled, you can clone the necessary packs to an internal server and host your own index with modified repo_urls.

index's People

Contributors

emedvedev avatar enykeev avatar kami avatar lindsayhill avatar stackstorm-neptr 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.