How to configure Self-Hosted Linux Agent in Azure DevOps
Vložit
- čas přidán 25. 07. 2024
- In this video, I show easy is to configure a self-hosted Linux agent for your Azure DevOps project. In the first part, I start with an interactive mode configuration, where you have to provide all the required parameters one by one. In the second part, I demo how to do a single-command line configuration, which is a more powerful way if you are thinking about automating your agent's creation with pipelines.
Azure Agents configuration ###
docs.microsoft.com/en-us/azur...
docs.microsoft.com/en-us/azur... - Věda a technologie
Thanks for the video. I was banging my head because I was using the PAT that I had created for git which I only restricted to source control access only! Make sure the PAT you use has correct access!
Glad it helped!
Very helpful guide. Helped me a lot! Thank you!
Glad to hear it!
Really helpful, thanks man.
Thanks for the video very useful.
Great explanation and verry usefull. Thanks!
Excellet work! Thank you so much.
its really awesome and understandable. could u please upload one video for connecting a pipeline to a docker service which is running in a linux vm
Thank you so much.
Always welcome
hey i did it thank youuu...i have taken my ec2 linux machine
Great 👍
Good info buddy #Ty ✌️🤗
Welcome. Any questions, just let me know.
@@DevBObs
Yes buddy !
I have started working on Automation using #AzureDevOps so Need u r assistance.
@@DevBObs
Need end to end concept about #AzureDevOps buddy ✌️
@@thpyazmass Did you check this video czcams.com/video/_4joGOdbWqg/video.html
@@DevBObs Sure buddy #Ty
mindblowing explanation, hats off to you sir. I have 1 question like what is the difference between interactive and service setup?
Hi. Interactive you have to manually run the configuration. As a service is the there is any interruption, the service will try to restore the agents.
Does it need the same setup for the azure container instances as an agent?
Very well explained. How to keep the agent always in online state even if we close the terminal?
ya i aso still looking at this. is that the terminal can not closed?
Sorry for delayed answer. I was out for long time. Did you solve the challenge?
how to add multi-agent in same pool?
Hello and thanks for the video !
What would be the proper way to keep the Linux agent online ? Adding ./run.sh as a startup service or something... ?
Yes. Keep it as a service.
you can try:
nohup run.sh &
I have tried this with ubuntu 20.04. I provide the url and the personal access token but it does not even try to connect. Any idea? the agent version I am using is V2.187.2. Thanks in advance.
I followed the same steps and When I run the pipeline, I am getting an error message “##[error]unable to read data from the transport connection: connection reset by peer”. Could you please help on resolving this?
The first machine where you install your agent ..should be always running ..right ?
It depends on the goal. It should be an always runner agent.
hi am doing automation on azure devops. created pipeline and all and build is showing succeeded. but have few qsns like for my project if i wanted to see the build in a linux hosted server please let me know where can i see...this is very urgent and it will be helpful if u guide
Hi. Well this video is about how to configure self-hosted agents. You follow all the instructions I gave here and let me know if you have any problem. Maybe I misunderstood your problem?
@@DevBObs hi i have already followed and did the same thing. successfully ran the agent but running the pipeline ends in a problem.it failed with below error
##[error]Version spec 3.7.4 for architecture x64 did not match any version in Agent.ToolsDirectory.
even though i have python in my ec2 instance still i got this error.could u please give any chat box so that i can talk there directly
@@susilsahoo6156 did you check if you download the right version for you unix/windows OS? Remember the agent selection is based on those.
@@DevBObs yeah i have created an ubuntu ec2-instance and was doing there and downloded url is linux i have taken for an agent
anyways i have done that. but i want a solution for creating a docker image in a self hosted machine for a microservice kind of project. each module has 2 images each. so from code base where to put those images . i mean at what level of directory i should keep the images and from pipline end what i will have to do for building the images. please reply me. if u need any other info for understanding i will give.but please reply
what the application did you run the command. After I run some error happen
and the config command not working
Did you solve the problem?