Is there a way to automate deployment of Drupal site using Jenkins solely in Docker?Jenkins using docker: How to run tests?Jenkins in docker with access to host dockerHow to access host port from docker containerRun tests using Jenkins in a Docker ContainerJenkins in Docker container (run docker pipeline)Load existing Drupal site in Drupal Docker containerRunning a Dockerized Selenium Grid on JenkinsSetting Docker on Jenkins serverHandling Drupal sites folder while running Drupal in DockerDocker drupal 7 drush site not found

How to trick the reader into thinking they're following a redshirt instead of the protagonist?

How can I end combat quickly when the outcome is inevitable?

Overlapping String-Blocks

Fixing obscure 8080 emulator bug?

Traversing Oceania: A Cryptic Journey

How can I get an unreasonable manager to approve time off?

How did old MS-DOS games utilize various graphic cards?

Why was this person allowed to become Grand Maester?

How come the nude protesters were not arrested?

What is the maximum number of net attacks that one can make in a round?

Why not invest in precious metals?

Longest bridge/tunnel that can be cycled over/through?

Non-aqueous eyes?

How to communicate to my GM that not being allowed to use stealth isn't fun for me?

Why does Sin[b-a] simplify to -Sin[a-b]?

Should I ask for an extra raise?

Why does the Mishnah use the terms poor person and homeowner when discussing carrying on Shabbat?

How to ensure color fidelity of the same file on two computers?

Why are MBA programs closing?

Warning about needing "authorization" when booking ticket

Cascading Switches. Will it affect performance?

Is it possible to fly backward if you have a 'really strong' headwind?

Meaning of 'lose their grip on the groins of their followers'

Has there been a multiethnic Star Trek character?



Is there a way to automate deployment of Drupal site using Jenkins solely in Docker?


Jenkins using docker: How to run tests?Jenkins in docker with access to host dockerHow to access host port from docker containerRun tests using Jenkins in a Docker ContainerJenkins in Docker container (run docker pipeline)Load existing Drupal site in Drupal Docker containerRunning a Dockerized Selenium Grid on JenkinsSetting Docker on Jenkins serverHandling Drupal sites folder while running Drupal in DockerDocker drupal 7 drush site not found






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I want to automate the deployment process of the Drupal website. But before running it on the real server I wanted to test it locally. I'm new to docker, Jenkins, and Drupal. The whole process is when a teammate makes a pull request on Github and If it is approved, the latest code should be deployed into the Drupal server automatically.



This is what I have researched and done so far. I found out that I can use Jenkins for this. I prepared command to deploy Drupal website on the server and I know I will need drupal compose, drush and cleaning cache commands. I have installed docker in windows 10 OS. Created Jenkins container, installed nginx, and used GitHub hooks to get a callback in Jenkins when a commit is made in test repository. Jenkins test was successful, but that container does not have Drupal. At first, I tried to find the docker Image that has Jenkins and Drupal both but was unable to find anything. Then I found somewhere in StackOverflow that docker allows us to containerize different part of the application and we can communicate between them. So, I ran two separate containers with official docker image of Jenkins and Drupal. I also researched on the web about how the docker container talks with each other. But can't come up with any solution to this problem. I don't even sure that my approach to this problem is right or wrong because I'm new to all this. I found this article(link) somewhat relevant to my problem. But in the article, Jenkins is installed locally not in docker.



Can I create this pipeline in docker? If my approach is right, Can anyone help in how to create an environment in docker with Jenkins, Nginx, Drupal, and Drush or provide some resources? and If my approach is flawed can anyone helps me providing some solutions or resources for deploying Drupal website using Jenkins in Docker?










share|improve this question






























    0















    I want to automate the deployment process of the Drupal website. But before running it on the real server I wanted to test it locally. I'm new to docker, Jenkins, and Drupal. The whole process is when a teammate makes a pull request on Github and If it is approved, the latest code should be deployed into the Drupal server automatically.



    This is what I have researched and done so far. I found out that I can use Jenkins for this. I prepared command to deploy Drupal website on the server and I know I will need drupal compose, drush and cleaning cache commands. I have installed docker in windows 10 OS. Created Jenkins container, installed nginx, and used GitHub hooks to get a callback in Jenkins when a commit is made in test repository. Jenkins test was successful, but that container does not have Drupal. At first, I tried to find the docker Image that has Jenkins and Drupal both but was unable to find anything. Then I found somewhere in StackOverflow that docker allows us to containerize different part of the application and we can communicate between them. So, I ran two separate containers with official docker image of Jenkins and Drupal. I also researched on the web about how the docker container talks with each other. But can't come up with any solution to this problem. I don't even sure that my approach to this problem is right or wrong because I'm new to all this. I found this article(link) somewhat relevant to my problem. But in the article, Jenkins is installed locally not in docker.



    Can I create this pipeline in docker? If my approach is right, Can anyone help in how to create an environment in docker with Jenkins, Nginx, Drupal, and Drush or provide some resources? and If my approach is flawed can anyone helps me providing some solutions or resources for deploying Drupal website using Jenkins in Docker?










    share|improve this question


























      0












      0








      0


      2






      I want to automate the deployment process of the Drupal website. But before running it on the real server I wanted to test it locally. I'm new to docker, Jenkins, and Drupal. The whole process is when a teammate makes a pull request on Github and If it is approved, the latest code should be deployed into the Drupal server automatically.



      This is what I have researched and done so far. I found out that I can use Jenkins for this. I prepared command to deploy Drupal website on the server and I know I will need drupal compose, drush and cleaning cache commands. I have installed docker in windows 10 OS. Created Jenkins container, installed nginx, and used GitHub hooks to get a callback in Jenkins when a commit is made in test repository. Jenkins test was successful, but that container does not have Drupal. At first, I tried to find the docker Image that has Jenkins and Drupal both but was unable to find anything. Then I found somewhere in StackOverflow that docker allows us to containerize different part of the application and we can communicate between them. So, I ran two separate containers with official docker image of Jenkins and Drupal. I also researched on the web about how the docker container talks with each other. But can't come up with any solution to this problem. I don't even sure that my approach to this problem is right or wrong because I'm new to all this. I found this article(link) somewhat relevant to my problem. But in the article, Jenkins is installed locally not in docker.



      Can I create this pipeline in docker? If my approach is right, Can anyone help in how to create an environment in docker with Jenkins, Nginx, Drupal, and Drush or provide some resources? and If my approach is flawed can anyone helps me providing some solutions or resources for deploying Drupal website using Jenkins in Docker?










      share|improve this question
















      I want to automate the deployment process of the Drupal website. But before running it on the real server I wanted to test it locally. I'm new to docker, Jenkins, and Drupal. The whole process is when a teammate makes a pull request on Github and If it is approved, the latest code should be deployed into the Drupal server automatically.



      This is what I have researched and done so far. I found out that I can use Jenkins for this. I prepared command to deploy Drupal website on the server and I know I will need drupal compose, drush and cleaning cache commands. I have installed docker in windows 10 OS. Created Jenkins container, installed nginx, and used GitHub hooks to get a callback in Jenkins when a commit is made in test repository. Jenkins test was successful, but that container does not have Drupal. At first, I tried to find the docker Image that has Jenkins and Drupal both but was unable to find anything. Then I found somewhere in StackOverflow that docker allows us to containerize different part of the application and we can communicate between them. So, I ran two separate containers with official docker image of Jenkins and Drupal. I also researched on the web about how the docker container talks with each other. But can't come up with any solution to this problem. I don't even sure that my approach to this problem is right or wrong because I'm new to all this. I found this article(link) somewhat relevant to my problem. But in the article, Jenkins is installed locally not in docker.



      Can I create this pipeline in docker? If my approach is right, Can anyone help in how to create an environment in docker with Jenkins, Nginx, Drupal, and Drush or provide some resources? and If my approach is flawed can anyone helps me providing some solutions or resources for deploying Drupal website using Jenkins in Docker?







      php docker jenkins drupal deployment






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 24 at 20:34







      JaySparkexel

















      asked Mar 24 at 18:47









      JaySparkexelJaySparkexel

      6513




      6513






















          0






          active

          oldest

          votes












          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55327277%2fis-there-a-way-to-automate-deployment-of-drupal-site-using-jenkins-solely-in-doc%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55327277%2fis-there-a-way-to-automate-deployment-of-drupal-site-using-jenkins-solely-in-doc%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript