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

Save flavor during registration and serve different manifest depending on it

    Details

    • Sprint:
      Evergreen - Milestone 1
    • Similar Issues:

      Description

      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

        Attachments

          Issue Links

            Activity

            Hide
            batmat Baptiste Mathus added a comment -

            Mandie Smith 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.

            Show
            batmat Baptiste Mathus added a comment - Mandie Smith 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.
            Hide
            asmith_cb 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.

             

            Show
            asmith_cb 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.  
            Hide
            asmith_cb 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

            Show
            asmith_cb 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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: