2 # ============LICENSE_START=======================================================
3 # Copyright (C) 2019 Nordix Foundation.
4 # ================================================================================
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
17 # SPDX-License-Identifier: Apache-2.0
18 # ============LICENSE_END=========================================================
23 project: 'openstack-tox'
28 gated-projects: 'infra/stack/openstack|infra/installer/kolla'
31 gated-projects: 'infra/stack/openstack|infra/installer/kolla'
34 gated-projects: 'infra/stack/openstack|infra/installer/kolla'
48 - 'openstack-verify-tox-{stream}'
49 - 'openstack-verify-{lint-type}-{stream}'
52 name: 'openstack-verify-tox-{stream}'
54 project-type: multijob
58 node: infra-tools-docker-slave-ubuntu1804
62 project: $GERRIT_PROJECT
64 description: 'The project and branch which the change is proposed for'
68 description: 'Verbosity setting for the tox script'
69 - nordix-gerrit-parameters
73 # NOTE (fdegir): throttle categories are controlled in jenkins global configuration
85 - fix-workspace-permissions
89 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
90 branch: $GERRIT_BRANCH
91 refspec: $GERRIT_REFSPEC
97 server-name: 'Nordix Gerrit'
99 - patchset-created-event:
100 exclude-drafts: 'false'
101 exclude-trivial-rebase: 'false'
102 exclude-no-code-change: 'false'
103 - draft-published-event
104 - comment-added-contains-event:
105 comment-contains-value: 'recheck'
106 - comment-added-contains-event:
107 comment-contains-value: 'reverify'
109 - project-compare-type: 'REG_EXP'
110 project-pattern: '{gated-projects}'
112 - branch-compare-type: 'ANT'
113 branch-pattern: '**/{branch}'
114 disable-strict-forbidden-file-verification: 'false'
115 forbidden-file-paths:
117 pattern: '.gitignore|.gitreview|.yamllint|README.md|bindep.txt|setup.cfg|setup.py'
118 custom-url: '* $JOB_NAME $BUILD_URL'
122 name: Static Analysis
124 execution-type: PARALLEL
126 - name: 'openstack-verify-ansible-lint-{stream}'
127 current-parameters: true
130 - name: 'openstack-verify-shellcheck-{stream}'
131 current-parameters: true
134 - name: 'openstack-verify-yamllint-{stream}'
135 current-parameters: true
140 name: 'openstack-verify-{lint-type}-{stream}'
142 disabled: '{obj:disabled}'
146 node: infra-tools-docker-slave-ubuntu1804
151 default: '{lint-type}'
152 description: 'Lint type to run'
154 name: REPOS_TO_IGNORE
155 default: '{repos-to-ignore}'
156 description: 'Repos to ignore for the specific lint type'
164 - fix-workspace-permissions
168 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
169 branch: $GERRIT_BRANCH
170 refspec: $GERRIT_REFSPEC
177 # vim: set ts=2 sw=2 expandtab: