gomplate / gomplate-resource

⚠️THIS DOESN'T WORK⚠️ (Concourse CI resource for templating files with gomplate)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gomplate-resource

Concourse CI resource for templating files with gomplate

Examples

resource_types:
- name: gomplate
  type: docker-image
  source:
    repository: gomplate/gomplate-resource
    tag: latest

resources:
- name: gomplate
  type: gomplate

jobs:
- name: deploy-things
  plan:
  - get: things
    trigger: true
  - get: datasources
  - get: rendered-files
    resource: gomplate
    params:
      datasources:
        - data=datasources/data.yml
      inputFiles:
        - things/file1.in
        - things/file2.in
      # these are prefixed by the destination dir, i.e. `rendered-files/`
      outputFiles:
        - file1.out
        - file2.out
  - get: rendered-dir
    resource: gomplate
    params:
      inputDir: things
      # outputDir defaults to the destination directory

About

⚠️THIS DOESN'T WORK⚠️ (Concourse CI resource for templating files with gomplate)

License:MIT License


Languages

Language:Go 83.7%Language:Shell 15.3%Language:Makefile 1.1%