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

CI fix #3260

Merged
merged 2 commits into from
May 22, 2024
Merged

CI fix #3260

merged 2 commits into from
May 22, 2024

Conversation

krissetto
Copy link
Contributor

@krissetto krissetto commented May 22, 2024

Adds fetch-depth:0 and fetch-tags: true to successfully get the repo tags, needed to properly build the library.

See #3259 attempts for more details

See docker#3259 attempts for more details

Signed-off-by: Christopher Petito <[email protected]>
@krissetto krissetto requested a review from thaJeztah May 22, 2024 10:59
@krissetto krissetto self-assigned this May 22, 2024
@krissetto krissetto added the kind/chore Refactor, linter, CI, etc label May 22, 2024
Signed-off-by: Christopher Petito <[email protected]>
@krissetto
Copy link
Contributor Author

Also updates the setup-python gh action to get rid of some node related warnings

@krissetto
Copy link
Contributor Author

All failures are related to the requests 2.32+ changes, and will be fixed with #3257 after this CI fix gets merged

Comment on lines 63 to 68
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: make ${{ matrix.variant }}
Copy link

@alexanderankin alexanderankin May 22, 2024

Choose a reason for hiding this comment

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

not sure what the expected behavior here is:

$ git clone --depth=0 [email protected]:docker/docker-py.git
fatal: depth 0 is not a positive number

edit: it seems to be checking it out, so nevermind.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it's a value that's valid for the gh action, it just means fetch all essentially

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

LGTM

@thaJeztah
Copy link
Member

We verified all failures are unrelated to this change in #3259, which also contains these changes; bringing this one in so that we can rebase the other PR(s)

@thaJeztah thaJeztah merged commit b86573a into docker:main May 22, 2024
4 of 11 checks passed
@thaJeztah thaJeztah mentioned this pull request May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/chore Refactor, linter, CI, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants