-
Notifications
You must be signed in to change notification settings - Fork 4k
WIP: ARROW-15693: [Dev] Update crossbow templates to use master or main #13750
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
Conversation
|
|
|
Looks good so far, thanks for working on this!
You can use |
|
@github-actions crossbow submit -g conan |
|
Revision: 233a27e Submitted crossbow builds: ursacomputing/crossbow @ actions-d341aafc76
|
|
@github-actions crossbow submit -g conan |
|
|
@github-actions crossbow submit -g conan |
|
Revision: f26aa7c Submitted crossbow builds: ursacomputing/crossbow @ actions-685cf2b9ab
|
|
@github-actions crossbow submit -g conan |
|
Revision: b00f18a Submitted crossbow builds: ursacomputing/crossbow @ actions-c3c8bb519d
|
|
@github-actions crossbow submit -g conan |
|
|
@github-actions crossbow submit -g conan |
|
|
@github-actions crossbow submit -g conan |
|
|
@github-actions crossbow submit -g conan |
|
|
@github-actions crossbow submit -g conan |
|
|
An update: Therefore, to qualify the changes, I followed the instructions on this page to set up a queue repository. I created the repository here. Initially, I submitted a job from the feature branch, ARROW-15693, but saw that the resulting branch did not have a To verify that the repository was set up correctly, I tried submitting a job from the $ archery crossbow submit -g conanThe output to the command window does not indicate there are any errors, but I am wondering if the !Job
target: !Target
head: bc6c4988691cf60ecac67542b2daa2ac19fde5d9
email: fionala@mathworks.com
branch: main
remote: https://github.com/mathworks/arrow.git
github_repo: mathworks/arrow
version: 8.0.0.dev1114
no_rc_version: 8.0.0.dev1114
no_rc_semver_version: 8.0.0-dev1114
tasks:
conan-minimum: !Task
ci: github
template: docker-tests/github.linux.yml
artifacts: []
params:
image: conan
branch:
commit:
conan-maximum: !Task
ci: github
template: docker-tests/github.linux.yml
artifacts: []
params:
flags: >-
-e ARROW_CONAN_PARQUET=True
-e ARROW_CONAN_WITH_BROTLI=True
-e ARROW_CONAN_WITH_GLOG=True
-e ARROW_CONAN_WITH_JEMALLOC=True
-e ARROW_CONAN_WITH_LZ4=True
-e ARROW_CONAN_WITH_SNAPPY=True
image: conan
########################### Python Minimal ############################
branch:
commit:
params: {}
branch:
Pushed job identifier is: `build-3`On GitHub, I notice that the only branch that is pushed to the remote is Lastly, the scheduled jobs (for example) that are run in the repository have been failing. The error indicates the token is missing; it seems like it might need to be a token associated with @assignUser If you happen to have any suggestions for debugging this further, I'd appreciate you sharing your insight. Thank you! |
These workflows checkout Additionally you will have to create a PAT with I assume when trying to use Hope this helps 🤞 |
3a887b4 to
78d586a
Compare
|
@assignUser, our sincere apologies in advance for the inconvenience. Somehow, while trying to revert some changes we made for debugging purposes during qualification, we managed to get this pull request into a "Merged" state. Now, we can't seem to figure out how to get it back into the "Draft" state, so that we can push commits. Are you aware of any way of resetting the pull request state? Or, should we just open a new pull request? |
|
hi! @kevingurney ! I didn't know it was possible to set a PR into merged state without a real merge happening. I would recommend to open a new PR at this stage. Also, if you could help me understand how the PR got into merge state, there might be something with the workflow that isn't quite right as this should not happen. Thanks! |
|
@raulcd - Thank you so much for your help! Yes, this was quite surprising to us, as well! Per your recommendation, I will go ahead and open a new pull request. Sorry again for this unexpected behavior! I believe the steps that led to this were something like the following:
As soon as we completed step 6., the pull request went into a "Merged" State. I hope that helps provide some insight into what happened here! Please don't hesitate to let me know if you need more information, or if anything above is unclear. I am happy to help debug this further if that would be useful. |
|
Thanks @kevingurney for the detailed explanation. It seems you pushed to the branch a commit and history that was already on master. As there were no divergences between your branch and master GitHub marked that as merged as it was already on master. I am not entirely sure what would happen if you push new changes to that branch, maybe GitHub allows to reopen the PR but I do think creating a new PR is a good approach. |
|
That makes sense - I'll open another pull request. Thanks again, @raulcd! |
|
To close the loop - we've opened #13975 as a follow up to this pull request. |
…13975) # Overview This pull request: 1. Removes hard-coded dependencies on "master" as the default branch name in the crossbow infrastructure and CI template files. # Implementation 1. Removed comment/text references to "master" branch, including URLs to other repositories. 2. Modified `core.py` to add a new `default_branch` property and a new method `is_default_branch`, for checking whether on the default branch, to the `Target` class. 3. Modified CI template files to use the new `is_default_branch` function to check whether on the default branch. # Testing 1. Using [lafiona/crossbow](https://github.com/lafiona/crossbow) as a queue repository for qualification. 2. Ran modified template jobs. All failures appeared to be unrelated to the changes. 3. The branch names for all relevant qualification jobs are prefixed with `build-34-*`. 4. Example of a passing job: [https://github.com/lafiona/crossbow/actions/runs/2920227769](https://github.com/lafiona/crossbow/actions/runs/2920227769) 5. Example of a failing job: [https://github.com/lafiona/crossbow/runs/7998190113](https://github.com/lafiona/crossbow/runs/7998190113) - in this example, the *"Push Docker Image"* workflow step is not included, since we are not on the default branch. The failure appears to be related to issues fetching R package resources and not related to the default branch checking logic. There were a variety of other kinds of failures, but none of them appear related to the default branch checking logic. # Future Directions 1. Remove "master" from `default_branch` name property of `Target` class. 2. Remove all remaining uses of "master" terminology in crossbow. 3. [ARROW-17512](https://issues.apache.org/jira/browse/ARROW-17512): Address minor issues with crossbow documentation. # Notes 1. Thank you to @lafiona for her help with this pull request! 2. Due to unexpected technical issues, we opened this pull request as a follow up to #13750. Please see #13750 for more discussion regarding qualification efforts. Lead-authored-by: Kevin Gurney <kgurney@mathworks.com> Co-authored-by: Fiona La <fionala7@gmail.com> Signed-off-by: Alessandro Molina <amol@turbogears.org>
…pache#13975) # Overview This pull request: 1. Removes hard-coded dependencies on "master" as the default branch name in the crossbow infrastructure and CI template files. # Implementation 1. Removed comment/text references to "master" branch, including URLs to other repositories. 2. Modified `core.py` to add a new `default_branch` property and a new method `is_default_branch`, for checking whether on the default branch, to the `Target` class. 3. Modified CI template files to use the new `is_default_branch` function to check whether on the default branch. # Testing 1. Using [lafiona/crossbow](https://github.com/lafiona/crossbow) as a queue repository for qualification. 2. Ran modified template jobs. All failures appeared to be unrelated to the changes. 3. The branch names for all relevant qualification jobs are prefixed with `build-34-*`. 4. Example of a passing job: [https://github.com/lafiona/crossbow/actions/runs/2920227769](https://github.com/lafiona/crossbow/actions/runs/2920227769) 5. Example of a failing job: [https://github.com/lafiona/crossbow/runs/7998190113](https://github.com/lafiona/crossbow/runs/7998190113) - in this example, the *"Push Docker Image"* workflow step is not included, since we are not on the default branch. The failure appears to be related to issues fetching R package resources and not related to the default branch checking logic. There were a variety of other kinds of failures, but none of them appear related to the default branch checking logic. # Future Directions 1. Remove "master" from `default_branch` name property of `Target` class. 2. Remove all remaining uses of "master" terminology in crossbow. 3. [ARROW-17512](https://issues.apache.org/jira/browse/ARROW-17512): Address minor issues with crossbow documentation. # Notes 1. Thank you to @lafiona for her help with this pull request! 2. Due to unexpected technical issues, we opened this pull request as a follow up to apache#13750. Please see apache#13750 for more discussion regarding qualification efforts. Lead-authored-by: Kevin Gurney <kgurney@mathworks.com> Co-authored-by: Fiona La <fionala7@gmail.com> Signed-off-by: Alessandro Molina <amol@turbogears.org>
Note
Overview
This pull request:
Implementation
default_branchproperty toTargetclass incore.py.is_default_branch()which can be used to check if the current Git branch is the default branch.is_default_branch()macro.Testing
@github-actions crossbow submitworkflow for qualificationFuture Directions
default_branchname property ofTargetclass.Notes