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

Save flavor during registration and serve different manifest depending on it

    • Evergreen - Milestone 1

      JENKINS-49866 has handled the client side to support using Docker OOTB when the socket is mounted, but the list of plugins is still hardcoded.

      We need to add:

      • store the flavor of the instance during registration
      • make update.hook.js return different plugins depending on that flavor

          [JENKINS-51766] Save flavor during registration and serve different manifest depending on it

          Baptiste Mathus created issue -
          Baptiste Mathus made changes -
          Epic Link New: JENKINS-49845 [ 188829 ]
          R. Tyler Croy made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          R. Tyler Croy made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]
          Baptiste Mathus made changes -
          Assignee Original: R. Tyler Croy [ rtyler ]
          Baptiste Mathus made changes -
          Assignee New: Mandie Smith [ asmith_cb ]
          Baptiste Mathus made changes -
          Link New: This issue is blocking JENKINS-49853 [ JENKINS-49853 ]

          asmith_cb just assigned this to you because we'll need this rather sooner than later, because right now we do not serve customize plugins list for example depending on the environment the Jenkins Essentials instance is running in.
          I.e. for JENKINS-49853 (i.e. AWS flavor) we'll instruct the instance to have the ec2 plugin installed, or for Docker we'll add the docker plugin instead.

          Baptiste Mathus added a comment - asmith_cb just assigned this to you because we'll need this rather sooner than later, because right now we do not serve customize plugins list for example depending on the environment the Jenkins Essentials instance is running in. I.e. for JENKINS-49853 (i.e. AWS flavor ) we'll instruct the instance to have the ec2 plugin installed, or for Docker we'll add the docker plugin instead.

          Mandie Smith added a comment -

          Example flavors: ec2, docker

          Flavor will be a required parameter, no default.  If you don't pass a valid value, then request will be rejected.

           

          Mandie Smith added a comment - Example flavors: ec2, docker Flavor will be a required parameter, no default.  If you don't pass a valid value, then request will be rejected.  
          Mandie Smith made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

            asmith_cb Mandie Smith
            batmat Baptiste Mathus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: