Skip to content

Build takes too long after adding commands for custom SBOM generation #1177

@nikhilpatra

Description

@nikhilpatra

We have mta application and corrected pipeline with steps required to create sbom's for mta application:
https://pages.github.tools.sap/hyperspace/academy/services/osc/beforeyoubegin/prerequisites/sbom/

Build time increased from 5 minutes to 8 minutes.

We needed to add custom SBOM generation to use for OSC and the default piper SBOM generation doesn't support the app. PR with added commands for sbom creation: https://github.tools.sap/DOX/dox-workflow/pull/288

Links to executions:

Here is a mtaBuild step which takes more than 8 minutes https://dev.azure.com/hyperspace-pipelines-2/DOX/_build/results?buildId=1410149&view=logs&j=3dc8fd7e-4368-5a92-293e-d53cefc8c4b3&t=d5e8b6b9-8492-5d92-9c22-7fb991ec1584

Whereas if we do not do SBOM generation It takes less than 5 minutes https://dev.azure.com/hyperspace-pipelines-2/DOX/_build/results?buildId=1408278&view=logs&j=3dc8fd7e-4368-5a92-293e-d53cefc8c4b3&t=d5e8b6b9-8492-5d92-9c22-7fb991ec1584

I was forwarded here via OSC->Piper.

Can you please have a look and provide some recommendations to optimize pipeline or any improvements that will decrease execution time?

Thank you in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions