Skip to content

Commit

Permalink
Update URLs to the new format (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivadim authored Dec 28, 2017
1 parent 267358d commit a0e3aee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions attributes/default.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
default['vsts_agent']['binary']['version'] = '2.125.1'
default['vsts_agent']['binary']['version'] = '2.126.0'

case node['platform_family']
when 'windows'
default['vsts_agent']['binary']['url'] = 'https://github.com/Microsoft/vsts-agent/releases/download/v%s/vsts-agent-win-x64-%s.zip'
default['vsts_agent']['binary']['url'] = 'https://vstsagentpackage.azureedge.net/agent/%s/vsts-agent-win-x64-%s.zip'
when 'debian', 'rhel'
default['vsts_agent']['binary']['url'] = 'https://github.com/Microsoft/vsts-agent/releases/download/v%s/vsts-agent-linux-x64-%s.tar.gz'
default['vsts_agent']['binary']['url'] = 'https://vstsagentpackage.azureedge.net/agent/%s/vsts-agent-linux-x64-%s.tar.gz'
when 'mac_os_x', 'mac_os_x_server'
default['vsts_agent']['binary']['url'] = 'https://github.com/Microsoft/vsts-agent/releases/download/v%s/vsts-agent-osx-x64-%s.tar.gz'
default['vsts_agent']['binary']['url'] = 'https://vstsagentpackage.azureedge.net/agent/%s/vsts-agent-osx-x64-%s.tar.gz'
end

# applies for debian based distros: ubuntu, debian etc...
Expand Down
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
source_url 'https://github.com/Microsoft/vsts-agent-cookbook' if respond_to?(:source_url)
issues_url 'https://github.com/Microsoft/vsts-agent-cookbook/issues' if respond_to?(:issues_url)
chef_version '>= 12.4' if respond_to?(:chef_version)
version '2.0.1'
version '2.0.2'

%w(ubuntu debian redhat centos mac_os_x windows).each do |operating_system|
supports operating_system
Expand Down

0 comments on commit a0e3aee

Please sign in to comment.