Giter VIP home page Giter VIP logo

Comments (8)

ivadim avatar ivadim commented on July 19, 2024

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.

lavahot avatar lavahot commented on July 19, 2024

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.

ivadim avatar ivadim commented on July 19, 2024

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.

lavahot avatar lavahot commented on July 19, 2024

Hmm. Okay, I'll give it a shot.

from azure-pipelines-agent-cookbook.

ivadim avatar ivadim commented on July 19, 2024

Hi @lavahot ,
Did you try a new cookbook and these changes?

from azure-pipelines-agent-cookbook.

lavahot avatar lavahot commented on July 19, 2024

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.

lavahot avatar lavahot commented on July 19, 2024

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.

ivadim avatar ivadim commented on July 19, 2024

@lavahot I updated cookbook with a new version and new urls

from azure-pipelines-agent-cookbook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.