Questions tagged [continuous-integration]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers

With a M2 Build Server for use in Continuous Deployment, does the vendor directory go into the repository?

I have spent quite a bit of time researching this and haven't been able to find a concise answer. Consider the following official Magento document. DevDocs This document describes a build server. Its ...
3 votes
2 answers

Getting "Connection "default" is not defined" during integration test sandbox setup

On a dockerized CI environment (Ubuntu 20.04) we are getting the following error: cd dev/tests/integration; ../../../vendor/bin/phpunit -v --testsuite 'Our Tests' ... Disabling Maintenance Mode: In ...
  • 14.2k
0 votes
1 answer

How to test module in different Magento and PHP versions using CI?

I have an open-source module in Github and I'd like to automatically test it via CI using the Magento Coding Standard and different Magento installations in different PHP versions. For example: ...
5 votes
0 answers

How to configure MFTF in Jenkins

In magento2 - Is it possible to configure continuous integration like Jenkins with Magento Functional Test Framework ? We are using bitbucket for our private repositories and Allure for reporting. ...
9 votes
1 answer

How to setup CI on Magento 2 extension using Bitbucket Pipeline?

How can I prepare a CI script to check the syntax and code quality of my extension code? It's not necessary to run Unit Test or Integration Test, I'm using Bitbucket and I would like to use Bitbucket ...
2 votes
1 answer

Magento 2 - PHPUnit using mocking or without mocking?

I am developing an eCommerce web application using magento2. During the development I came to know magento2 useses mockbuilder or mock objects for testing it's modules functionality. Which is fare in ...
1 vote
0 answers

Magento2 - Understanding dev/travis/

I am trying to set up Travis to be used as our Continuous integration server. Magento comes with a .travis.yml where it has: matrix: - TEST_SUITE=unit - TEST_SUITE=integration ...
1 vote
1 answer

Should I run catalog:images:resize on each deployment or only incidentally?

The question is simple: Should I add bin/magento catalog:images:resize to our Continuous Integration script, running it on every deployment? Or is it's intent solely to run incidentally (since ...
  • 11.8k
4 votes
1 answer

How can I run unit tests / code sniffs for individual modules using a CI provider?

At the company I work with, our modules are individual repositories. We add those as composer packages to our Magento 2 installation by adding GitHub as a repository in our composer.json: "require": {...
  • 11.8k