No commit activity in last 3 years
No release in over 3 years
Framework for Concourse Resources
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.13.0, ~> 0.13
 Project Readme

fuselage

Overview

fuselage simplifies development of resources for Concourse by providing classes for standard resource steps, interface contracts between Concourse and your resource, and clear errors for most failure conditions.

Implementing a Resource

require 'concourse-fuselage'

Inherit from the appropriate class and implement the required methods.

Fuselage::Check

Check is used to poll for new versions.

#latest

Should return a Hash that describes the latest version. This will be called when no prior version has been detected.

#since(version)

Will be passed a Hash in the form Out#version returns.

Should return an Array of Hashes, similar to what #latest would return.

Fuselage::In

In is called for the get step of a resource.

#fetch!

Fetch #version place it in #workdir.

Should fail if #version is unavailable.

Fuselage::Out

Out is called for the put step of a resource.

#update!

Update the resource. All outputs from prior steps are available in #workdir.

#version

Should return a Hash that describes the resulting version.

License

concourse-fuselage is available under the MIT License. See LICENSE.txt for the full text.

Contributors