Merge "ensure-yarn: run ensure-nodejs before"
This commit is contained in:
commit
10cd19fdae
@ -1,5 +1,4 @@
|
|||||||
- hosts: all
|
- hosts: all
|
||||||
roles:
|
roles:
|
||||||
- ensure-nodejs
|
|
||||||
- ensure-yarn
|
- ensure-yarn
|
||||||
- ensure-javascript-packages
|
- ensure-javascript-packages
|
||||||
|
@ -1 +1,6 @@
|
|||||||
Install yarn from yarnpkg repos
|
Install yarn from yarnpkg repos.
|
||||||
|
|
||||||
|
This role use the role :zuul:role:`ensure-nodejs` to ensure that
|
||||||
|
NodeJS is installed. See the documentation for
|
||||||
|
:zuul:role:`ensure-nodejs` and specify the version of NodeJS to
|
||||||
|
install.
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
- name: Install NodeJS
|
||||||
|
include_role:
|
||||||
|
name: ensure-nodejs
|
||||||
|
|
||||||
- name: Gather variables for each operating system
|
- name: Gather variables for each operating system
|
||||||
include_vars: "{{ zj_item }}"
|
include_vars: "{{ zj_item }}"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
|
@ -8,6 +8,16 @@
|
|||||||
vars:
|
vars:
|
||||||
role_name: ensure-nodejs
|
role_name: ensure-nodejs
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: zuul-jobs-test-ensure-yarn
|
||||||
|
description: Test the ensure-yarn role
|
||||||
|
files:
|
||||||
|
- roles/ensure-yarn/.*
|
||||||
|
- roles/ensure-nodejs/.*
|
||||||
|
- roles/ensure-package-repositories/.*
|
||||||
|
run: test-playbooks/simple-role-test.yaml
|
||||||
|
vars:
|
||||||
|
role_name: ensure-yarn
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: zuul-jobs-test-fetch-javascript-tarball
|
name: zuul-jobs-test-fetch-javascript-tarball
|
||||||
@ -37,6 +47,7 @@
|
|||||||
check:
|
check:
|
||||||
jobs: &id001
|
jobs: &id001
|
||||||
- zuul-jobs-test-ensure-nodejs
|
- zuul-jobs-test-ensure-nodejs
|
||||||
|
- zuul-jobs-test-ensure-yarn
|
||||||
- zuul-jobs-test-fetch-javascript-tarball
|
- zuul-jobs-test-fetch-javascript-tarball
|
||||||
- zuul-jobs-test-fetch-javascript-tarball-synchronize
|
- zuul-jobs-test-fetch-javascript-tarball-synchronize
|
||||||
gate:
|
gate:
|
||||||
|
Loading…
Reference in New Issue
Block a user