Skip to content

Commit 53109f9

Browse files
Merge remote-tracking branch 'origin/shreyas-goenka/deployment-metadata-service' into dms-gitinfo
2 parents 3da49d7 + ce81328 commit 53109f9

6 files changed

Lines changed: 9 additions & 0 deletions

File tree

acceptance/bundle/dms/add-resources/output.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ Plan: 0 to add, 2 to change, 0 to delete, 0 unchanged
5656
"body": {
5757
"cli_version": "[DEV_VERSION]",
5858
"version_type": "VERSION_TYPE_DEPLOY",
59+
"display_name": "add-resources-test",
5960
"target_name": "default",
6061
"git_info": {}
6162
}
@@ -69,6 +70,7 @@ Plan: 0 to add, 2 to change, 0 to delete, 0 unchanged
6970
"body": {
7071
"cli_version": "[DEV_VERSION]",
7172
"version_type": "VERSION_TYPE_DEPLOY",
73+
"display_name": "add-resources-test",
7274
"target_name": "default",
7375
"git_info": {}
7476
}

acceptance/bundle/dms/deploy-error/output.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ API message: Invalid job configuration.
3131
"body": {
3232
"cli_version": "[DEV_VERSION]",
3333
"version_type": "VERSION_TYPE_DEPLOY",
34+
"display_name": "metadata-service-error-test",
3435
"target_name": "default",
3536
"git_info": {}
3637
}

acceptance/bundle/dms/plan-and-summary/output.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ Resources:
4242
"body": {
4343
"cli_version": "[DEV_VERSION]",
4444
"version_type": "VERSION_TYPE_DEPLOY",
45+
"display_name": "plan-summary-test",
4546
"target_name": "default",
4647
"git_info": {}
4748
}

acceptance/bundle/dms/release-lock-error/output.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Warn: Failed to release deployment lock: simulated complete version failure
2626
"body": {
2727
"cli_version": "[DEV_VERSION]",
2828
"version_type": "VERSION_TYPE_DEPLOY",
29+
"display_name": "dms-release-lock-error",
2930
"target_name": "fail-complete",
3031
"git_info": {}
3132
}

acceptance/bundle/dms/sequential-deploys/output.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Deployment complete!
2525
"body": {
2626
"cli_version": "[DEV_VERSION]",
2727
"version_type": "VERSION_TYPE_DEPLOY",
28+
"display_name": "sequential-deploys-test",
2829
"target_name": "default",
2930
"git_info": {}
3031
}
@@ -93,6 +94,7 @@ Deployment complete!
9394
"body": {
9495
"cli_version": "[DEV_VERSION]",
9596
"version_type": "VERSION_TYPE_DEPLOY",
97+
"display_name": "sequential-deploys-test",
9698
"target_name": "default",
9799
"git_info": {}
98100
}
@@ -161,6 +163,7 @@ Deployment complete!
161163
"body": {
162164
"cli_version": "[DEV_VERSION]",
163165
"version_type": "VERSION_TYPE_DEPLOY",
166+
"display_name": "sequential-deploys-test",
164167
"target_name": "default",
165168
"git_info": {}
166169
}

bundle/deploy/lock/deployment_metadata_service.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ func acquireLock(ctx context.Context, b *bundle.Bundle, svc *tmpdms.DeploymentMe
153153
Parent: "deployments/" + deploymentID,
154154
VersionID: versionID,
155155
Version: &tmpdms.Version{
156+
DisplayName: b.Config.Bundle.Name,
156157
CliVersion: build.GetInfo().Version,
157158
VersionType: versionType,
158159
TargetName: b.Config.Bundle.Target,

0 commit comments

Comments
 (0)