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.
[DOCS] Adding Markdown file for spk deployment create (#7)
* Added create.md * Update * Adding command examples about other pipelines Co-authored-by: Dennis Seah <dennis.seah@gmail.com> Co-authored-by: Yvonne Radsmikham <yvonne.radsmikham@gmail.com> Co-authored-by: Samiya Akhtar <samiyaakhtar7@gmail.com>
- Loading branch information
1 parent
80e285d
commit 24c4379
Showing
3 changed files
with
46 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,43 @@ | ||
## Description | ||
|
||
This command inserts data about pipeline runs into Azure Table storage. | ||
|
||
## Example | ||
|
||
The following command has parameters for Azure Table storage credential and various pipelines run details. It's used by the source build pipeline, the release stage and the manifest generation pipeline, and each of them pass in parameters depending on the information for that pipeline. Here are three examples: | ||
|
||
``` | ||
spk deployment create -n $AZURE_STORAGE_ACCOUNT_NAME \ | ||
-k $AZURE_ACCOUNT_KEY \ | ||
-t $AZURE_TABLE_NAME \ | ||
-p $AZURE_TABLE_PARTITION_KEY \ | ||
--p1 $(Build.BuildId) \ | ||
--image-tag $tag_name \ | ||
--commit-id $commitId \ | ||
--service $service \ | ||
--repository $repourl | ||
``` | ||
|
||
``` | ||
spk deployment create -n $AZURE_STORAGE_ACCOUNT_NAME \ | ||
-k $AZURE_ACCOUNT_KEY \ | ||
-t $AZURE_TABLE_NAME \ | ||
-p $AZURE_TABLE_PARTITION_KEY \ | ||
--p2 $(Build.BuildId) \ | ||
--hld-commit-id $latest_commit \ | ||
--env $(Build.SourceBranchName) \ | ||
--image-tag $tag_name \ | ||
--pr $pr_id \ | ||
--repository $repourl | ||
``` | ||
|
||
``` | ||
spk deployment create -n $AZURE_STORAGE_ACCOUNT_NAME \ | ||
-k $AZURE_ACCOUNT_KEY \ | ||
-t $AZURE_TABLE_NAME \ | ||
-p $AZURE_TABLE_PARTITION_KEY \ | ||
--p3 $(Build.BuildId) \ | ||
--hld-commit-id $commitId \ | ||
--pr $pr_id \ | ||
--repository $repourl | ||
``` |
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