-
Notifications
You must be signed in to change notification settings - Fork 265
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
Remove Node.js install from build tests #3034
Conversation
944a6b4
to
8c33616
Compare
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
/test tekton-dashboard-unit-tests |
1 similar comment
/test tekton-dashboard-unit-tests |
Flaky test, hopefully fixed in #3040 |
The build tests script does not require Node.js so there's no need to install it during setup. Remove the call to `get_node` from the `extra_initialization` function which is called for all tests types. Add `get_node` to the function responsible for running npm install which is called for all tests types that require Node.js (unit + integration) Also remove unnecessary apt commands installing curl which is already included in the test runner image.
5d81622
to
9f0b37f
Compare
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: briangleeson The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Changes
The build tests script does not require Node.js so there's no need to install it during setup.
Remove the call to
get_node
from theextra_initialization
function which is called for all tests types.Add
get_node
to the function responsible for running npm install which is called for all tests types that require Node.js (unit + integration)/kind misc
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
/kind <type>
. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes