Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-33226

Add options to configure runtime constraints on resources (memory, cpu)

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      If we use the docker-custom-build-environment-plugin with swarm, we maybe want to add runtime constraints to container in order to manager the clusters.
      Typically if we can add options to set memory and cpu limit it will be great

        Attachments

          Activity

          Show
          tcollignon Thomas Collignon added a comment - PR is here for memory and cpu : https://github.com/jenkinsci/docker-custom-build-environment-plugin/pull/45
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Thomas Collignon
          Path:
          src/main/java/com/cloudbees/jenkins/plugins/docker_build_env/Docker.java
          src/main/java/com/cloudbees/jenkins/plugins/docker_build_env/DockerBuildWrapper.java
          src/main/resources/com/cloudbees/jenkins/plugins/docker_build_env/DockerBuildWrapper/config.jelly
          src/main/resources/com/cloudbees/jenkins/plugins/docker_build_env/DockerBuildWrapper/help-cpu.html
          src/main/resources/com/cloudbees/jenkins/plugins/docker_build_env/DockerBuildWrapper/help-memory.html
          src/test/java/com/cloudbees/jenkins/plugins/docker_build_env/FunctionalTests.java
          http://jenkins-ci.org/commit/docker-custom-build-environment-plugin/3cf26ff6c9889fb256388048ed04b8eaa683d36c
          Log:
          JENKINS-33226 add options to configure runtime constraints

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Thomas Collignon Path: src/main/java/com/cloudbees/jenkins/plugins/docker_build_env/Docker.java src/main/java/com/cloudbees/jenkins/plugins/docker_build_env/DockerBuildWrapper.java src/main/resources/com/cloudbees/jenkins/plugins/docker_build_env/DockerBuildWrapper/config.jelly src/main/resources/com/cloudbees/jenkins/plugins/docker_build_env/DockerBuildWrapper/help-cpu.html src/main/resources/com/cloudbees/jenkins/plugins/docker_build_env/DockerBuildWrapper/help-memory.html src/test/java/com/cloudbees/jenkins/plugins/docker_build_env/FunctionalTests.java http://jenkins-ci.org/commit/docker-custom-build-environment-plugin/3cf26ff6c9889fb256388048ed04b8eaa683d36c Log: JENKINS-33226 add options to configure runtime constraints
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Nicolas De loof
          Path:
          src/main/java/com/cloudbees/jenkins/plugins/docker_build_env/Docker.java
          src/main/java/com/cloudbees/jenkins/plugins/docker_build_env/DockerBuildWrapper.java
          src/main/resources/com/cloudbees/jenkins/plugins/docker_build_env/DockerBuildWrapper/config.jelly
          src/main/resources/com/cloudbees/jenkins/plugins/docker_build_env/DockerBuildWrapper/help-cpu.html
          src/main/resources/com/cloudbees/jenkins/plugins/docker_build_env/DockerBuildWrapper/help-memory.html
          src/test/java/com/cloudbees/jenkins/plugins/docker_build_env/FunctionalTests.java
          http://jenkins-ci.org/commit/docker-custom-build-environment-plugin/adaaee43f16578ebd94100063f9b356a6a7a2625
          Log:
          Merge pull request #45 from tcollignon/dev_options_swarm

          JENKINS-33226 add options to configure runtime constraints

          Compare: https://github.com/jenkinsci/docker-custom-build-environment-plugin/compare/6bdc6385dd78...adaaee43f165

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nicolas De loof Path: src/main/java/com/cloudbees/jenkins/plugins/docker_build_env/Docker.java src/main/java/com/cloudbees/jenkins/plugins/docker_build_env/DockerBuildWrapper.java src/main/resources/com/cloudbees/jenkins/plugins/docker_build_env/DockerBuildWrapper/config.jelly src/main/resources/com/cloudbees/jenkins/plugins/docker_build_env/DockerBuildWrapper/help-cpu.html src/main/resources/com/cloudbees/jenkins/plugins/docker_build_env/DockerBuildWrapper/help-memory.html src/test/java/com/cloudbees/jenkins/plugins/docker_build_env/FunctionalTests.java http://jenkins-ci.org/commit/docker-custom-build-environment-plugin/adaaee43f16578ebd94100063f9b356a6a7a2625 Log: Merge pull request #45 from tcollignon/dev_options_swarm JENKINS-33226 add options to configure runtime constraints Compare: https://github.com/jenkinsci/docker-custom-build-environment-plugin/compare/6bdc6385dd78...adaaee43f165

            People

            • Assignee:
              ndeloof Nicolas De Loof
              Reporter:
              tcollignon Thomas Collignon
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: