Skip to content

Npm install suddenly takes too long  #4

@doct0r

Description

@doct0r

Hi there, I have an Openshift pipeline based on this tutorial to build an Angular app. Npm install used to take 150 seconds and since Thursday this has gone up to 2000 secs, sometimes even more (and a few times just the old time). I tried with a random sample repo of an Angular app as well just to confirm that it's not my repository and it still takes too much time.

I haven't changed anything else as far as I can tell and running the s2i command locally with the same builder image is much faster.

I don't get what could be happening as there is no additional logging, just npm install taking way longer than usual. Running you chained builds as instructed here (https://developers.redhat.com/blog/2018/10/23/modern-web-applications-on-openshift-part-2-using-chained-builds/) still works fast for the same repo. I also see there is some caching used for the chained builds, is it possible to do that for the Tekton example?

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