This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
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
eab4d8a
commit c07ac2d
Showing
2 changed files
with
26 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
## Description | ||
|
||
Add a new variable group in Azure DevOps project | ||
|
||
## Example | ||
|
||
Below is an example of the expected schema in the `--file` argument where | ||
`storage-account-name` is a key name and `fabrikamstorage` is a value. If the | ||
value is a secret then the key/value `isSecret: true` is expected | ||
|
||
```yaml | ||
name: "my-variable-group" | ||
description: "My variable group description" | ||
type: "Vsts" | ||
variables: | ||
storage-account-name: | ||
value: fabrikamstorage | ||
storage-account-access-key: | ||
value: "fabrikamstorage access key" | ||
isSecret: true | ||
``` | ||
If the yaml file above is available at `$PATH_TO_FILE` your would call | ||
|
||
`spk variable-group create --file $PATH_TO_FILE` |