Skip to content

Conversation

fsamin
Copy link
Member

@fsamin fsamin commented Sep 1, 2022

No description provided.

fsamin added 16 commits August 26, 2022 16:42
Signed-off-by: francois  samin <francois.samin@corp.ovh.com>
Signed-off-by: francois  samin <francois.samin@corp.ovh.com>
Signed-off-by: francois  samin <francois.samin@corp.ovh.com>
Signed-off-by: francois  samin <francois.samin@corp.ovh.com>
Signed-off-by: francois  samin <francois.samin@corp.ovh.com>
Signed-off-by: francois  samin <francois.samin@corp.ovh.com>
Signed-off-by: francois  samin <francois.samin@corp.ovh.com>
Signed-off-by: francois  samin <francois.samin@corp.ovh.com>
Signed-off-by: francois  samin <francois.samin@corp.ovh.com>
Signed-off-by: francois  samin <francois.samin@corp.ovh.com>
Signed-off-by: francois  samin <francois.samin@corp.ovh.com>
Signed-off-by: francois  samin <francois.samin@corp.ovh.com>
Signed-off-by: francois  samin <francois.samin@corp.ovh.com>
Signed-off-by: francois  samin <francois.samin@corp.ovh.com>
Signed-off-by: francois  samin <francois.samin@corp.ovh.com>
Signed-off-by: francois  samin <francois.samin@corp.ovh.com>
@ovh-cds
Copy link
Collaborator

ovh-cds commented Sep 1, 2022

CDS Report build-all-cds#17834.0 ✘

  • Build
    • Build and Package All ✔
    • Build Debpacker ✔
    • Build OS-Ansible-Inventory ✔
    • Build SMTPMock ✔
    • Lint UI Translate ✔
    • Test CLI ✔
    • Test Engine ✔
    • Test SDK ✔
    • Test UI ✔
  • Package
    • Docker ✘

return err
}

var releaseRequest sdk.WorkflowRunResultPromotionRequest
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

releaseRequest -> promotionRequest

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)
Copy link
Collaborator

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)
Copy link
Collaborator

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)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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 <francois.samin@corp.ovh.com>
@@ -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)
Copy link
Member

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 <francois.samin@corp.ovh.com>
@ovh-cds
Copy link
Collaborator

ovh-cds commented Sep 2, 2022

CDS Report build-all-cds#17837.0 ✘

  • Build
    • Build and Package All ✔
    • Build Debpacker ✔
    • Build OS-Ansible-Inventory ✔
    • Build SMTPMock ✔
    • Lint UI Translate ✔
    • Test CLI ✔
    • Test Engine ✔
    • Test SDK ✔
    • Test UI ✔
  • Package
    • Docker ✘

@ovh-cds
Copy link
Collaborator

ovh-cds commented Sep 2, 2022

CDS Report build-all-cds#17837.1 ✘

  • Build
    • Build and Package All ✔
    • Build Debpacker ✔
    • Build OS-Ansible-Inventory ✔
    • Build SMTPMock ✔
    • Lint UI Translate ✔
    • Test CLI ✔
    • Test Engine ✔
    • Test SDK ✔
    • Test UI ✔
  • Package
    • Docker ✔
  • Integration
    • Docker Compose Tests ✔
    • Standalone Tests ✘

@ovh-cds
Copy link
Collaborator

ovh-cds commented Sep 2, 2022

CDS Report build-all-cds#17837.2 ✘

  • Build
    • Build and Package All ✔
    • Build Debpacker ✔
    • Build OS-Ansible-Inventory ✔
    • Build SMTPMock ✔
    • Lint UI Translate ✔
    • Test CLI ✔
    • Test Engine ✔
    • Test SDK ✔
    • Test UI ✔
  • Package
    • Docker ✔
  • Integration
    • Docker Compose Tests ✔
    • Standalone Tests ✘

@ovh-cds
Copy link
Collaborator

ovh-cds commented Sep 2, 2022

CDS Report build-all-cds#17837.3 ✘

  • Build
    • Build and Package All ✔
    • Build Debpacker ✔
    • Build OS-Ansible-Inventory ✔
    • Build SMTPMock ✔
    • Lint UI Translate ✔
    • Test CLI ✔
    • Test Engine ✔
    • Test SDK ✔
    • Test UI ✔
  • Package
    • Docker ✔
  • Integration
    • Docker Compose Tests ✔
    • Standalone Tests ✘

@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 2, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@fsamin fsamin merged commit 88919ef into master Sep 2, 2022
@fsamin fsamin deleted the fix_auto_build_info branch September 19, 2022 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants