Code Monkey home page Code Monkey logo

Comments (6)

romainnorberg avatar romainnorberg commented on June 12, 2024 6

Hello @j3j5

Temporarily, on an existing project, we are testing the following solution:

project:
  services:
    - mariadb:10.3
  image: edbizarro/gitlab-ci-pipeline-php:7.4-alpine
  script:
    - composer -V # Composer version 1.10.15 2020-10-13 15:59:09
    - sudo composer self-update --2 
    - composer -V 
    # The "hirak/prestissimo" plugin (installed globally) was skipped because it requires a Plugin API version ("^1.0.0") that does not match your Composer installation ("2.0.0"). You may need to run composer update with the "--no-plugins" option. 
    # Composer version 2.0.3 2020-10-28 15:50:55

I think it would be good to be able to switch from V1 to V2 and vice-versa.

from gitlab-ci-pipeline-php.

j3j5 avatar j3j5 commented on June 12, 2024 1

I see there's an open PR #108, I'm fine with that approach 👍

from gitlab-ci-pipeline-php.

rsereir avatar rsereir commented on June 12, 2024 1

@j3j5 I confirm you before doing my PR, I saw the message from @romainnorberg and i use this to solve my CI

from gitlab-ci-pipeline-php.

j3j5 avatar j3j5 commented on June 12, 2024

Hi @romainnorberg , that exactly has been my approach, to upgrade from the container, but I guess it'd be better if we could choose w/o having to download the upgrade/downgrade every time. Personally, I'd go for using composer2 only and leave the downgrade (as you mention above) as an option, but I guess it's @edbizarro call.

from gitlab-ci-pipeline-php.

C0kkie avatar C0kkie commented on June 12, 2024

@edbizarro Possible that composer 2 is still not working?

from gitlab-ci-pipeline-php.

almightynassar avatar almightynassar commented on June 12, 2024

Is there anything that is being done about this?

Is there a better alternative?

from gitlab-ci-pipeline-php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.