switchon@lavalamp.biz
+27(0) 83 419 4851 / +27(0) 21 036 1165
Application & software development
Get A Quote

    • Home
    • Services
      • Application & software development
      • Outsourced software development
      • Project based resourcing
      • Digital marketing & consulting
      • Graphic design & consulting
      • UI / UX design & consulting
      • Recruitment services
      • Lease an expert
    • About
      • How we work
      • NBConsult Group
      • Partners
      • Lightbox Digital
    • Blog
    • Join us
    • Contact

    • Home
    • Services
      • Application & software development
      • Outsourced software development
      • Project based resourcing
      • Digital marketing & consulting
      • Graphic design & consulting
      • UI / UX design & consulting
      • Recruitment services
      • Lease an expert
    • About
      • How we work
      • NBConsult Group
      • Partners
      • Lightbox Digital
    • Blog
    • Join us
    • Contact

    • Home
    • Services
      • Application & software development
      • Outsourced software development
      • Project based resourcing
      • Digital marketing & consulting
      • Graphic design & consulting
      • UI / UX design & consulting
      • Recruitment services
      • Lease an expert
    • About
      • How we work
      • NBConsult Group
      • Partners
      • Lightbox Digital
    • Blog
    • Join us
    • Contact

    • Home
    • Services
      • Application & software development
      • Outsourced software development
      • Project based resourcing
      • Digital marketing & consulting
      • Graphic design & consulting
      • UI / UX design & consulting
      • Recruitment services
      • Lease an expert
    • About
      • How we work
      • NBConsult Group
      • Partners
      • Lightbox Digital
    • Blog
    • Join us
    • Contact
    Llaravel eloquent: advanced queries on relationships using whereHas
    Laravel Eloquent: Advanced Queries On Relationships Using whereHas
    Sep 28, 2020
    debugging best pracctices
    Debugging Best Practices
    Oct 26, 2020

    Get Started With Bitbucket Pipelines: A simple PHP Composer Pipeline

    Categories
    • Web Development
    Tags
    • bitbucket pipelines
    • composer
    • continuous deployment
    • continuous integration
    • devops
    • docker
    • docker containers
    • PHP
    • pipeline templates
    • pipelines
    • yaml
    get started with bitbucket piplines: a simple php composer pipeline
    get started with bitbucket piplines: a simple php composer pipeline

    Bitbucket pipelines are a great option for setting up automated testing and deployment of the code you have in bitbucket. Pipelines are described by a yml file that you save in your repo along with your other code. In this post I will walk you through a pipeline used for checking composer dependencies in a php repo. This is very similar to the template yml file you can select from the templates in bitbucket. To start with a template, go to your repo in bitbucket and select pipelines from the menu. The pipelines screen will direct you to start with a template in the language of your choice.

    The first thing to know about pipelines is that every step uses it's own new docker container. In the pipelines file above, the actual container used is specified by image: php:7.3. The actual pipelines are specified under the pipelines tag as steps. The default tag specifies the pipeline that will run when another pipeline is not matched by the branch or pull request.

    A pipeline consists of number of steps each that use a new container. For the pipeline specified above there is only one step. This step checks that the composer dependencies install correctly. It does that with the commands in the script. These commands are run in order just like a shell script.

    The caches tag specifies that composer should be cached so that it doesn't have to download it every time the step is run.

    There you have it, an explanation of a simple pipeline file that runs on every push to get started with bitbucket pipelines

    Contact us


      Related posts:

      dynamic doughnut graph using laravel vue componentDynamic Doughnut Graph Using Laravel Vue Component laravel envoyer and forgeProvisioning A New Digital Ocean Server With Laravel Forge, And Deploying Code With Laravel Envoyer simple url shortenerSimple URL Shortener For Your Encoded URLs In PHP Laravel how to deploy your app/website on herokuHow To Deploy Your App/Website On Heroku
      Share
      11
      Tielman Janse van Vuuren
      Tielman Janse van Vuuren
      Tielman is an experienced mobile and backend developer. Quality is his motto, no matter what programming language or platform.

      Leave a Reply Cancel reply

      Your email address will not be published. Required fields are marked *

      Lava Lamp Lab


      Like technology, a lava lamp constantly changes form, producing new conditions with every passing moment



      lava lamp lab facebook   lava lamp lab twitter   lava lamp lab linkedin   lava lamp lab instgram

      Services


      Application & software development

      Outsourced software development

      Project based resourcing

      Digital marketing & consulting

      Graphic design & consulting

      UI / UX design & consulting

      Contact Us


      +27(0) 83 419 4851

      +27(0) 21 036 1165


      switchon@lavalamp.biz


      Unit 4 Monaco Square,
      14 Church Street,
      Durbanville,
      Cape Town, 7550

      NBConsult Group


      nbconsult
      nbconnect msp
      nbclearning
      river broadband
      designer needed
      © 2023 Lava Lamp Lab (Pty) Ltd | All Rights Reserved | Privacy Policy
      Contact us now

        Application & software development

          Outsourced software development

            Project based resourcing

              Digital marketing & consulting

                Graphic design & consulting

                  UI/UX design & consulting

                    Lease an expert

                      Recruitment services

                        We are using cookies to give you the best experience on our website.

                        You can find out more about which cookies we are using or switch them off in settings.

                        Lava Lamp Lab
                        Powered by  GDPR Cookie Compliance
                        Privacy Overview

                        This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

                        Strictly Necessary Cookies

                        Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.

                        If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.

                        3rd Party Cookies

                        This website uses Google Analytics to collect anonymous information such as the number of visitors to the site, and the most popular pages.

                        Keeping this cookie enabled helps us to improve our website.

                        Please enable Strictly Necessary Cookies first so that we can save your preferences!

                        Cookie Policy

                        More information about our Cookie Policy