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

Add support for SWIFTCI_USE_LOCAL_DEPS convention #2699

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

kateinoigakukun
Copy link
Member

Support ci.swift.org convention

Motivation:

This package is used by https://github.com/apple/swift-sdk-generator and it needs to be built during build-script pipeline, so we need to make its dependencies follow the CI convention.

Modifications:

Changed Package.swift to respect SWIFTCI_USE_LOCAL_DEPS environment variable and use locally checked out packages if defined.

Result:

We can use swift-nio 2.41.0, which is the first version with dependencies, and later in utils/build-script pipeline.

CC: @MaxDesiatov

To use this package in utils/build-script pipeline
@Lukasa Lukasa added the needs-no-version-bump For PRs that when merged do not need a bump in version number. label Apr 10, 2024
Copy link
Contributor

@Lukasa Lukasa left a comment

Choose a reason for hiding this comment

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

SGTM, thanks!

@Lukasa
Copy link
Contributor

Lukasa commented Apr 10, 2024

@swift-server-bot add to allowlist

@Lukasa Lukasa merged commit 8b43f70 into apple:main Apr 10, 2024
8 of 9 checks passed
@kateinoigakukun kateinoigakukun deleted the yt/use-local-deps branch April 10, 2024 16:30
@kateinoigakukun
Copy link
Member Author

@Lukasa Would you mind having a new tag to pin the version including this fix in update-checkout-config.json if possible? 🙏

@Lukasa
Copy link
Contributor

Lukasa commented Apr 12, 2024

Hi @kateinoigakukun: yes, we can do a release, but we don't typically do releases this late in the week, so it won't happen until early next week.

@kateinoigakukun
Copy link
Member Author

Sure! Thank you so much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-no-version-bump For PRs that when merged do not need a bump in version number.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants