SlideShare a Scribd company logo
Automatic Deployment with TYPO3v4




            Automatic Deployment with TYPO3v4

                             Presentation 1 4-4-201 2 at T3DD1 2 Munich
About us

Stuart McFarlane
Sebastiaan van Parij
                   s
Marieke Heij
           man
Loek Hilgersom


Bkwi, governmental organisation, The Netherlands




                             Automatic Deployment with TYPO3v4

                                                   Presentation 1 4-4-201 2 at T3DD1 2 Munich
Workshop
Participants




               Automatic Deployment with TYPO3v4

                                Presentation 1 4-4-201 2 at T3DD1 2 Munich
Workshop
Goals:
Explain the why & how
Demonstrate our setup
Hear your experiences & ideas
Final aim: Kickstart a TYPO3-deployment proj
                                           ect!




                             Automatic Deployment with TYPO3v4

                                                  Presentation 1 4-4-201 2 at T3DD1 2 Munich
Why?
Professional way of working
How we worked before:
   Fixing issues directly on production systems
   Sometimes even development
   Tedious work deploying new work to a live site
   No systematic testing, no proper roll-back, etc.




                              Automatic Deployment with TYPO3v4

                                                  Presentation 1 4-4-201 2 at T3DD1 2 Munich
Preferred situation
Everything in version control
Automatic deployment to test, acceptance and production
Proper testing on test and acceptance environments
   ==> Hardly ever surprises when going live
Going live is almost a press of a button
Moving towards complete Continuous Integration setup




                                Automatic Deployment with TYPO3v4

                                                 Presentation 1 4-4-201 2 at T3DD1 2 Munich
So again, why?




   Automatic Deployment with TYPO3v4

                    Presentation 1 4-4-201 2 at T3DD1 2 Munich
So again, why?


Can't live without it!




        Automatic Deployment with TYPO3v4

                         Presentation 1 4-4-201 2 at T3DD1 2 Munich
Techniques used
Git
Bash scripts
Ant
J
enkins
EXT: t3deploy
+ additional code for clearing caches from command line




                            Automatic Deployment with TYPO3v4

                                                Presentation 1 4-4-201 2 at T3DD1 2 Munich
How does it work?
Main principles
Separate environment-specific from proj
                                      ect-specific
Deltas / update scripts
Datasets
Scripting tasks
Trigger & report (J
                  enkins)




                             Automatic Deployment with TYPO3v4

                                                     Presentation 1 4-4-201 2 at T3DD1 2 Munich
Environment- vs. Proj
                               ect-specific
localconf.php
TypoScript constants
Domain records
Server access


==> symlink to local/
                    config dir




                            Automatic Deployment with TYPO3v4

                                             Presentation 1 4-4-201 2 at T3DD1 2 Munich
Deltas / update scripts
A new version usually includes more than only new code:
Database changes (deltas)
Files in non-versioned directories like fileadmin or uploads
Occasionally other things like changing file permissions or running a
  script


==> for each version: updates.sql, updates.sh & a file set




                              Automatic Deployment with TYPO3v4

                                                    Presentation 1 4-4-201 2 at T3DD1 2 Munich
Datasets
Clean, base install
Testdata
Acceptance deployment
... for performance tests


==> versioned and local datasets (for specific environment)




                             Automatic Deployment with TYPO3v4

                                                  Presentation 1 4-4-201 2 at T3DD1 2 Munich
Scripting tasks
Tasks:
- set-up new installation
   - clean-up development environment
   - apply updates/ deltas
   - select configuration for specific environment
   - create and restore backups
   - create and apply datasets
   - various practicallities like: setting symlinks, file permissions

==> Bash scripts for tasks on local environments


                                Automatic Deployment with TYPO3v4

                                                       Presentation 1 4-4-201 2 at T3DD1 2 Munich
Trigger and report
Automatic daily builds, or start test-deployment after each code commit
Report about build (success or fail)
Run automatic tests, code documenter or code quality tools


==> J
    enkins




                              Automatic Deployment with TYPO3v4

                                                  Presentation 1 4-4-201 2 at T3DD1 2 Munich
Work procedure
Code
Commit
Dev-build
Test --->    back to coding (beware of endless loops) :-)
Push
Daily build to test machine
Test by testers   --->   back to coding




                              Automatic Deployment with TYPO3v4

                                                 Presentation 1 4-4-201 2 at T3DD1 2 Munich
Work procedure (continued)
merge to acceptation branch
acceptation build
acceptation tests --->   and back to coding again....
merge to production branch
production build
Deployment on production




                              Automatic Deployment with TYPO3v4

                                                    Presentation 1 4-4-201 2 at T3DD1 2 Munich
Work procedure (continued)
merge to acceptation branch
acceptation build
acceptation tests --->   and back to coding again....
merge to production branch
production build
Deployment on production
.... and it's time to open the champaign (we're live!)




                               Automatic Deployment with TYPO3v4

                                                    Presentation 1 4-4-201 2 at T3DD1 2 Munich
What does it look like?




       Automatic Deployment with TYPO3v4

                        Presentation 1 4-4-201 2 at T3DD1 2 Munich
What does it look like?

(Note to self: show directory tree)




                              Automatic Deployment with TYPO3v4

                                               Presentation 1 4-4-201 2 at T3DD1 2 Munich
A does it work?
 nd



 .... Demo!



    Automatic Deployment with TYPO3v4

                     Presentation 1 4-4-201 2 at T3DD1 2 Munich
Demo
Clean-up development environment
Remote deployment (clean install or live update)
Apply configuration (e.g. when developing on a different machine)
Create backup
Create dataset




                             Automatic Deployment with TYPO3v4

                                                   Presentation 1 4-4-201 2 at T3DD1 2 Munich
Wishlist
Use rsync for speeding up deployment process
.....




                            Automatic Deployment with TYPO3v4

                                               Presentation 1 4-4-201 2 at T3DD1 2 Munich
Next steps

Share experiences
J forces: start a TY deployment proj
oin                 PO3            ect!




                         Automatic Deployment with TYPO3v4

                                          Presentation 1 4-4-201 2 at T3DD1 2 Munich
Automatic Deployment with TYPO3v4

          (For a smooth sailing)
      https:/notes.typo3.org/ deployment
             /              p/
          Thank you for attending!


        Contact: loek@ netcoop.nl
           Twitter: @ netcoop




                Automatic Deployment with TYPO3v4

                                     Presentation 1 4-4-201 2 at T3DD1 2 Munich

More Related Content

Similar to Presentation automatic deployment with TYPO3v4

Adopt DevOps philosophy on your Symfony projects (Symfony Live 2011)
Adopt DevOps philosophy on your Symfony projects (Symfony Live 2011)Adopt DevOps philosophy on your Symfony projects (Symfony Live 2011)
Adopt DevOps philosophy on your Symfony projects (Symfony Live 2011)
Fabrice Bernhard
 
Continuous Delivery for Python Developers – PyCon Otto
Continuous Delivery for Python Developers – PyCon OttoContinuous Delivery for Python Developers – PyCon Otto
Continuous Delivery for Python Developers – PyCon Otto
Peter Bittner
 
Tensorflow windows installation
Tensorflow windows installationTensorflow windows installation
Tensorflow windows installation
marwa Ayad Mohamed
 
給 RD 的 Kubernetes 初體驗
給 RD 的 Kubernetes 初體驗給 RD 的 Kubernetes 初體驗
給 RD 的 Kubernetes 初體驗
William Yeh
 
Agile Bodensee - Testautomation & Continuous Delivery Workshop
Agile Bodensee - Testautomation & Continuous Delivery WorkshopAgile Bodensee - Testautomation & Continuous Delivery Workshop
Agile Bodensee - Testautomation & Continuous Delivery Workshop
Michael Palotas
 
Turnkey Continuous Delivery
Turnkey Continuous DeliveryTurnkey Continuous Delivery
Turnkey Continuous Delivery
Gianni Bombelli
 
Simple tools to fight bigger quality battle
Simple tools to fight bigger quality battleSimple tools to fight bigger quality battle
Simple tools to fight bigger quality battle
Anand Ramdeo
 
[ENGLISH] TDC 2015 - PHP Trail - Tests and PHP Continuous Integration Enviro...
[ENGLISH] TDC 2015 - PHP  Trail - Tests and PHP Continuous Integration Enviro...[ENGLISH] TDC 2015 - PHP  Trail - Tests and PHP Continuous Integration Enviro...
[ENGLISH] TDC 2015 - PHP Trail - Tests and PHP Continuous Integration Enviro...
Bruno Tanoue
 
TMF2014 CI-CD Workshop Michael Palotas
TMF2014 CI-CD Workshop Michael PalotasTMF2014 CI-CD Workshop Michael Palotas
TMF2014 CI-CD Workshop Michael Palotas
KJR
 
Simplifying and accelerating converged media with Open Visual Cloud
Simplifying and accelerating converged media with Open Visual CloudSimplifying and accelerating converged media with Open Visual Cloud
Simplifying and accelerating converged media with Open Visual Cloud
Liz Warner
 
Continuous Deployment To The Cloud With Spring Cloud Pipelines @WarsawCloudNa...
Continuous Deployment To The Cloud With Spring Cloud Pipelines @WarsawCloudNa...Continuous Deployment To The Cloud With Spring Cloud Pipelines @WarsawCloudNa...
Continuous Deployment To The Cloud With Spring Cloud Pipelines @WarsawCloudNa...
Marcin Grzejszczak
 
Mastering DevOps-Driven Data Integration with FME
Mastering DevOps-Driven Data Integration with FMEMastering DevOps-Driven Data Integration with FME
Mastering DevOps-Driven Data Integration with FME
Safe Software
 
Effective Linux Development Using PetaLinux Tools 2017.4
Effective Linux Development Using PetaLinux Tools 2017.4Effective Linux Development Using PetaLinux Tools 2017.4
Effective Linux Development Using PetaLinux Tools 2017.4
Zach Pfeffer
 
KubeFlow + GPU + Keras/TensorFlow 2.0 + TF Extended (TFX) + Kubernetes + PyTo...
KubeFlow + GPU + Keras/TensorFlow 2.0 + TF Extended (TFX) + Kubernetes + PyTo...KubeFlow + GPU + Keras/TensorFlow 2.0 + TF Extended (TFX) + Kubernetes + PyTo...
KubeFlow + GPU + Keras/TensorFlow 2.0 + TF Extended (TFX) + Kubernetes + PyTo...
Chris Fregly
 
Docker for Developers - Part 2 by Borja Burgos and Fernando Mayo
Docker for Developers - Part 2 by Borja Burgos and Fernando MayoDocker for Developers - Part 2 by Borja Burgos and Fernando Mayo
Docker for Developers - Part 2 by Borja Burgos and Fernando Mayo
Docker, Inc.
 
Shipping Code like a keptn: Continuous Delivery & Automated Operations on k8s
Shipping Code like a keptn: Continuous Delivery & Automated Operations on k8sShipping Code like a keptn: Continuous Delivery & Automated Operations on k8s
Shipping Code like a keptn: Continuous Delivery & Automated Operations on k8s
Andreas Grabner
 
Tivoli_Introduction_SPE_09-03-2004_!!!.ppt
Tivoli_Introduction_SPE_09-03-2004_!!!.pptTivoli_Introduction_SPE_09-03-2004_!!!.ppt
Tivoli_Introduction_SPE_09-03-2004_!!!.ppt
spopodlyze631
 
CI/CD with Github Actions
CI/CD with Github ActionsCI/CD with Github Actions
CI/CD with Github Actions
Md. Minhazul Haque
 
Spryker meetup-distribute-your-spryker-deployment-with-docker-and-kubernetes
Spryker meetup-distribute-your-spryker-deployment-with-docker-and-kubernetesSpryker meetup-distribute-your-spryker-deployment-with-docker-and-kubernetes
Spryker meetup-distribute-your-spryker-deployment-with-docker-and-kubernetes
Bernd Alter
 
TYPO3 CMS deployment with Jenkins CI
TYPO3 CMS deployment with Jenkins CITYPO3 CMS deployment with Jenkins CI
TYPO3 CMS deployment with Jenkins CI
derdanne
 

Similar to Presentation automatic deployment with TYPO3v4 (20)

Adopt DevOps philosophy on your Symfony projects (Symfony Live 2011)
Adopt DevOps philosophy on your Symfony projects (Symfony Live 2011)Adopt DevOps philosophy on your Symfony projects (Symfony Live 2011)
Adopt DevOps philosophy on your Symfony projects (Symfony Live 2011)
 
Continuous Delivery for Python Developers – PyCon Otto
Continuous Delivery for Python Developers – PyCon OttoContinuous Delivery for Python Developers – PyCon Otto
Continuous Delivery for Python Developers – PyCon Otto
 
Tensorflow windows installation
Tensorflow windows installationTensorflow windows installation
Tensorflow windows installation
 
給 RD 的 Kubernetes 初體驗
給 RD 的 Kubernetes 初體驗給 RD 的 Kubernetes 初體驗
給 RD 的 Kubernetes 初體驗
 
Agile Bodensee - Testautomation & Continuous Delivery Workshop
Agile Bodensee - Testautomation & Continuous Delivery WorkshopAgile Bodensee - Testautomation & Continuous Delivery Workshop
Agile Bodensee - Testautomation & Continuous Delivery Workshop
 
Turnkey Continuous Delivery
Turnkey Continuous DeliveryTurnkey Continuous Delivery
Turnkey Continuous Delivery
 
Simple tools to fight bigger quality battle
Simple tools to fight bigger quality battleSimple tools to fight bigger quality battle
Simple tools to fight bigger quality battle
 
[ENGLISH] TDC 2015 - PHP Trail - Tests and PHP Continuous Integration Enviro...
[ENGLISH] TDC 2015 - PHP  Trail - Tests and PHP Continuous Integration Enviro...[ENGLISH] TDC 2015 - PHP  Trail - Tests and PHP Continuous Integration Enviro...
[ENGLISH] TDC 2015 - PHP Trail - Tests and PHP Continuous Integration Enviro...
 
TMF2014 CI-CD Workshop Michael Palotas
TMF2014 CI-CD Workshop Michael PalotasTMF2014 CI-CD Workshop Michael Palotas
TMF2014 CI-CD Workshop Michael Palotas
 
Simplifying and accelerating converged media with Open Visual Cloud
Simplifying and accelerating converged media with Open Visual CloudSimplifying and accelerating converged media with Open Visual Cloud
Simplifying and accelerating converged media with Open Visual Cloud
 
Continuous Deployment To The Cloud With Spring Cloud Pipelines @WarsawCloudNa...
Continuous Deployment To The Cloud With Spring Cloud Pipelines @WarsawCloudNa...Continuous Deployment To The Cloud With Spring Cloud Pipelines @WarsawCloudNa...
Continuous Deployment To The Cloud With Spring Cloud Pipelines @WarsawCloudNa...
 
Mastering DevOps-Driven Data Integration with FME
Mastering DevOps-Driven Data Integration with FMEMastering DevOps-Driven Data Integration with FME
Mastering DevOps-Driven Data Integration with FME
 
Effective Linux Development Using PetaLinux Tools 2017.4
Effective Linux Development Using PetaLinux Tools 2017.4Effective Linux Development Using PetaLinux Tools 2017.4
Effective Linux Development Using PetaLinux Tools 2017.4
 
KubeFlow + GPU + Keras/TensorFlow 2.0 + TF Extended (TFX) + Kubernetes + PyTo...
KubeFlow + GPU + Keras/TensorFlow 2.0 + TF Extended (TFX) + Kubernetes + PyTo...KubeFlow + GPU + Keras/TensorFlow 2.0 + TF Extended (TFX) + Kubernetes + PyTo...
KubeFlow + GPU + Keras/TensorFlow 2.0 + TF Extended (TFX) + Kubernetes + PyTo...
 
Docker for Developers - Part 2 by Borja Burgos and Fernando Mayo
Docker for Developers - Part 2 by Borja Burgos and Fernando MayoDocker for Developers - Part 2 by Borja Burgos and Fernando Mayo
Docker for Developers - Part 2 by Borja Burgos and Fernando Mayo
 
Shipping Code like a keptn: Continuous Delivery & Automated Operations on k8s
Shipping Code like a keptn: Continuous Delivery & Automated Operations on k8sShipping Code like a keptn: Continuous Delivery & Automated Operations on k8s
Shipping Code like a keptn: Continuous Delivery & Automated Operations on k8s
 
Tivoli_Introduction_SPE_09-03-2004_!!!.ppt
Tivoli_Introduction_SPE_09-03-2004_!!!.pptTivoli_Introduction_SPE_09-03-2004_!!!.ppt
Tivoli_Introduction_SPE_09-03-2004_!!!.ppt
 
CI/CD with Github Actions
CI/CD with Github ActionsCI/CD with Github Actions
CI/CD with Github Actions
 
Spryker meetup-distribute-your-spryker-deployment-with-docker-and-kubernetes
Spryker meetup-distribute-your-spryker-deployment-with-docker-and-kubernetesSpryker meetup-distribute-your-spryker-deployment-with-docker-and-kubernetes
Spryker meetup-distribute-your-spryker-deployment-with-docker-and-kubernetes
 
TYPO3 CMS deployment with Jenkins CI
TYPO3 CMS deployment with Jenkins CITYPO3 CMS deployment with Jenkins CI
TYPO3 CMS deployment with Jenkins CI
 

Recently uploaded

Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - HiikeSystem Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
Hiike
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
Jakub Marek
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024
Intelisync
 
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
alexjohnson7307
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdfNunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
flufftailshop
 
Operating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptxOperating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptx
Pravash Chandra Das
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
Tatiana Kojar
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Jeffrey Haguewood
 
Trusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process MiningTrusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process Mining
LucaBarbaro3
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
saastr
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Wask
 

Recently uploaded (20)

Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - HiikeSystem Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024
 
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdfNunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
 
Operating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptxOperating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptx
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
 
Trusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process MiningTrusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process Mining
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
 

Presentation automatic deployment with TYPO3v4

  • 1. Automatic Deployment with TYPO3v4 Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  • 2. About us Stuart McFarlane Sebastiaan van Parij s Marieke Heij man Loek Hilgersom Bkwi, governmental organisation, The Netherlands Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  • 3. Workshop Participants Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  • 4. Workshop Goals: Explain the why & how Demonstrate our setup Hear your experiences & ideas Final aim: Kickstart a TYPO3-deployment proj ect! Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  • 5. Why? Professional way of working How we worked before: Fixing issues directly on production systems Sometimes even development Tedious work deploying new work to a live site No systematic testing, no proper roll-back, etc. Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  • 6. Preferred situation Everything in version control Automatic deployment to test, acceptance and production Proper testing on test and acceptance environments ==> Hardly ever surprises when going live Going live is almost a press of a button Moving towards complete Continuous Integration setup Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  • 7. So again, why? Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  • 8. So again, why? Can't live without it! Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  • 9. Techniques used Git Bash scripts Ant J enkins EXT: t3deploy + additional code for clearing caches from command line Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  • 10. How does it work? Main principles Separate environment-specific from proj ect-specific Deltas / update scripts Datasets Scripting tasks Trigger & report (J enkins) Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  • 11. Environment- vs. Proj ect-specific localconf.php TypoScript constants Domain records Server access ==> symlink to local/ config dir Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  • 12. Deltas / update scripts A new version usually includes more than only new code: Database changes (deltas) Files in non-versioned directories like fileadmin or uploads Occasionally other things like changing file permissions or running a script ==> for each version: updates.sql, updates.sh & a file set Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  • 13. Datasets Clean, base install Testdata Acceptance deployment ... for performance tests ==> versioned and local datasets (for specific environment) Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  • 14. Scripting tasks Tasks: - set-up new installation - clean-up development environment - apply updates/ deltas - select configuration for specific environment - create and restore backups - create and apply datasets - various practicallities like: setting symlinks, file permissions ==> Bash scripts for tasks on local environments Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  • 15. Trigger and report Automatic daily builds, or start test-deployment after each code commit Report about build (success or fail) Run automatic tests, code documenter or code quality tools ==> J enkins Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  • 16. Work procedure Code Commit Dev-build Test ---> back to coding (beware of endless loops) :-) Push Daily build to test machine Test by testers ---> back to coding Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  • 17. Work procedure (continued) merge to acceptation branch acceptation build acceptation tests ---> and back to coding again.... merge to production branch production build Deployment on production Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  • 18. Work procedure (continued) merge to acceptation branch acceptation build acceptation tests ---> and back to coding again.... merge to production branch production build Deployment on production .... and it's time to open the champaign (we're live!) Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  • 19. What does it look like? Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  • 20. What does it look like? (Note to self: show directory tree) Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  • 21. A does it work? nd .... Demo! Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  • 22. Demo Clean-up development environment Remote deployment (clean install or live update) Apply configuration (e.g. when developing on a different machine) Create backup Create dataset Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  • 23. Wishlist Use rsync for speeding up deployment process ..... Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  • 24. Next steps Share experiences J forces: start a TY deployment proj oin PO3 ect! Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich
  • 25. Automatic Deployment with TYPO3v4 (For a smooth sailing) https:/notes.typo3.org/ deployment / p/ Thank you for attending! Contact: loek@ netcoop.nl Twitter: @ netcoop Automatic Deployment with TYPO3v4 Presentation 1 4-4-201 2 at T3DD1 2 Munich