Ansible job definitions for Zuul
Go to file
Monty Taylor 202cce830e Add new non-npm specific javascript jobs
We have a bunch of jobs that are built around the npm role, but
for projects using yarn, that can lead to ignoring yarn.lock.

For projects with a yarn.lock, we can assume the user wants to
use yarn. Make a new js-package-manager role that can detect
if that's the case and otherwise use npm. Make an js_build_tool
parameter that allows the user to override that auto-detection.

Make a whole new suite of jobs that do this behavior, do not have
npm in their name, and default to the latest node LTS, version 14.

Don't install yarn if we're not going to use yarn. Also allow people
who want to use yarn but don't have a yarn.lock to override
js_build_tool everywhere we do that logic.

Mark the old jobs deprecated.

Shift the npm and yarn roles to use the new js-package-manager role
with defaults set.

Change-Id: I8013228ca05607a69f390a9bb75991fc6543f865
2020-05-12 07:50:19 +02:00
.rules Check blocks recursively for loops 2020-05-05 22:56:46 +02:00
doc Add new non-npm specific javascript jobs 2020-05-12 07:50:19 +02:00
playbooks Add new non-npm specific javascript jobs 2020-05-12 07:50:19 +02:00
roles Add new non-npm specific javascript jobs 2020-05-12 07:50:19 +02:00
test-playbooks Revert "ensure-tox: use venv to install" 2020-05-08 07:36:40 -07:00
tests Add test cases for tox line comment parsing 2020-04-03 19:34:24 +02:00
tools Remove opensuse-15-plain testing 2020-05-06 12:40:40 +10:00
zuul-tests.d Remove opensuse-15-plain testing 2020-05-06 12:40:40 +10:00
zuul.d Add new non-npm specific javascript jobs 2020-05-12 07:50:19 +02:00
.ansible-lint Add loop var policy to ansible-lint 2020-04-29 17:20:59 +02:00
.gitignore Add a python unit test framework 2018-07-25 09:11:25 -07:00
.gitreview OpenDev Migration Patch 2019-04-19 19:25:30 +00:00
.stestr.conf Add a python unit test framework 2018-07-25 09:11:25 -07:00
.yamllint Made sequence indent consistent 2020-05-07 14:13:55 +01:00
CONTRIBUTING.rst Link the policy to the CONTRIBUTING.rst file 2020-01-28 07:21:08 -05:00
LICENSE Add initial license, docs, and other config 2017-06-08 14:01:21 -07:00
README.rst Add installation/deprecation documentation 2018-04-11 08:03:57 -07:00
setup.cfg Add initial license, docs, and other config 2017-06-08 14:01:21 -07:00
setup.py Add initial license, docs, and other config 2017-06-08 14:01:21 -07:00
test-requirements.txt Bumb ansible to version 2.6 2020-05-07 11:14:45 +02:00
tox.ini Enable yamllint 2020-05-04 17:47:11 +01:00

Zuul Jobs

This repo contains a set of Zuul jobs and Ansible roles suitable for use by any Zuul system.