npm job: Add 'nodejs' bindep profile

During the focal migration, npm jobs in some plugins requires
extra packages like libfontconfig. They are specific to npm jobs,
so it would be nice to have a dedicated bindep profile (as 'test'
profile is too general for this purpose). horizon job definition
provides a common layer for the npm jobs, so we decide to add a
task to the job definition in the horizon repo. Each plugin can
add packages with 'nodejs' profile in its bindep.txt if needed.

Change-Id: I5eac6b1c724e9b21a78fda5ba41002224dd9b356
This commit is contained in:
Akihiro Motoki 2020-09-02 19:09:04 +09:00
parent c28b9b9bc3
commit 5dd94f6598

View File

@ -4,3 +4,7 @@
# installed and can be used globally. # installed and can be used globally.
- role: ensure-tox - role: ensure-tox
ensure_global_symlinks: True ensure_global_symlinks: True
# nodejs jobs in some horizon plugins requires extra packages in the jobs.
# It is nice to define a specific bindep profile for them.
- role: bindep
bindep_profile: nodejs