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

          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 added a comment -

          The flavor names are based on the directory names for building the containers under distribution:

          docker-cloud

          aws-ec2-cloud

          Mandie Smith added a comment - The flavor names are based on the directory names for building the containers under distribution: docker-cloud aws-ec2-cloud

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

              Created:
              Updated:
              Resolved: