Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI script inclusion of release branches #10514

Conversation

findepi
Copy link
Member

@findepi findepi commented Jun 17, 2024

The CI scripts are meant to run on release maintenance branches such as 1.5.x. They were run for releases up to 1.0 because of the 0.* pattern

This commit:

  • includes 1.* branches (but that's likely needs to be propagated to existing branches)
  • includes 2.* branches foreseeing imminent 2.0 release
  • changes the 0.** pattern to 0.*. Multiple asterisks are needed to match branch names including / but release branche naming convention do not expect such branch names.

The CI scripts are meant to run on release maintenance branches such as
1.5.x. They were run for releases up to 1.0 because of the `0.*` pattern

This commit:

- includes `1.*` branches (but that's likely needs to be propagated to
  existing branches)
- includes `2.*` branches foreseeing imminent 2.0 release
- changes the `0.**` pattern to `0.*`. Multiple asterisks are needed to
  match branch names including `/` but release branche naming convention
  do not expect such branch names.
@github-actions github-actions bot added the INFRA label Jun 17, 2024
@findepi
Copy link
Member Author

findepi commented Jun 17, 2024

@nastra @Fokko @rdblue
this is minimal change to allow running CI scripts on release branches.
However, I would actually prefer to remove these branch name patterns altogether.
Is it important to support use-case where one creates a branch within repo and expect CI not to run? Is it for dependabot maybe?

@findepi findepi marked this pull request as draft June 17, 2024 11:28
@findepi
Copy link
Member Author

findepi commented Jun 17, 2024

Draft -- would prefer #10515 .

@findepi findepi marked this pull request as ready for review June 28, 2024 06:13
@findepi
Copy link
Member Author

findepi commented Jun 28, 2024

undraft per #10515 (comment)

@findepi findepi marked this pull request as draft June 28, 2024 07:58
@findepi findepi marked this pull request as ready for review June 28, 2024 10:13
Copy link
Contributor

@Fokko Fokko left a comment

Choose a reason for hiding this comment

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

Thanks @findepi for working on this, and @nastra for going over this as well 👍

@Fokko Fokko merged commit 7071dc1 into apache:main Jun 28, 2024
42 checks passed
@findepi findepi deleted the findepi/fix-ci-script-inclusion-of-release-branches-aa1424 branch June 28, 2024 13:12
jasonf20 pushed a commit to jasonf20/iceberg that referenced this pull request Aug 4, 2024
The CI scripts are meant to run on release maintenance branches such as
1.5.x. They were run for releases up to 1.0 because of the `0.*` pattern

This commit:

- includes `1.*` branches (but that's likely needs to be propagated to
  existing branches)
- includes `2.*` branches foreseeing imminent 2.0 release
- changes the `0.**` pattern to `0.*`. Multiple asterisks are needed to
  match branch names including `/` but release branche naming convention
  do not expect such branch names.
zachdisc pushed a commit to zachdisc/iceberg that referenced this pull request Dec 23, 2024
The CI scripts are meant to run on release maintenance branches such as
1.5.x. They were run for releases up to 1.0 because of the `0.*` pattern

This commit:

- includes `1.*` branches (but that's likely needs to be propagated to
  existing branches)
- includes `2.*` branches foreseeing imminent 2.0 release
- changes the `0.**` pattern to `0.*`. Multiple asterisks are needed to
  match branch names including `/` but release branche naming convention
  do not expect such branch names.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants