Skip to content

[improve][CI] Remove "Cancel duplicate workflows" workflow - #17490

Merged
lhotari merged 1 commit into
apache:masterfrom
lhotari:lh-remove-cancel-duplicate-workflows
Sep 8, 2022
Merged

lhotari merged 1 commit into
apache:masterfrom
lhotari:lh-remove-cancel-duplicate-workflows

Conversation

@lhotari

@lhotari lhotari commented Sep 6, 2022 •

Copy link
Copy Markdown
Member

Motivation

  • there's no need for "CI - Cancel duplicate workflows" workflow anymore since GitHub Actions has built-in support
    for cancelling duplicate workflows and this is used in Pulsar CI workflows.

  • GitHub Actions announced support in 4/2021

Pulsar workflows contain

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

It has also been added to all apache/pulsar maintenance branches to prevent issues where cherry-picking many commits causes the build queue to fill up:
https://lists.apache.org/thread/29qox3y9z38z2t4441jhlnv6x71kfhdn

Modifications

  • remove .github/workflows/ci-cancel-duplicate-workflows.yaml

  • doc-not-needed

@lhotari lhotari added this to the 2.12.0 milestone Sep 6, 2022
@lhotari
lhotari requested a review from nicoloboschi September 6, 2022 10:11
@lhotari lhotari self-assigned this Sep 6, 2022

@nicoloboschi nicoloboschi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@lhotari lhotari added the area/ci label Sep 6, 2022
@github-actions

github-actions Bot commented Sep 6, 2022

Copy link
Copy Markdown

@lhotari Please provide a correct documentation label for your PR.
Instructions see Pulsar Documentation Label Guide.

@github-actions github-actions Bot added doc-not-needed Your PR changes do not impact docs and removed doc-label-missing labels Sep 6, 2022
- there's no need for this anymore since GitHub Actions has built-in support
  for cancelling duplicate workflows and this is used in Pulsar CI workflows.
@Technoboy-
Technoboy- force-pushed the lh-remove-cancel-duplicate-workflows branch from ede4dd9 to c56ad85 Compare September 8, 2022 02:33
@lhotari
lhotari merged commit cbdf700 into apache:master Sep 8, 2022
nicoloboschi pushed a commit to nicoloboschi/pulsar that referenced this pull request Sep 8, 2022
)

- there's no need for this anymore since GitHub Actions has built-in support
  for cancelling duplicate workflows and this is used in Pulsar CI workflows.
nicoloboschi pushed a commit that referenced this pull request Sep 9, 2022
- there's no need for this anymore since GitHub Actions has built-in support
  for cancelling duplicate workflows and this is used in Pulsar CI workflows.

(cherry picked from commit cbdf700)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants