In our project we were using image: docksal/ci-agent:edge-php which uses latest development version. And with recent docksal image release docksal/ci-agent v1.11.0 switches Composer version from v1 to v2 in the php flavor of the image. This created a problem with our project build and Drush unable to detect aliaseswhen doing acquia deployments.
Errors:
- Source build error
- source build-env
bash: build-env: No such file or directory
- Drush Could not find the alias @myproject.test.platform
What i observed was drush could not find alias was because of my project was using Composer v1 but docksal/ci-agent v1.11.0 release uses composer v2 this created an issue.
Temporary Workaround : Pinning image version to the previous stable release (1.10) instead of edge (which points to the dev version):image: docksal/ci-agent:1.10-php
Thanks
Manjunath