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

Deployer Plugin doesn't support ruby deployments

      Both deployment options offered don't correctly deploy a ruby project.

      Git Deployment Option:
      Git deployment of ruby source code is completely broken. It deletes all of the local files and folders and places a .gz file in Openshift repository. Instead, the deployer plugin should copy the source code into the app-root/repo folder and run bundle install after to activate the project.

      Binary Deployment Option:
      Binary deployment of ruby source code seems to copy the the files correctly into the app-root/repo folder but doesn't trigger a bundle install inside OpenShift leading to gem issues. Action_hooks seem to be ignored.

          [JENKINS-28509] Deployer Plugin doesn't support ruby deployments

          Shaishav Parekh added a comment - - edited

          Why does the 'Git Deploy' option require a 'Deployment Package'?

          Why does 'Git Deploy' delete all source code and deploy a .gz artifact?

          [OPENSHIFT] Deployments found: [/home/jenkins/workspace/ruby/repo.tar.gz]
          [OPENSHIFT] Deploying to OpenShift at . Be patient! It might take a minute...
          [OPENSHIFT] Copying the deployment from slave node to '/var/jenkins_home/jobs/ruby/builds/234/workspace/openshift-deployer-workdir/repo.tar.gz'
          [OPENSHIFT] Cloning .git/] to git
          [OPENSHIFT] Deleting 'tmp'
          [OPENSHIFT] Deleting 'config.ru'
          [OPENSHIFT] Deleting 'public'
          [OPENSHIFT] Deleting 'README.md'
          [OPENSHIFT] Deployment 'repo.tar.gz' copied to 'ROOT.gz'
          [OPENSHIFT] Committing repo
          [OPENSHIFT] Pushing to upstream
          [OPENSHIFT] Application deployed to /

          Shaishav Parekh added a comment - - edited Why does the 'Git Deploy' option require a 'Deployment Package'? Why does 'Git Deploy' delete all source code and deploy a .gz artifact? [OPENSHIFT] Deployments found: [/home/jenkins/workspace/ruby/repo.tar.gz] [OPENSHIFT] Deploying to OpenShift at . Be patient! It might take a minute... [OPENSHIFT] Copying the deployment from slave node to '/var/jenkins_home/jobs/ruby/builds/234/workspace/openshift-deployer-workdir/repo.tar.gz' [OPENSHIFT] Cloning .git/] to git [OPENSHIFT] Deleting 'tmp' [OPENSHIFT] Deleting 'config.ru' [OPENSHIFT] Deleting 'public' [OPENSHIFT] Deleting 'README.md' [OPENSHIFT] Deployment 'repo.tar.gz' copied to 'ROOT.gz' [OPENSHIFT] Committing repo [OPENSHIFT] Pushing to upstream [OPENSHIFT] Application deployed to /

          Will Buck added a comment - - edited

          I would love for this option as well. I think it would benefit Node and Python users additionally, as neither do not "bundle" their source into some kind of deployable either as far as I am aware.

          Will Buck added a comment - - edited I would love for this option as well. I think it would benefit Node and Python users additionally, as neither do not "bundle" their source into some kind of deployable either as far as I am aware.

            Unassigned Unassigned
            sparekh Shaishav Parekh
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: