-
Notifications
You must be signed in to change notification settings - Fork 73
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
Taskfile: Download and set up Meteor.js as part of building the package; Refactor tarball download and extraction into reusable task. #363
Conversation
Refactoring and validating in progress. Let's put this review on hold. |
# Conflicts: # Taskfile.yml # lint-tasks.yml
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 neat. Some refactoring comments mostly.
@@ -182,20 +183,24 @@ tasks: | |||
cmds: |
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.
@haiqi96 I noticed we have this platform
attribute for task webui
. Does it mean the task only runs on x86 platforms? Now that we also set up the arch-specific meteor and nodejs, do we still need the restriction here? (My insights are limited as I'm not too sure how the webui is built currently for your workflow
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.
Does meteor build --architecture
now support ARM platform IDs?
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.
Sorry for the oversight. It doesn't seem to be the case.
The aarch64 related handling was added into the install script together with the 2.14 -> 2.15 upgrade so I mistakenly thought it was available for download. https://static.meteor.com/packages-bootstrap/2.15/meteor-bootstrap-os.linux.aarch64.tar.gz just doesn't open.
ARM support is expected to be available in meteor 3.0 though.
…nning more than once when being specified in multiple deps[].
@@ -206,59 +212,96 @@ tasks: | |||
generates: ["{{.CHECKSUM_FILE}}"] | |||
|
|||
webui-nodejs: |
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 a big deal to leave it since we'll soon clean up the ordering of tasks, but we could move webui-nodejs
after webui-node-modules
to maintain an alphabetical ordering of these artifact-building internal tasks.
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.
Let's leave it to the future PR then. Earlier I also wanted to move task meteor
to some upper position but was confused by the current ordering of the non-internal tasks.
Co-authored-by: kirkrodrigues <[email protected]>
Co-authored-by: kirkrodrigues <[email protected]>
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.
How about:
Taskfile: Download and set up Node.js and Meteor.js as part of building the package. (#363)
Somehow GitHub's git implementation wasn't able to resolve deltas in the moved building.md, and I had to manually trigger a merge offline. Approvers please approve and trigger the merge from your end. |
Maybe we can give less emphasis on the Node.js setup as Taskfile: Download and set up Meteor.js as part of building the package; Refactor Tarball download and extract into reusable task. (#363) Feel free to revise the wording and please trigger the merge from your end. |
References
Description
Validation performed
task
and observed no tasks are getting unnecessarily re-built:And observed success.
11. Deleted
<clp-repo>/build/meteor.md5
and rantask
. Observed tasks "Download & Extract meteor-bootstrap-os.linux.x86_64.tar.gz" getting rebuilt.