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=========================================================
21 name: 'kubernetes-tox'
23 project: 'kubernetes-tox'
25 # NOTE (fdegir): dot is not an allowed character in groovy var names and also for
26 # naming openstack objects so stream is used for that purpose but branch points to
27 # actual branch name on gerrit
31 gated-projects: 'infra/stack/kubernetes|infra/installer/kubespray'
34 gated-projects: 'infra/stack/kubernetes|infra/installer/kubespray'
37 gated-projects: 'infra/stack/kubernetes|infra/installer/kubespray'
40 gated-projects: 'infra/stack/kubernetes|infra/installer/kubespray'
43 gated-projects: 'infra/stack/kubernetes|infra/installer/kubespray'
57 - 'kubernetes-verify-tox-{stream}'
58 - 'kubernetes-verify-{lint-type}-{stream}'
61 name: 'kubernetes-verify-tox-{stream}'
63 project-type: multijob
67 node: infra-tools-docker-slave-ubuntu1804
71 project: $GERRIT_PROJECT
73 description: 'The project and branch which the change is proposed for'
77 description: 'Verbosity setting for the tox script'
78 - nordix-gerrit-parameters
82 # NOTE (fdegir): throttle categories are controlled in jenkins global configuration
94 - fix-workspace-permissions
98 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
99 branch: $GERRIT_BRANCH
100 refspec: $GERRIT_REFSPEC
106 server-name: 'Nordix Gerrit'
108 - patchset-created-event:
109 exclude-drafts: 'false'
110 exclude-trivial-rebase: 'false'
111 exclude-no-code-change: 'false'
112 - draft-published-event
113 - comment-added-contains-event:
114 comment-contains-value: 'recheck'
115 - comment-added-contains-event:
116 comment-contains-value: 'reverify'
118 - project-compare-type: 'REG_EXP'
119 project-pattern: '{gated-projects}'
121 - branch-compare-type: 'ANT'
122 branch-pattern: '**/{branch}'
123 disable-strict-forbidden-file-verification: 'false'
124 forbidden-file-paths:
126 pattern: '.gitignore|.gitreview|.yamllint|README.md|bindep.txt|setup.cfg|setup.py'
127 custom-url: '* $JOB_NAME $BUILD_URL'
128 readable-message: 'true'
132 name: Static Analysis
134 execution-type: PARALLEL
136 - name: 'kubernetes-verify-ansible-lint-{stream}'
137 current-parameters: true
140 - name: 'kubernetes-verify-shellcheck-{stream}'
141 current-parameters: true
144 - name: 'kubernetes-verify-yamllint-{stream}'
145 current-parameters: true
150 name: 'kubernetes-verify-{lint-type}-{stream}'
152 disabled: '{obj:disabled}'
156 node: infra-tools-docker-slave-ubuntu1804
161 default: '{lint-type}'
162 description: 'Lint type to run'
164 name: REPOS_TO_IGNORE
165 default: '{repos-to-ignore}'
166 description: 'Repos to ignore for the specific lint type'
174 - fix-workspace-permissions
178 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
179 branch: $GERRIT_BRANCH
180 refspec: $GERRIT_REFSPEC
187 # vim: set ts=2 sw=2 expandtab: