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'
45 - 'openstack-verify-tox-{stream}'
46 - 'openstack-verify-{lint-type}-{stream}'
49 name: 'openstack-verify-tox-{stream}'
51 project-type: multijob
55 node: infra-tools-docker-slave-ubuntu1804
59 project: $GERRIT_PROJECT
61 description: 'The project and branch which the change is proposed for'
65 description: 'Verbosity setting for the tox script'
66 - nordix-gerrit-parameters
70 # NOTE (fdegir): throttle categories are controlled in jenkins global configuration
82 - fix-workspace-permissions
86 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
87 branch: $GERRIT_BRANCH
88 refspec: $GERRIT_REFSPEC
94 server-name: 'Nordix Gerrit'
96 - patchset-created-event:
97 exclude-drafts: 'false'
98 exclude-trivial-rebase: 'false'
99 exclude-no-code-change: 'false'
100 - draft-published-event
101 - comment-added-contains-event:
102 comment-contains-value: 'recheck'
103 - comment-added-contains-event:
104 comment-contains-value: 'reverify'
106 - project-compare-type: 'REG_EXP'
107 project-pattern: '{gated-projects}'
109 - branch-compare-type: 'ANT'
110 branch-pattern: '**/{branch}'
111 disable-strict-forbidden-file-verification: 'false'
112 forbidden-file-paths:
114 pattern: '.gitignore|.gitreview|.yamllint|README.md|bindep.txt|setup.cfg|setup.py'
115 custom-url: '* $JOB_NAME $BUILD_URL'
116 readable-message: 'true'
120 name: Static Analysis
122 execution-type: PARALLEL
124 - name: 'openstack-verify-ansible-lint-{stream}'
125 current-parameters: true
128 - name: 'openstack-verify-shellcheck-{stream}'
129 current-parameters: true
132 - name: 'openstack-verify-yamllint-{stream}'
133 current-parameters: true
138 name: 'openstack-verify-{lint-type}-{stream}'
140 disabled: '{obj:disabled}'
144 node: infra-tools-docker-slave-ubuntu1804
149 default: '{lint-type}'
150 description: 'Lint type to run'
152 name: REPOS_TO_IGNORE
153 default: '{repos-to-ignore}'
154 description: 'Repos to ignore for the specific lint type'
162 - fix-workspace-permissions
166 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
167 branch: $GERRIT_BRANCH
168 refspec: $GERRIT_REFSPEC
175 # vim: set ts=2 sw=2 expandtab: