Update formatting of yaml and fix inplace commands for yq in github action (#107)
This commit is contained in:
1 parent
ee7393f5e1
commit
5b506f0466
2 files changed
+26
-24
No files matched your search
@@ -141,9 +141,9 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
IMAGE_RELEASE_TAG: ${{ steps.bump-version.outputs.tag }}
|
IMAGE_RELEASE_TAG: ${{ steps.bump-version.outputs.tag }}
|
||||||
run: |
|
run: |
|
||||||
yq -i '(.ChangeSet[].EntityTags | select(.Key == "Release") | .Value) = "$IMAGE_RELEASE_TAG"' marketplace-revision-release.yaml
|
yq -i '(.ChangeSet[].EntityTags | ( .[] | select(.Key == "Release") ) | .Value) = "$IMAGE_RELEASE_TAG"' marketplace-revision-release.yaml
|
||||||
yq -i '.ChangeSet[].DetailsDocument.Version.VersionTitle = "Release $IMAGE_RELEASE_TAG"' marketplace-revision-release.yaml
|
yq -i '.ChangeSet[].DetailsDocument.Version.VersionTitle = "Release $IMAGE_RELEASE_TAG"' marketplace-revision-release.yaml
|
||||||
yq -i '(.ChangeSetTags[] | select(.Key == "Release") | .Value) = $IMAGE_RELEASE_TAG' marketplace-revision-release.yaml
|
yq -i '(.ChangeSetTags[] | ( .[] | select(.Key == "Release") ) | .Value) = $IMAGE_RELEASE_TAG' marketplace-revision-release.yaml
|
||||||
yq -i '.ChangeSetName = "Add New Release $IMAGE_RELEASE_TAG"' marketplace-revision-release.yaml
|
yq -i '.ChangeSetName = "Add New Release $IMAGE_RELEASE_TAG"' marketplace-revision-release.yaml
|
||||||
|
|
||||||
- name: Update Release Notes in marketplace-revision-release.yaml
|
- name: Update Release Notes in marketplace-revision-release.yaml
|
||||||
|
|||||||
@@ -1,30 +1,32 @@
|
|||||||
|
---
|
||||||
Catalog: 'AWSMarketplace'
|
Catalog: 'AWSMarketplace'
|
||||||
ChangeSet:
|
ChangeSet:
|
||||||
- ChangeType: 'AddDeliveryOptions'
|
- ChangeType: 'AddDeliveryOptions'
|
||||||
Entity:
|
Entity:
|
||||||
Type: 'ContainerProduct@1.0'
|
Type: 'ContainerProduct@1.0'
|
||||||
Identifier: 'prod-ixigokshzjrpw@41'
|
Identifier: 'prod-ixigokshzjrpw@41'
|
||||||
EntityTags:
|
EntityTags:
|
||||||
|
- Key: 'Release'
|
||||||
|
Value: ''
|
||||||
|
- Key: 'CostEntity'
|
||||||
|
Value: 'SEZC'
|
||||||
|
- Key: 'IPGroup'
|
||||||
|
Value: 'KY BAT Ledger Service'
|
||||||
|
DetailsDocument: {
|
||||||
|
"Version": {
|
||||||
|
"ReleaseNotes": "",
|
||||||
|
"VersionTitle": ""
|
||||||
|
},
|
||||||
|
"DeliveryOptions": ""
|
||||||
|
}
|
||||||
|
ChangeSetName: ''
|
||||||
|
ClientRequestToken: ''
|
||||||
|
# Set to VALIDATE to test request before applying changes. Default is APPLY.
|
||||||
|
Intent: 'VALIDATE'
|
||||||
|
ChangeSetTags:
|
||||||
- Key: 'Release'
|
- Key: 'Release'
|
||||||
Value: ''
|
Value: ''
|
||||||
- Key: 'CostEntity'
|
- Key: 'CostEntity'
|
||||||
Value: 'SEZC'
|
Value: 'SEZC'
|
||||||
- Key: 'IPGroup'
|
- Key: 'IPGroup'
|
||||||
Value: 'KY BAT Ledger Service'
|
Value: 'KY BAT Ledger Service'
|
||||||
DetailsDocument: {
|
|
||||||
"Version": {
|
|
||||||
"ReleaseNotes": "",
|
|
||||||
"VersionTitle": ""
|
|
||||||
},
|
|
||||||
"DeliveryOptions": ""
|
|
||||||
}
|
|
||||||
ChangeSetName: ''
|
|
||||||
ClientRequestToken: ''
|
|
||||||
Intent: 'VALIDATE' # Set to VALIDATE to test request before applying changes. Default is APPLY.
|
|
||||||
ChangeSetTags:
|
|
||||||
- Key: 'Release'
|
|
||||||
Value: ''
|
|
||||||
- Key: 'CostEntity'
|
|
||||||
Value: 'SEZC'
|
|
||||||
- Key: 'IPGroup'
|
|
||||||
Value: 'KY BAT Ledger Service'
|
|
||||||
Reference in new issue
Block a user