summaryrefslogtreecommitdiff
path: root/.zuul.d/nodejs-jobs.yaml
blob: f9f56b2f07cc63de28cdd47ca695b18015a743d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
- job:
    name: horizon-nodejs14-run-lint
    parent: nodejs-run-lint
    description: |
      Run lint using Node 14 for horizon plugins.
    vars:
      node_version: 14
      tox_constraints_file: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt"
    nodeset: ubuntu-focal
    pre-run: playbooks/horizon-nodejs/pre.yaml
    required-projects:
      - openstack/horizon
      - openstack/requirements

- job:
    name: horizon-nodejs14-run-test
    parent: nodejs-run-test-browser
    description: |
      Run test using Node 14 for horizon plugins.
    vars:
      node_version: 14
      tox_constraints_file: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt"
    pre-run: playbooks/horizon-nodejs/pre.yaml
    nodeset: ubuntu-focal
    required-projects:
      - openstack/horizon
      - openstack/requirements

- project-template:
    name: horizon-nodejs14-jobs
    description: |
      Run lint and test jobs using Node 14 (LTS) for horizon plugins.
    check:
      jobs:
        - horizon-nodejs14-run-lint
        - horizon-nodejs14-run-test
    gate:
      jobs:
        - horizon-nodejs14-run-lint
        - horizon-nodejs14-run-test

- project-template:
    name: horizon-nodejs14-jobs-nonvoting
    description: |
      Run lint and test jobs using Node 14 (LTS) for horizon plugins.
    check:
      jobs:
        - horizon-nodejs14-run-lint:
            voting: false
        - horizon-nodejs14-run-test:
            voting: false