Update Azure Devops docs; fix typo

This commit is contained in:
David McPike
2019-09-22 17:27:34 -05:00
parent 70814fc3a7
commit a6779bb157
3 changed files with 21 additions and 1 deletions

View File

@@ -109,7 +109,7 @@ var stringFlags = map[string]stringFlag{
defaultValue: "",
},
ADProjectFlag: {
description: "Project name in your Azure Devops insance.",
description: "Project name in your Azure Devops instance.",
defaultValue: "",
},
ADTokenFlag: {

View File

@@ -536,6 +536,8 @@ atlantis server \
--atlantis-url="$URL" \
--azuredevops-user="$USERNAME" \
--azuredevops-token="$TOKEN" \
--azuredevops-org="myorg" \
--azuredevops-project="myproject" \
--azuredevops-basic-username="$ATLANTIS_AZUREDEVOPS_BASIC_USER" \
--azuredevops-basic-password="$ATLANTIS_AZUREDEVOPS_BASIC_PASS" \
--repo-whitelist="$REPO_WHITELIST"

View File

@@ -262,6 +262,24 @@ atlantis server \
--repo-whitelist="$REPO_WHITELIST"
```
##### Azure Devops
A certificate and private key are required if using Basic authentication for webhooks.
```bash
atlantis server \
--atlantis-url="$URL" \
--azuredevops-user="$USERNAME" \
--azuredevops-token="$TOKEN" \
--azuredevops-org="myorg" \
--azuredevops-project="myproject" \
--azuredevops-basic-username="$ATLANTIS_AZUREDEVOPS_BASIC_USER" \
--azuredevops-basic-password="$ATLANTIS_AZUREDEVOPS_BASIC_PASS" \
--repo-whitelist="$REPO_WHITELIST"
--ssl-cert-file=file.crt
--ssl-key-file=file.key
```
## Create a pull request
Create a pull request so you can test Atlantis.
::: tip