Ask Your Question
0

How to I make npm available to a build nodes?

asked 2018-10-04 05:30:58 -0600

ssbarnea gravatar image

If a new project needs a tool that is not installed by default on the build nodes, how do I assure that his tool is installed?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
1

answered 2018-10-04 05:34:52 -0600

ssbarnea gravatar image

By default zuul is looking for a fine named http://docs.openstack.org/infra/bindep/ (bindep.txt) in your repository for installing binaries that are needed by the project.

Here is one such example of file that assures that needed tools are installed. Please remark the use of test tag which mentions that these are needed only for testing and not for the runtime of the package.

# This is a cross-platform list tracking distribution packages needed by tests;
# see http://docs.openstack.org/infra/bindep/ for additional information.

nodejs [test]
nodejs-legacy [platform:ubuntu-xenial test]
npm [test]

Read the bindep.txt documentation for more information about how to specify platform specific dependencies as it supports most platforms.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2018-10-04 05:30:58 -0600

Seen: 13 times

Last updated: Oct 04