1 # Copyright (c) 2023 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
6 # http://www.apache.org/licenses/LICENSE-2.0
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
19 - 'csit-verify-tox-{stream}-{os}-{executor-arch}'
24 executor-arch: 'x86_64'
32 name: 'csit-verify-tox-{stream}-{os}-{executor-arch}'
34 project-type: freestyle
35 node: 's-builder-{os}-prod-{executor-arch}'
40 - lf-infra-properties:
41 build-days-to-keep: "{build-days-to-keep}"
48 - gerrit-refspec-parameter:
49 refspec: '$GERRIT_REFSPEC'
53 credentials-id: 'jenkins-gerrit-credentials'
54 refspec: '$GERRIT_REFSPEC'
55 choosing-strategy: 'gerrit'
58 - fdio-infra-wrappers:
59 build-timeout: '{build-timeout}'
62 # Tox trigger is special.
64 server-name: 'Primary'
66 - patchset-created-event:
67 exclude-drafts: 'true'
68 exclude-trivial-rebase: 'false'
69 exclude-no-code-change: 'false'
70 # Not enabling on draft published event.
71 # Frequently, people publish for public access, not fr verify.
72 # Use recheck comment to trigger verify.
73 - comment-added-contains-event:
74 comment-contains-value: 'recheck'
75 - comment-added-contains-event:
76 comment-contains-value: 'reverify'
78 - project-compare-type: 'ANT'
79 project-pattern: '{project}'
81 - branch-compare-type: 'ANT'
82 branch-pattern: '**/{branch}'
84 gerrit-build-notbuilt-verified-value: 0
85 gerrit-build-successful-verified-value: 1
86 failed-message: 'Tox failed. No further verify jobs will be started.'
87 successful-message: 'tox_success'
97 - ../scripts/setup_executor_env.sh
100 - ../scripts/csit/tox.sh