-
Notifications
You must be signed in to change notification settings - Fork 433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(api, worker): auto build info #6264
Conversation
Signed-off-by: francois samin <[email protected]>
Signed-off-by: francois samin <[email protected]>
Signed-off-by: francois samin <[email protected]>
Signed-off-by: francois samin <[email protected]>
Signed-off-by: francois samin <[email protected]>
Signed-off-by: francois samin <[email protected]>
Signed-off-by: francois samin <[email protected]>
Signed-off-by: francois samin <[email protected]>
Signed-off-by: francois samin <[email protected]>
Signed-off-by: francois samin <[email protected]>
Signed-off-by: francois samin <[email protected]>
Signed-off-by: francois samin <[email protected]>
Signed-off-by: francois samin <[email protected]>
Signed-off-by: francois samin <[email protected]>
Signed-off-by: francois samin <[email protected]>
Signed-off-by: francois samin <[email protected]>
CDS Report build-all-cds#17834.0 ✘
|
engine/api/workflow_queue.go
Outdated
return err | ||
} | ||
|
||
var releaseRequest sdk.WorkflowRunResultPromotionRequest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
releaseRequest -> promotionRequest
engine/api/workflow_queue.go
Outdated
for _, id := range releaseRequest.IDs { | ||
if id == r.ID { | ||
log.Debug(ctx, "adding promotion data: %+v", releaseRequest) | ||
r.DataSync.Promotions = append(r.DataSync.Promotions, releaseRequest.WorkflowRunResultPromotion) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe test if promotion maturity is already in the slice
for _, id := range releaseRequest.IDs { | ||
if id == r.ID { | ||
log.Debug(ctx, "adding release data: %+v", releaseRequest) | ||
r.DataSync.Releases = append(r.DataSync.Releases, releaseRequest.WorkflowRunResultPromotion) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
return sdk.Result{Status: sdk.StatusFail}, err | ||
} | ||
|
||
log.Info(ctx, "RunRelease> preparing run result %+v for release", promotedRunResultIDs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
log.Info(ctx, "RunRelease> preparing run result %+v for release", promotedRunResultIDs) | |
log.Info(ctx, "RunPromote> preparing run result %+v for promotion", promotedRunResultIDs) |
Signed-off-by: francois samin <[email protected]>
@@ -272,6 +272,7 @@ func PrepareBuildInfo(ctx context.Context, artiClient artifact_manager.ArtifactM | |||
version: r.Version, | |||
projectKey: r.ProjectKey, | |||
} | |||
log.Info(ctx, "compute build infos for %+v", execContext) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Debug ?
Signed-off-by: francois samin <[email protected]>
CDS Report build-all-cds#17837.0 ✘
|
CDS Report build-all-cds#17837.1 ✘
|
CDS Report build-all-cds#17837.2 ✘
|
CDS Report build-all-cds#17837.3 ✘
|
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
No description provided.