Skip to content

CI: limit push trigger to primary branches - #6710

Merged
mbien merged 1 commit into
apache:masterfrom
mbien:ci-branch-restricted-trigger
Nov 26, 2023
Merged

mbien merged 1 commit into
apache:masterfrom
mbien:ci-branch-restricted-trigger

Conversation

@mbien

@mbien mbien commented Nov 16, 2023 •

Copy link
Copy Markdown
Member

Limits automated CI to master, delivery and release* branches

context:
CI is running currently 10h+ in tests on push to any branch of the netbeans repo. This was intended for trunk branches like master or delivery, but falls apart as soon someone uses a feature branch since it would test everything multiple times additional to the PR triggered tests.

The second problem is cache size, since every root branch has a ~800mb footprint. During times with many concurrent dependency update PRs which write to the cache we can run out of cache.

@mbien mbien added CI continuous integration changes ci:no-build [ci] disable CI pipeline labels Nov 16, 2023
@mbien
mbien marked this pull request as ready for review November 16, 2023 16:09
@mbien mbien added this to the NB21 milestone Nov 16, 2023
@mbien

mbien commented Nov 26, 2023

Copy link
Copy Markdown
Member Author

I interpret the thumbs up as go ahead with merge :)

@mbien
mbien merged commit 50ed415 into apache:master Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:no-build [ci] disable CI pipeline CI continuous integration changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant