Mu Cang Chai


Every month, we come together to delve into the ever-evolving world of technology. This month, we’re diving into the art of code review and unlocking the potential of BitBucket Pipeline.

Code review is not just about finding bugs; it’s an art form that fosters collaboration, improves code quality, and drives innovation. We’ll explore some best practices for effective reviews that will help our company create a culture of constructive feedback within team.

Moreover, we have an exciting journey ahead as we delve into the capabilities of BitBucket Pipeline. Through practical demonstrations, we’ll explore its potential with real-world examples. This includes implementing Magento coding standard validation and setting up a straightforward automated Magento deployment process.


1/ Discussing about Coding Review:

2/ Bitbucket Pipeline:

Bitbucket Pipelines is a built-in continuous integration and continuous deployment (CI/CD) tool within Bitbucket that automates the process of building, testing, and deploying code.

You need set Variables and secrets and Using SSH keys in Bitbucket Pipelines

A pipeline is defined using a YAML file called bitbucket-pipelines.yml, which is located at the root of your repository.

  • Adding Magento coding standard validation

    • Bitbucket Pipeline Configuration for coding standard validation

      Copy to Clipboard
  • Simple auto Magento deployment:

    • Bitbucket Pipeline Configuration for staging deployment

      Copy to Clipboard
    • file:
      Copy to Clipboard
    • Some notes:

      • When adding multiple deployment environments, Bitbucket Pipelines requires the deployments to be ordered as follows in the bitbucket-pipelines.yml file:

        • Test environments

        • Staging environments

        • Production environments

Related articles