Skip to content
This repository was archived by the owner on Nov 12, 2021. It is now read-only.

logsquaredn/static-resource

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

static-resource

A Concourse resource for supplying static information. Written in Go.

Example

resource_types:
- name: static-resource
  type: registry-image
  source:
    repository: logsquaredn/static-resource
    tag: latest

resources:
- name: config
  type: static-resource
  source:
    interface:
      key: value

jobs:
- name: some-job
  plan:
  ...
  - get: config
    params:
      format: yml

  - load_var: interface
    file: config/interface
  ...

Source Configuration

A map of key-value pairs

Behavior

check

returns an array with the hash of the source given to it

in

Parameter Required Description
format no the format of the file that the static information should be made available through. One of json, raw, trim, yaml, yml. Default raw
reveal no whether or not to reveal the values in the output. Default false

out

returns the hash of the source given to it

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published