Coder Social home page Coder Social logo

Comments (4)

underyx avatar underyx commented on September 3, 2024

@Blackhex do you mean the target branch? If yes, we could use $CI_MERGE_REQUEST_TARGET_BRANCH with a default value of master 🤔 (It will be introduced in GitLab as part of https://gitlab.com/gitlab-org/gitlab-ce/issues/23902)

from dockerfiles.

Blackhex avatar Blackhex commented on September 3, 2024

If this variable can be somehow configured per pipeline / branch, then yes. This requests has two use cases:

  • When master branch is not master.
  • When some sub-team is working on some bigger feature they have one main common branch and multiple personal sub-branches doing CR iteratively before the main branch CR.

from dockerfiles.

underyx avatar underyx commented on September 3, 2024

@Blackhex you can override any of the default CI variables as far as I remember, so the image should now be appropriate for your use cases! Just try setting $CI_MERGE_REQUEST_TARGET_BRANCH, we've pushed the new version already to the 3.2.0, 3.2, 3, and latest tags.

Also, both use cases should be covered without any overriding required once GitLab ships https://gitlab.com/gitlab-org/gitlab-ce/issues/23902

Thanks a lot for your issue report! We're really delighted to see people using and wanting to improve on our work 🙃

from dockerfiles.

Blackhex avatar Blackhex commented on September 3, 2024

Thank you very much too and especially for the quick response.

from dockerfiles.

Related Issues (10)

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.