Comments (8)
In preview they started to use .net core 2.0 which unblocks Debian Stretch, so I decided to use it. But it's a good point. Now it's not possible to rollback to the previous version as download URL were changed. I will add support back.
@lavahot do you have any problems with pre-release version?
from azure-pipelines-agent-cookbook.
I haven't yet used the pre-release version, so I technically have not had any problems, but I plan on deploying into production which means that I will probably wind up using the release version anyway. I'm going to hold back and use the v1 of the cookbook for the moment anyway, so not a big rush.
from azure-pipelines-agent-cookbook.
Actually, you can easily overwrite behavior by changing default attributes.
In your wrapper cookbook add
default['vsts_agent']['binary']['version'] = '2.124.0'
case node['platform_family']
when 'windows'
default['vsts_agent']['binary']['url'] = 'https://github.com/Microsoft/vsts-agent/releases/download/v%s/vsts-agent-win7-x64-%s.zip'
when 'debian'
default['vsts_agent']['binary']['url'] =
if platform?('ubuntu') && node['platform_version'].to_i >= 16
'https://github.com/Microsoft/vsts-agent/releases/download/v%s/vsts-agent-ubuntu.16.04-x64-%s.tar.gz'
else
'https://github.com/Microsoft/vsts-agent/releases/download/v%s/vsts-agent-ubuntu.14.04-x64-%s.tar.gz'
end
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.10.11-x64-%s.tar.gz'
end
You can remove platforms which you don't need.
from azure-pipelines-agent-cookbook.
Hmm. Okay, I'll give it a shot.
from azure-pipelines-agent-cookbook.
Hi @lavahot ,
Did you try a new cookbook and these changes?
from azure-pipelines-agent-cookbook.
Sorry, I spent all day tracking down a bug. Looks like it had something to do with the v1 cookbook itself (I don't know what exactly), so I'm gonna spin up v2 right now and let you know.
from azure-pipelines-agent-cookbook.
Good news and bad news: 2.126.0 has been properly released, bad news is they totally changed the URL for it.
from azure-pipelines-agent-cookbook.
@lavahot I updated cookbook with a new version and new urls
from azure-pipelines-agent-cookbook.
Related Issues (20)
- Missing .service file on Windows 2012R2 HOT 2
- Cookbook doesn't install service properly on Chef 13 HOT 13
- Add UnitTests for travis-ci builds HOT 1
- Improve integration testing HOT 1
- Authentication error HOT 3
- On-Prem compatibility? HOT 3
- username and password arguments should not be led with '--'
- No need to convert environment to string. HOT 1
- On macOS, launchd service does not work over ssh. HOT 1
- Pinning of seven_zip dependency using ~> prevents users from selecting version 3.0.0 HOT 1
- Add CHANGELOG.md file to repo
- Feature Request: Add support for deployment groups HOT 4
- chef 14 error: cannot load such file -- chef/mixin/language HOT 2
- Bug: NoMethodError: undefined method `win_friendly_path' HOT 2
- Version is not a state value HOT 1
- Cookbook throws an error when we specify new agent pool HOT 3
- Add proxy Support for vsts agent HOT 2
- Test kitchen fails on macOS using Chef Client 13.0.118 HOT 2
- Test kitchen fails on macOS during 'Configuring agent' execution HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-pipelines-agent-cookbook.