Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-23951

validate_drp Jenkins script core limit should not be hard-coded

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: jenkins
    • Labels:
      None
    • Team:
      Architecture

      Description

      Yesterday's fix hard-coded a limit of 8 processes.

      Kubernetes may expose the number of available cores via an environment variable.  If it is available, use it.

      Also, the limit of 8 processes does not take into account the coordinator, which doesn't need a core and thus should be added on.  Move the calculation to the shell function to fix this.

        Attachments

          Activity

          Show
          ktl Kian-Tat Lim added a comment - https://github.com/lsst-sqre/ci-scripts/pull/67
          Hide
          ktl Kian-Tat Lim added a comment -

          Adam Thornton reviewed on the GitHub PR.

          Show
          ktl Kian-Tat Lim added a comment - Adam Thornton reviewed on the GitHub PR.

            People

            Assignee:
            ktl Kian-Tat Lim
            Reporter:
            ktl Kian-Tat Lim
            Reviewers:
            Adam Thornton
            Watchers:
            Adam Thornton, Kian-Tat Lim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.