cookbook 'vsts_agent_macos', '= 1.0.0'
vsts_agent_macos (12) Versions 1.0.0 Follow2
A dedicated cookbook for configuring an Azure DevOps build or release agent on macOS.
cookbook 'vsts_agent_macos', '= 1.0.0', :supermarket
knife supermarket install vsts_agent_macos
knife supermarket download vsts_agent_macos
VSTS Agent Cookbook for macOS
Attributes
Agent Name
The name of the agent.
Default value: node['hostname']
default['vsts_agent']['agent_name']
Agent Version
The version of the agent to install.
Default value: 'latest'
default['vsts_agent']['version']
VSTS Agent Pool
The name of the agent pool you wish to add the agent to.
Default value: American Hanko's Agents
default['vsts_agent']['agent_pool']
VSTS Account Name
The name of your VSTS account.
Default value: americanhanko
default['vsts_agent']['account']
Admin User
The username of an adminstrator on the macOS system.
Default value: 'vagrant'
default['vsts_agent']['admin_user']
VSTS Agent Home directory
The location where containing all of the VSTS builds, sources, etc.
Default value: '/Users/#{node['vsts_agent']['admin_user']}/vsts-agent'
default['vsts_agent']['agent_home']
Additional Environment Variables
An optional hash may be set to pass environment variables to the agent. The agent
will then be configured with these environment variables which it will then
report back to the server.
Default value: {}
default['vsts_agent']['additional_environment']
Required Data Bag Item
For now, you'll need to create a data bag. Name your bag and corresponding item
whatever you like and make sure to set the corresponding attributes:
default['vsts_agent']['data_bag'] default['vsts_agent']['data_bag_item']
Additionally, it must contain a personal_access_token
key with
the token itself as the value. The token must have rights to read and modify
VSTS build agents. The permissions are selected at the time of the PAT creation.
Example:
{ "id": "vsts_build_agent", "personal_access_token": "iu8tfaxxrhce7yeu434yo9zfjtxif3jygzk24wegi855er2moobs", }
Dependent cookbooks
homebrew >= 0.0.0 |
tar >= 0.0.0 |
macos >= 0.0.0 |
sudo >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
1.0.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.0 passed this metric
License Metric
1.0.0 passed this metric
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 failed this metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.0 passed this metric
License Metric
1.0.0 passed this metric
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 passed this metric
1.0.0 passed this metric
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 passed this metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 failed this metric