My pipeline start running and it stop and doesn't push to production.
I have this error:
+ php yii_test migrate --interactive=0
Warning: require(/opt/atlassian/pipelines/agent/build/common/config/../../vendor/yiisoft/extensions.php): Failed to open stream: No such file or directory in /opt/atlassian/pipelines/agent/build/common/config/base.php on line 5
Fatal error: Uncaught Error: Failed opening required '/opt/atlassian/pipelines/agent/build/common/config/../../vendor/yiisoft/extensions.php' (include_path='.:/usr/local/lib/php') in /opt/atlassian/pipelines/agent/build/common/config/base.php:5
Stack trace:
#0 /opt/atlassian/pipelines/agent/build/yii_test(21): require()
#1 {main}
thrown in /opt/atlassian/pipelines/agent/build/common/config/base.php on line 5
Hi Arnaud and welcome to the community!
Just to give you some context, Pipelines builds run in Docker containers. For every step of your build, a Docker container starts (the build container) using the Docker image you have specified in your bitbucket-pipelines.yml file. The repo is cloned in the build container, and then the commands of the step's script are executed. When the step finishes that Docker container gets destroyed.
You can narrow down whether this is a pipelines-specific issue by reproducing the build locally with Docker, using the following guide:
If the build fails when you reproduce locally with Docker as well, I would suggest reaching out to a php-specific forum for assistance with this error.
Kind regards,
Theodora
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.