2 # $ fly -t target sp -p 00cookbook-cookbook -c concourse.yml -l fly-vars.yml -l ~/sec/credentials-prod.yml
7 repository: whitestar/git-resource
8 registry_mirror: https://((registry-mirror-domain))
10 - domain: ((registry-mirror-domain))
11 cert: ((docker-reg-ca-cert))
18 uri: ((git-id-osdn))@git.osdn.net:/gitroot/metasearch/grid-chef-repo.git
21 - cookbooks/((cookbook-name))
22 private_key: ((git-private-key))
23 git_user: ((git-user-osdn))
24 #check_every: 1h # default: 1m
28 repository: chef/chefdk
29 tag: ((chefdk-version))
30 # ((param)) style: fly >= 3.2.0
31 registry_mirror: https://((registry-mirror-domain)) # e.g. https://registry.docker.example.com:5000
33 - domain: ((registry-mirror-domain)) # e.g. registry.docker.example.com:5000
34 cert: ((docker-reg-ca-cert))
35 check_every: 12h # default: 1m
49 http_proxy: ((http-proxy)) # e.g. http://proxy.example.com:3128
50 #HTTP_PROXY: ((http-proxy))
56 # repository: chef/chefdk
57 # tag: ((chefdk-version))
59 #registry_mirror: https://((registry-mirror-domain))
61 #- domain: ((registry-mirror-domain))
62 # cert: ((docker-reg-ca-cert))
66 #dir: ./src-git/cookbooks/((cookbook-name))
72 cd ./src-git/cookbooks/((cookbook-name))
75 - name: publish-cookbook
86 http_proxy: ((http-proxy))
87 chef_username: ((chef-username))
88 chef_client_key: ((chef-client-key))
98 echo '{"username":"((chef-username))","key":"/root/chef-client-key.pem"}' > /root/.stove
99 echo "$chef_client_key" > /root/chef-client-key.pem
100 cd ./src-git/cookbooks/((cookbook-name))
106 tag_prefix: ((cookbook-name))-
107 tag: src-git/cookbooks/((cookbook-name))/version
109 annotate: src-git/cookbooks/((cookbook-name))/version
110 #annotate: # path to a file containing the annotation message.