3 # ============LICENSE_START=======================================================
4 # Copyright (C) 2019 Nordix Foundation.
5 # ================================================================================
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
18 # SPDX-License-Identifier: Apache-2.0
19 # ============LICENSE_END=========================================================
22 name: 'nolabs-verify-merge'
31 - 'nolabs-verify-{stream}':
32 slave-label: nolabs-dev
33 - 'nolabs-merge-{stream}':
34 slave-label: nolabs-prod
37 name: 'nolabs-verify-{stream}'
45 - nordix-gerrit-parameters
48 default: '{slave-label}'
49 description: 'Slave label to schedule this job on.'
54 use-build-blocker: true
66 - fix-workspace-permissions
70 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
72 refspec: $GERRIT_REFSPEC
78 server-name: 'Nordix Gerrit'
80 - patchset-created-event:
81 exclude-drafts: 'false'
82 exclude-trivial-rebase: 'false'
83 exclude-no-code-change: 'false'
84 - draft-published-event
85 - comment-added-contains-event:
86 comment-contains-value: 'recheck'
87 - comment-added-contains-event:
88 comment-contains-value: 'reverify'
90 - project-compare-type: 'REG_EXP'
91 project-pattern: 'nolabs/website'
93 - branch-compare-type: 'ANT'
94 branch-pattern: '**/{branch}'
95 disable-strict-forbidden-file-verification: 'false'
100 pattern: '.gitreview'
105 echo "To be implemented"
108 name: 'nolabs-merge-{stream}'
113 - project-parameters:
116 - nordix-gerrit-parameters
119 default: '{slave-label}'
120 description: 'Slave label to schedule this job on.'
125 use-build-blocker: true
137 - fix-workspace-permissions
141 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
149 server-name: 'Nordix Gerrit'
151 - change-merged-event
152 - comment-added-contains-event:
153 comment-contains-value: 'remerge'
155 - project-compare-type: 'ANT'
156 project-pattern: 'nolabs/website'
158 - branch-compare-type: 'ANT'
159 branch-pattern: '**/{branch}'
160 disable-strict-forbidden-file-verification: 'false'
161 forbidden-file-paths:
163 pattern: '.gitignore'
165 pattern: '.gitreview'
170 echo "To be implemented"
172 # vim: set ts=2 sw=2 expandtab: