Skip to content

Releases: kittoframework/kitto

v0.4.0

12 Jan 16:17
1b245f5
Compare
Choose a tag to compare

Added

  • Exponential back-off support for failing jobs (b20064a)

  • Widget generator task

    mix kitto.gen.widget weather
    # Generates:
    #   * widgets/weather/weather.js
    #   * widgets/weather/weather.scss
  • Job generator task

    mix kitto.gen.job weather
    # Generates: jobs/weather.exs
  • Dashboard generator task

    mix kitto.gen.dashboard weather
    # Generates: dashboards/weather.html.eex

Changed

  • Warning and danger widget colors are swapped in new generated dashboards

Kitto 0.3.0

10 Dec 16:32
Compare
Choose a tag to compare

Changes

[0.3.0] - 2016-12-08

Added

  • :command option to job DSL

Example:

job :kitto_last_commit,
    every: {5, :minutes},
    command: "curl https://api.github.com/repos/kittoframework/kitto/commits\?page\=1\&per_page\=1"

Broadcasts JSON in the form { "exit_code": "an integer", "stdout": "a string" }

Changed

  • Calls to broadcast/1 inside a job are rewritten to Kitto.Notifier.broadcast/2
  • Installer checks for app name validity
  • The graph type of the graph widget is now configurable (9eeaf5f)