From 5dd94f6598920d4f5cc5e8a30d3a68205dbb0205 Mon Sep 17 00:00:00 2001 From: Akihiro Motoki Date: Wed, 2 Sep 2020 19:09:04 +0900 Subject: [PATCH] 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 --- playbooks/horizon-nodejs/pre.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/playbooks/horizon-nodejs/pre.yaml b/playbooks/horizon-nodejs/pre.yaml index b346b04629..b19cc7e418 100644 --- a/playbooks/horizon-nodejs/pre.yaml +++ b/playbooks/horizon-nodejs/pre.yaml @@ -4,3 +4,7 @@ # installed and can be used globally. - role: ensure-tox 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