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-dev
35 - 'nolabs-deploy-{stream}':
36 slave-label: nolabs-prod
39 name: 'nolabs-verify-{stream}'
47 - nordix-gerrit-parameters
50 default: '{slave-label}'
51 description: 'Slave label to schedule this job on.'
56 use-build-blocker: true
68 - fix-workspace-permissions
72 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
74 refspec: $GERRIT_REFSPEC
80 server-name: 'Nordix Gerrit'
82 - patchset-created-event:
83 exclude-drafts: 'false'
84 exclude-trivial-rebase: 'false'
85 exclude-no-code-change: 'false'
86 - draft-published-event
87 - comment-added-contains-event:
88 comment-contains-value: 'recheck'
89 - comment-added-contains-event:
90 comment-contains-value: 'reverify'
92 - project-compare-type: 'REG_EXP'
93 project-pattern: 'nolabs/website'
95 - branch-compare-type: 'ANT'
96 branch-pattern: '**/{branch}'
97 disable-strict-forbidden-file-verification: 'false'
100 pattern: '.gitignore'
102 pattern: '.gitreview'
107 echo "To be implemented"
110 name: 'nolabs-merge-{stream}'
115 - project-parameters:
118 - nordix-gerrit-parameters
121 default: '{slave-label}'
122 description: 'Slave label to schedule this job on.'
127 use-build-blocker: true
139 - fix-workspace-permissions
143 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
151 server-name: 'Nordix Gerrit'
153 - change-merged-event
154 - comment-added-contains-event:
155 comment-contains-value: 'remerge'
157 - project-compare-type: 'ANT'
158 project-pattern: 'nolabs/website'
160 - branch-compare-type: 'ANT'
161 branch-pattern: '**/{branch}'
162 disable-strict-forbidden-file-verification: 'false'
163 forbidden-file-paths:
165 pattern: '.gitignore'
167 pattern: '.gitreview'
172 echo "To be implemented"
175 name: 'nolabs-deploy-{stream}'
180 - project-parameters:
183 - nordix-gerrit-parameters
186 default: '{slave-label}'
187 description: 'Slave label to schedule this job on.'
192 use-build-blocker: true
204 - fix-workspace-permissions
208 ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
216 server-name: 'Nordix Gerrit'
218 - comment-added-contains-event:
219 comment-contains-value: 'website-deploy-to-production'
221 - project-compare-type: 'ANT'
222 project-pattern: 'nolabs/website'
224 - branch-compare-type: 'ANT'
225 branch-pattern: '**/{branch}'
226 disable-strict-forbidden-file-verification: 'false'
227 forbidden-file-paths:
229 pattern: '.gitignore'
231 pattern: '.gitreview'
236 echo "To be implemented"
238 # vim: set ts=2 sw=2 expandtab: