-
Notifications
You must be signed in to change notification settings - Fork 103
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 scripts to generate ruby packages. #3125
Conversation
This reminds me of writing rpm installer scripts. |
.ci.yaml
Outdated
- cipd_packages/ruby/** | ||
- .ci.yaml | ||
|
||
- name: Mac arm_ruby |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should define a new platform: Mac_arm to build an arm versioned ruby.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure I follow what would be the benefit of creating a new platform? the cpu dimension will achieve the same purpose.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is to keep consistent with other repos. This is not a big issue for Cocoon for now, which has a limited number of targets. If we have more targets in the future, we have to update the target level cpu
for each of the targets. With a platform entry, you just need to update a single place.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a run-through LED build for these logics I can take a look?
.ci.yaml
Outdated
- cipd_packages/ruby/** | ||
- .ci.yaml | ||
|
||
- name: Mac arm_ruby |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is to keep consistent with other repos. This is not a big issue for Cocoon for now, which has a limited number of targets. If we have more targets in the future, we have to update the target level cpu
for each of the targets. With a platform entry, you just need to update a single place.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also add an entry to the CODEOWNERS: https://github.com/flutter/cocoon/blob/main/CODEOWNERS
This is required to automatically create ruby packages for flutter testing. Bug: flutter/flutter#122057 Bug: flutter/flutter#125812 Bug: flutter/flutter#133096
Done! |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ship it
This is required to automatically create ruby packages for flutter testing.
Bug: flutter/flutter#122057
Bug: flutter/flutter#125812
Bug: flutter/flutter#133096
Bug: flutter/flutter#136377
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.