summaryrefslogtreecommitdiffhomepage
path: root/public/v4/apps/vsts.yml
diff options
context:
space:
mode:
authorKasra Bigdeli <[email protected]>2020-08-16 19:37:46 -0400
committerKasra Bigdeli <[email protected]>2020-08-16 19:37:46 -0400
commit723ca5cca53bf5a569cb951b77f7a9b71fe088bd (patch)
tree0cfbfb92e39cdd2a3ed7470eecbb98fdd27f8490 /public/v4/apps/vsts.yml
parent9ae0159100c53fcd357ec82cb819e3a863b34c57 (diff)
downloadcaprover-one-click-apps-723ca5cca53bf5a569cb951b77f7a9b71fe088bd.tar.gz
caprover-one-click-apps-723ca5cca53bf5a569cb951b77f7a9b71fe088bd.zip
Fixed build
Diffstat (limited to 'public/v4/apps/vsts.yml')
-rw-r--r--public/v4/apps/vsts.yml81
1 files changed, 42 insertions, 39 deletions
diff --git a/public/v4/apps/vsts.yml b/public/v4/apps/vsts.yml
index 3c83696..cc94159 100644
--- a/public/v4/apps/vsts.yml
+++ b/public/v4/apps/vsts.yml
@@ -1,42 +1,45 @@
captainVersion: 4
services:
- $$cap_appname:
- image: microsoft/vsts-agent:$$cap_vsts_version
- restart: always
- environment:
- VSTS_ACCOUNT: $$cap_vsts_account
- VSTS_TOKEN: $$cap_vsts_token
- VSTS_AGENT: $$cap_vsts_name
- VSTS_POOL: $$cap_vsts_pool
+ $$cap_appname:
+ image: microsoft/vsts-agent:$$cap_vsts_version
+ restart: always
+ environment:
+ VSTS_ACCOUNT: $$cap_vsts_account
+ VSTS_TOKEN: $$cap_vsts_token
+ VSTS_AGENT: $$cap_vsts_name
+ VSTS_POOL: $$cap_vsts_pool
caproverOneClickApp:
- variables:
- - id: $$cap_vsts_version
- label: VSTS Version Tag
- description: Check out their Docker page for the valid tags
- https://hub.docker.com/r/microsoft/vsts-agent/tags/
- defaultValue: ubuntu-16.04-standard
- validRegex: /^([^\s^\/])+$/
- - id: $$cap_vsts_account
- label: VSTS Account
- description: The name of the Visual Studio account. Take only the account part
- from your address, e.g. http://{account}.visualstudio.com
- validRegex: /.{1,}/
- - id: $$cap_vsts_token
- label: VSTS Token
- description: A personal access token (PAT) for the Visual Studio account that
- has been given at least the Agent Pools (read, manage) scope.
- validRegex: /.{1,}/
- - id: $$cap_vsts_name
- label: VSTS Agent Name
- validRegex: /.{1,}/
- - id: $$cap_vsts_pool
- label: VSTS Pool
- validRegex: /.{1,}/
- instructions:
- start: Official image for the Visual Studio Team Services (VSTS) agent.
- end: VSTS Agent is deployed and available as $$cap_appname
- displayName: VSTS
- isOfficial: true
- description: VSTS is an integrated development environment (IDE) developed as a
- software product by Microsoft Corp
- documentation: Taken from https://hub.docker.com/r/microsoft/vsts-agent/
+ variables:
+ - id: $$cap_vsts_version
+ label: VSTS Version Tag
+ description: Check out their Docker page for the valid tags
+ https://hub.docker.com/r/microsoft/vsts-agent/tags/
+ defaultValue: ubuntu-16.04-standard
+ validRegex: /^([^\s^\/])+$/
+ - id: $$cap_vsts_account
+ label: VSTS Account
+ description:
+ The name of the Visual Studio account. Take only the account part
+ from your address, e.g. http://{account}.visualstudio.com
+ validRegex: /.{1,}/
+ - id: $$cap_vsts_token
+ label: VSTS Token
+ description:
+ A personal access token (PAT) for the Visual Studio account that
+ has been given at least the Agent Pools (read, manage) scope.
+ validRegex: /.{1,}/
+ - id: $$cap_vsts_name
+ label: VSTS Agent Name
+ validRegex: /.{1,}/
+ - id: $$cap_vsts_pool
+ label: VSTS Pool
+ validRegex: /.{1,}/
+ instructions:
+ start: Official image for the Visual Studio Team Services (VSTS) agent.
+ end: VSTS Agent is deployed and available as $$cap_appname
+ displayName: VSTS
+ isOfficial: true
+ description:
+ VSTS is an integrated development environment (IDE) developed as a
+ software product by Microsoft Corp
+ documentation: Taken from https://hub.docker.com/r/microsoft/vsts-agent/