dinghy

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2019 License: Apache-2.0 Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

dinghy

A little boat to take you to the big boat - Miker

Yo, but what do it do?

Users should be able to specify a pipeline in code in their GitHub repo. Dinghy should keep the pipeline in Spinnaker in sync with what is in the GitHub repo. Also, users should be able to make a pipeline by composing other pipelines, stages, or tasks and templating certain values.

Deets

There are two primitives:

  • Stage/Task templates: These are all kept in a single GitHub repo. They are json files with replacable values in them.
  • Pipeline definitions: These define a pipeline for an application. You can compose stage/task templates to make a full definition.

How it works:

  • GitHub webhooks are sent off when either the templates or the definitions are modified.
  • Templates should be versioned by hash when they are used.
  • Dinghy will keep a dependency graph of downstream templates. When a dependency is modified, the pipeline definition will be rebuilt and re-posted to Spinnaker. (sound familiar? haha)

Testing manually.

curl -X POST -H "Content-Type: application/json" -d "@example/github_payload.json" http://localhost:8089/webhooks/git/github

(The github_payload.json file in the example directory is a minimal set for testing the git webhook, as an example)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
cache/local
Package local provides a goroutine safe map for caching.
Package local provides a goroutine safe map for caching.
dinghyfile
Package dinghyfile is a generated GoMock package.
Package dinghyfile is a generated GoMock package.
git
mock
Package dinghyfile is a generated GoMock package.
Package dinghyfile is a generated GoMock package.
settings
Package settings is a single place to put all of the application settings.
Package settings is a single place to put all of the application settings.
web

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL