engine: Run tox jobs in parallel
[infra/cicd.git] / jjb / engine / engine-verify-tox.yaml
index f105de43f3b82c0ac3616b801f0118080a60677f..1cf39621180d98c59364f841c3edfba73e1e5880 100644 (file)
 
     builders:
       - multijob:
-          name: ansible-lint
+          name: Engine Lint
           condition: ALWAYS
+          execution-type: PARALLEL
           projects:
             - name: 'engine-verify-ansible-lint-{stream}'
               current-parameters: true
               kill-phase-on: NEVER
               abort-all-job: false
-              predefined-parameters: |
-                GERRIT_PROJECT=$GERRIT_PROJECT
-                GERRIT_BRANCH=$GERRIT_BRANCH
-                GERRIT_REFSPEC=$GERRIT_REFSPEC
-                GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
-                GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
-                VERBOSITY=$VERBOSITY
-      - multijob:
-          name: shellcheck
-          condition: ALWAYS
-          projects:
             - name: 'engine-verify-shellcheck-{stream}'
               current-parameters: true
               kill-phase-on: NEVER
               abort-all-job: false
-              predefined-parameters: |
-                GERRIT_PROJECT=$GERRIT_PROJECT
-                GERRIT_BRANCH=$GERRIT_BRANCH
-                GERRIT_REFSPEC=$GERRIT_REFSPEC
-                GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
-                GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
-                VERBOSITY=$VERBOSITY
-      - multijob:
-          name: yamllint
-          condition: ALWAYS
-          projects:
             - name: 'engine-verify-yamllint-{stream}'
               current-parameters: true
               kill-phase-on: NEVER
               abort-all-job: false
-              predefined-parameters: |
-                GERRIT_PROJECT=$GERRIT_PROJECT
-                GERRIT_BRANCH=$GERRIT_BRANCH
-                GERRIT_REFSPEC=$GERRIT_REFSPEC
-                GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
-                GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
-                VERBOSITY=$VERBOSITY
-      - multijob:
-          name: docs
-          condition: ALWAYS
-          projects:
             - name: 'engine-verify-docs-{stream}'
               current-parameters: true
               kill-phase-on: NEVER
               abort-all-job: false
-              predefined-parameters: |
-                GERRIT_PROJECT=$GERRIT_PROJECT
-                GERRIT_BRANCH=$GERRIT_BRANCH
-                GERRIT_REFSPEC=$GERRIT_REFSPEC
-                GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
-                GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
-                VERBOSITY=$VERBOSITY
 
 - job-template:
     name: 'engine-verify-{lint-type}-{stream}'
     node: infra-tools-docker-slave-ubuntu1804
 
     parameters:
-      - string:
-          name: PROJECT
-          default: $GERRIT_PROJECT
-          description: 'The project which the change is proposed for'
       - string:
           name: LINT_TYPE
           default: '{lint-type}'
           name: REPOS_TO_IGNORE
           default: '{repos-to-ignore}'
           description: 'Repos to ignore for the specific lint type'
-      - string:
-          name: VERBOSITY
-          default: 'false'
-          description: 'Verbosity setting for the tox script'
-      - nordix-gerrit-parameters
 
     properties:
       - logrotate