Skip to content

Option to merge the latest config from $CIRRUS_BRANCH_BASE for PRs #662

Closed
cirruslabs/cirrus-ci-web
#333
@maflcko

Description

@maflcko

Currently, the exact commit of the branch of the pull request is used. This is problematic for several reasons:

  • Creating a patch on top of a historic commit (to be merged into multiple recent branches) is going to use the cirrus config file of the historic commit as opposed to the config of the branch the patch is going to be merged into
  • Using an old config might lead even to a failed build because the old configuration no longer works because packages or the OS itself has reached EOL. (e.g. https://cirrus-ci.com/task/4650278425198592?command=install#L3)

This should be fixed by fetching the config (and the code) from the pull+base_branch merged together. (Btw, GitHub already offers these merged commits).

This would also bring the behaviour in line with other ci providers such as travis/appveyor/etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions