Skip to content

Commit

Permalink
Use script deployment instead of native dpl supermarket provider (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivadim authored May 4, 2017
1 parent 699e096 commit c911529
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ before_install:
- openssl aes-256-cbc -K $encrypted_92c995406a15_key -iv $encrypted_92c995406a15_iv
-in supermarket.pem.enc -out supermarket.pem -d
deploy:
provider: chef-supermarket
user_id: vsts_agent_cookbook
client_key: supermarket.pem
cookbook_category: Others
provider: script
script: chef exec rake release
on:
tags: true
6 changes: 6 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ namespace :kitchen do
end
end

task :supermarket do
exec 'chef exec knife supermarket share vsts_agent Other -o .. -k supermarket.pem -u vsts_agent_cookbook'
end

task :default => ['style', 'kitchen:linux']

task :travis => ['style']

task :release => ['supermarket']

0 comments on commit c911529

Please sign in to comment.