Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

"Auto-cancel redundant builds" should be smarter about conditional workflows #39

Open
johnjensenish opened this issue Jul 27, 2019 · 1 comment

Comments

@johnjensenish
Copy link

johnjensenish commented Jul 27, 2019

Hello, we are attempting to us conditional workflows and pipeline parameters so that we can easily deploy our website. So we have two workflows: 1) a full build and 2) just deploy the site.

Problem steps:

  1. Merge a change to to origin/production, which triggers a full build (default pipeline parameters)
  2. Soon after, make a change to the blog which uses the circleci API to trigger a pipeline build (i.e. parameters: { "build": false, "deploy-site": true })
  3. Observe on the circleci site that the first build has been canceled.

Since the selected workflows aren't the same, I don't think these builds should be considered "redundant".

@johnjensenish johnjensenish changed the title "Auto-cancel redundant builds" should be away of conditional workflows "Auto-cancel redundant builds" should be smarter about conditional workflows Jul 27, 2019
@johnjensenish
Copy link
Author

Note this issue won’t occur for the default branch...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant