Skip to content

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
@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.

3 participants