Skip to content

CI Use git to fetch the branch of the PR for the CUDA GPU CI #29193

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

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

ogrisel
Copy link
Member

@ogrisel ogrisel commented Jun 5, 2024

In an attempt to fix

Fetching the repository
  /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +refs/heads/pull/27369/head*:refs/remotes/origin/pull/27369/head* +refs/tags/pull/27369/head*:refs/tags/pull/27369/head*
  The process '/usr/bin/git' failed with exit code 1
  Waiting 16 seconds before trying again
  /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +refs/heads/pull/27369/head*:refs/remotes/origin/pull/27369/head* +refs/tags/pull/27369/head*:refs/tags/pull/27369/head*
  The process '/usr/bin/git' failed with exit code 1
  Waiting 16 seconds before trying again
  /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +refs/heads/pull/27369/head*:refs/remotes/origin/pull/27369/head* +refs/tags/pull/27369/head*:refs/tags/pull/27369/head*
  Error: The process '/usr/bin/git' failed with exit code 1

e.g. in https://github.com/scikit-learn/scikit-learn/actions/runs/9382523260/job/25834126765

I tested the change on my fork and it seems to work.

/cc @lesteve @thomasjpfan @betatim.

Copy link

github-actions bot commented Jun 5, 2024

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 6285006. Link to the linter CI: here

@thomasjpfan thomasjpfan enabled auto-merge (squash) June 5, 2024 15:03
@thomasjpfan thomasjpfan merged commit 6340609 into scikit-learn:main Jun 5, 2024
31 checks passed
@ogrisel ogrisel deleted the fix-cuda-ci-fetch branch June 5, 2024 15:41
@jeremiedbb jeremiedbb mentioned this pull request Jul 2, 2024
11 tasks
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.

2 participants