--- ######################## # Job configuration for opnfv-lint ######################## - project: name: opnfv-lint project: opnfv-lint jobs: - 'opnfv-lint-verify-{stream}' - 'opnfv-yamllint-verify-{stream}' - 'opnfv-pylint-verify-{stream}' stream: - master: branch: '{stream}' gs-pathname: '' disabled: false - fraser: branch: 'stable/{stream}' gs-pathname: '/{stream}' disabled: false - danube: branch: 'stable/{stream}' gs-pathname: '/{stream}' disabled: false ######################## # job templates ######################## - job-template: name: 'opnfv-lint-verify-{stream}' disabled: '{obj:disabled}' concurrent: true parameters: - project-parameter: project: $GERRIT_PROJECT branch: '{branch}' - node: name: SLAVE_NAME description: Slaves to execute yamllint default-slaves: - lf-build1 allowed-multiselect: true ignore-offline-nodes: true scm: - git-scm-gerrit triggers: - gerrit: server-name: 'gerrit.opnfv.org' trigger-on: - patchset-created-event: exclude-drafts: 'false' exclude-trivial-rebase: 'false' exclude-no-code-change: 'false' - draft-published-event - comment-added-contains-event: comment-contains-value: 'recheck' projects: - project-compare-type: 'REG_EXP' project-pattern: 'releng|doctor|pharos' branches: - branch-compare-type: 'ANT' branch-pattern: '**/{branch}' file-paths: - compare-type: ANT pattern: '**/*.py' - compare-type: ANT pattern: '**/*.sh' - compare-type: ANT pattern: '**/*.yml' - compare-type: ANT pattern: '**/*.yaml' builders: - lint-all-code - job-template: name: 'opnfv-pylint-verify-{stream}' disabled: '{obj:disabled}' concurrent: true parameters: - project-parameter: project: $GERRIT_PROJECT branch: '{branch}' - node: name: SLAVE_NAME description: Slaves to execute yamllint default-slaves: - lf-build1 allowed-multiselect: true ignore-offline-nodes: true scm: - git-scm-gerrit triggers: - gerrit: server-name: 'gerrit.opnfv.org' trigger-on: - patchset-created-event: exclude-drafts: 'false' exclude-trivial-rebase: 'false' exclude-no-code-change: 'false' - draft-published-event - comment-added-contains-event: comment-contains-value: 'recheck' - comment-added-contains-event: comment-contains-value: 'reverify' projects: - project-compare-type: 'REG_EXP' project-pattern: 'sdnvpn|qtip|daisy|sfc|escalator' branches: - branch-compare-type: 'ANT' branch-pattern: '**/{branch}' file-paths: - compare-type: ANT pattern: '**/*.py' builders: - lint-init - lint-python-code - lint-report - job-template: name: 'opnfv-yamllint-verify-{stream}' disabled: '{obj:disabled}' concurrent: true parameters: - project-parameter: project: $GERRIT_PROJECT branch: '{branch}' - node: name: SLAVE_NAME description: Slaves to execute yamllint default-slaves: - lf-build1 allowed-multiselect: true ignore-offline-nodes: true scm: - git-scm-gerrit triggers: - gerrit: server-name: 'gerrit.opnfv.org' trigger-on: - patchset-created-event: exclude-drafts: 'false' exclude-trivial-rebase: 'false' exclude-no-code-change: 'false' - draft-published-event - comment-added-contains-event: comment-contains-value: 'recheck' - comment-added-contains-event: comment-contains-value: 'reverify' projects: - project-compare-type: 'REG_EXP' project-pattern: 'armband|fuel|releng-anteater' branches: - branch-compare-type: 'ANT' branch-pattern: '**/{branch}' file-paths: - compare-type: ANT pattern: '**/*.yml' - compare-type: ANT pattern: '**/*.yaml' builders: - lint-init - lint-yaml-code - lint-report