forked from microsoft/azure-pipelines-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
830d477
commit 1ee7c30
Showing
7 changed files
with
75 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Configure Account and Roles | ||
|
||
VSTS only for now. On-prem coming with NTLM support in the works. | ||
|
||
Create a PAT token. [Step by Step here](http://roadtoalm.com/2015/07/22/using-personal-access-tokens-to-access-visual-studio-online/) | ||
|
||
Add the user you created the PAT token for to *both*: | ||
|
||
1. Agent Pool Administrators (allows to register) | ||
2. Agent Pool Service Accounts (allows listening to build queue) | ||
|
||
![Agent Roles](roles.png "Agent Roles") | ||
|
||
>> TIPS: | ||
>> You can add to roles for a specific pool or select "All Pools" on the left and grant for all pools. This allows the account owner to delegate build administration globally or for specific pools. [More here](https://msdn.microsoft.com/en-us/Library/vs/alm/Build/agents/admin) | ||
>> The PAT token is only used to listen to the message queue for a build job | ||
>> When a build is run, it will generate an OAuth token for the scoped identity selected on the general tab of the build definition. That token is short lived and will be used to access resource in VSTS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# ![win](../win_med.png) Windows Agent | ||
|
||
> NOTE: Preview 1 only has git support. TFSVC support is in progress for the next preview. | ||
## Step 1: System Requirements | ||
|
||
[Read here](../preview/latebreaking.md) to ensure system packages are installed | ||
|
||
## Step 2: Download from Releases | ||
|
||
Download the agent from [github releases](https://github.com/Microsoft/vsts-agent/releases/tag/v2.100.1) | ||
|
||
## Step 3: Create the agent | ||
|
||
```bash | ||
c:\ mkdir myagent && cd myagent | ||
C:\myagent> Add-Type -AssemblyName System.IO.Compression.FileSystem ; [System.IO.Compression.ZipFile]::ExtractToDirectory("$HOME\Downloads\vsts-agent-win7-x64-2.100.1.zip", "$PWD") | ||
``` | ||
## Step 4: Configure and Run | ||
|
||
```bash | ||
c:\myagent> run.cmd | ||
|
||
``` | ||
|
||
**That's It!** |