pivotal-cf/staticfile-resource

Name: staticfile-resource

Owner: Pivotal Cloud Foundry

Description: null

Created: 2017-11-30 18:55:44.0

Updated: 2017-11-30 19:30:30.0

Pushed: 2017-11-30 19:56:50.0

Homepage: null

Size: 17

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

staticfile-resource

A concourse resource to take arbitrary data passed in from a pipeline and writes them to files to be used in a task.

Source Configuration
Behavior
in: Write static files with data from the resource's source configuration.

Writes files to the destination directory with the arbitrary data from the resource's source configuration.

Example Configuration

An example pipeline exists in the example directory.

Resource
urce_types:
me: staticfile
pe: docker-image
urce:
repository: czero/staticfile-resource

urces:
me: configuration
pe: staticfile
urce:
files:
- filename: {{filename}}
  data: {{configuration_data}}
Development

This resource is written in Golang. dep is used to vendor the dependencies. To download all dependencies run dep ensure.

Running tests

Ginkgo is the testing framework used by this project.

Run ginkgo -r . from the directory to run all the tests.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.