Skip to content

docksal/ci-agent v1.11.0 creates bitbucket pipeline code deployment issues for projects which use composer version 1 #77

@dvmanjunathdv

Description

@dvmanjunathdv

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:

  1. Source build error
  • source build-env
    bash: build-env: No such file or directory
  1. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions