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.
Merge branch 'master' into nate.patch.relative-paths
- Loading branch information
Showing
4 changed files
with
51 additions
and
7 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
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