This repository has been archived by the owner on Apr 13, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add markup file for hld command (#513)
- Loading branch information
Showing
3 changed files
with
61 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
## Description | ||
|
||
Append a variable group name to the current `manifest-generation.yaml` of an | ||
initialized hld repository. | ||
|
||
## Example | ||
|
||
When an HLD repository is first initialized with `spk hld init`, the top portion | ||
of the `manifest-generation.yaml` looks like this: | ||
|
||
```yaml | ||
# GENERATED WITH SPK VERSION 0.5.8 | ||
trigger: | ||
branches: | ||
include: | ||
- master | ||
variables: [] | ||
pool: | ||
vmImage: ubuntu-latest | ||
steps: | ||
. | ||
. | ||
. | ||
``` | ||
|
||
running `spk hld append-variable-group my-vg` with a variable group name, in | ||
this case `my-vg`, will add it under the `variables` section if it does not | ||
already exist: | ||
|
||
```yaml | ||
# GENERATED WITH SPK VERSION 0.5.8 | ||
trigger: | ||
branches: | ||
include: | ||
- master | ||
variables: | ||
- group: my-variable-group | ||
pool: | ||
vmImage: ubuntu-latest | ||
steps: | ||
. | ||
. | ||
. | ||
``` |
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