Skip to content

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

License

Notifications You must be signed in to change notification settings

gomplate/gomplate-resource

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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