Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
As a part of a recent Rangers project, our team of experts set out to develop custom artifacts for use with DevTest Labs. Some of the great contributions that have been assimilated into the azure-devtest-labs GitHub repo include:
Additional out of band work continues with:
We learned a lot of lessons during this project, and we'd like to start by sharing some practical guidance to anyone who may be interested in developing custom artifacts for use with DevTest Labs VMs. Part 1 of this series will center around getting your development environment ready to develop artifacts.
The team used the following tools to create, edit and refine DevTest Lab artifacts:
To quickly get started with VS Code and start developing artifacts, please use the following as a guide. For Linux development, please be sure to swap out C:/
for the directory of your choice.
Also, for Linux, please use the appropriate package manager (apt-get, yum, zypper, etc.) to download and install Git and related credential manager. You can download the latest Linux bits from the Visual Studio Code site. This will effectively bypass steps 1 and 2.
cmd
-> Right-click and “Run as Administrator”)@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
cmd
as administratorchoco install git visualstudiocode git-credential-manager-for-windows
cm``git clone https://%ACCOUNT-NAME%.visualstudio.com/DefaultCollection/%TEAM-PROJECT%/_git/%REPO% C:/%WORK-FOLDER%
git clone https://almrangers.visualstudio.com/DefaultCollection/ALM/_git/vsarAzureDevTest C:/ALMRangers-DTL
user name
and password
(where password
may be a Personal Access Token)git clone https://github.com/Azure/azure-devtestlab.git C:/Azure-DTL
Now you are ready to start developing your custom artifact.
Next ... in Developing Custom Artifacts for DevTest Labs: Tips and Tricks will cover some essential Do's and Dont's when developing artifacts.
Stay tuned!
Please sign in to use this experience.
Sign in