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=========================================================
28 gated-projects: 'infra/stack/ironic|infra/provisioner/bifrost'
42 - 'ironic-verify-tox-{stream}'
43 - 'ironic-verify-{lint-type}-{stream}'
46 name: 'ironic-verify-tox-{stream}'
48 project-type: multijob
52 node: infra-tools-docker-slave-ubuntu1804
56 project: $GERRIT_PROJECT
58 description: 'The project and branch which the change is proposed for'
62 description: 'Verbosity setting for the tox script'
63 - nordix-gerrit-parameters
67 # NOTE (fdegir): throttle categories are controlled in jenkins global configuration
79 - fix-workspace-permissions
83 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
84 branch: $GERRIT_BRANCH
85 refspec: $GERRIT_REFSPEC
91 server-name: 'Nordix Gerrit'
93 - patchset-created-event:
94 exclude-drafts: 'false'
95 exclude-trivial-rebase: 'false'
96 exclude-no-code-change: 'false'
97 - draft-published-event
98 - comment-added-contains-event:
99 comment-contains-value: 'recheck'
100 - comment-added-contains-event:
101 comment-contains-value: 'reverify'
103 - project-compare-type: 'REG_EXP'
104 project-pattern: '{gated-projects}'
106 - branch-compare-type: 'ANT'
107 branch-pattern: '**/{branch}'
108 disable-strict-forbidden-file-verification: 'false'
109 forbidden-file-paths:
111 pattern: '.gitignore|.gitreview|.yamllint|README.md|bindep.txt|setup.cfg|setup.py'
112 custom-url: '* $JOB_NAME $BUILD_URL'
113 readable-message: 'true'
117 name: Static Analysis
119 execution-type: PARALLEL
121 - name: 'ironic-verify-ansible-lint-{stream}'
122 current-parameters: true
125 - name: 'ironic-verify-shellcheck-{stream}'
126 current-parameters: true
129 - name: 'ironic-verify-yamllint-{stream}'
130 current-parameters: true
135 name: 'ironic-verify-{lint-type}-{stream}'
137 disabled: '{obj:disabled}'
141 node: infra-tools-docker-slave-ubuntu1804
146 default: '{lint-type}'
147 description: 'Lint type to run'
149 name: REPOS_TO_IGNORE
150 default: '{repos-to-ignore}'
151 description: 'Repos to ignore for the specific lint type'
159 - fix-workspace-permissions
163 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
164 branch: $GERRIT_BRANCH
165 refspec: $GERRIT_REFSPEC
172 # vim: set ts=2 sw=2 expandtab: