---
-# $ fly -t target sp -p 00cookbook-cookbook -c concourse.yml -l ~/credentials.yml
+# $ fly -t target sp -p 00cookbook-cookbook -c concourse.yml -l fly-vars.yml -l ~/credentials.yml
resources:
- name: src-git
type: git
type: docker-image
source:
repository: chef/chefdk
- tag: 0.17.17
- registry_mirror: {{registry-mirror}} # e.g. https://registry.docker.example.com:5000
+ tag: ((chefdk-version))
+ # ((param)) style: fly >= 3.2.0
+ registry_mirror: https://((registry-mirror-domain)) # e.g. https://registry.docker.example.com:5000
ca_certs:
- - domain: {{registry-mirror-domain}} # e.g. registry.docker.example.com:5000
- cert: {{docker-reg-ca-cert}}
+ - domain: ((registry-mirror-domain)) # e.g. registry.docker.example.com:5000
+ cert: ((docker-reg-ca-cert))
jobs:
- name: build-cookbook
# type: docker-image
# source:
# repository: chef/chefdk
- # tag: 0.17.17
+ # tag: ((chefdk-version))
# NG, setting disable
- #registry_mirror: {{registry-mirror}}
+ #registry_mirror: https://((registry-mirror-domain))
#ca_certs:
- #- domain: {{registry-mirror-domain}}
- # cert: {{docker-reg-ca-cert}}
+ #- domain: ((registry-mirror-domain))
+ # cert: ((docker-reg-ca-cert))
inputs:
- name: src-git
run:
- #dir: ./src-git/cookbooks/00cookbook
+ #dir: ./src-git/cookbooks/((cookbook-name))
#path: rake
path: /bin/bash
args:
- -c
- |
- cd ./src-git/cookbooks/00cookbook
+ cd ./src-git/cookbooks/((cookbook-name))
bundle install
rake