blob: 33cfe964991b16767bc3907cd13c3312c10cf65b [file] [log] [blame]
Zack Williams96953b22018-04-16 15:27:40 -07001---
Joey Armstrong56fdfec2024-03-01 13:43:36 -05002
3# -----------------------------------------------------------------------
4# Copyright 2017-2024 Open Networking Foundation Contributors
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
9#
10# http:#www.apache.org/licenses/LICENSE-2.0
11#
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.
17# -----------------------------------------------------------------------
18# SPDX-FileCopyrightText: 2017-2024 Open Networking Foundation Contributors
19# SPDX-License-Identifier: Apache-2.0
20# -----------------------------------------------------------------------
21# Entropy: 0fcb5ffa-d1a4-11ee-be5e-9f44b7181764
22# -----------------------------------------------------------------------
23# Intent: release and repo manifest related jobs
24# -----------------------------------------------------------------------
Zack Williams96953b22018-04-16 15:27:40 -070025
26- job-template:
27 id: verify-repo-manifest
28 name: 'verify_{project}_repo-manifest'
29 description: |
30 <!-- Managed by Jenkins Job Builder -->
31 Created by verify-repo-manifest job-template from ci-management/jjb/release.yaml
32
33 triggers:
34 - cord-infra-gerrit-trigger-patchset:
35 gerrit-server-name: '{gerrit-server-name}'
36 project-regexp: '^{project}$'
37 branch-regexp: '{branch-regexp}'
38 file-include-regexp: '{all-files-regexp}'
39 dependency-jobs: '{dependency-jobs}'
40
41 properties:
42 - cord-infra-properties:
43 build-days-to-keep: '{build-days-to-keep}'
44 artifact-num-to-keep: '{artifact-num-to-keep}'
45
46 wrappers:
47 - lf-infra-wrappers:
48 build-timeout: '{build-timeout}'
49 jenkins-ssh-credential: '{jenkins-ssh-credential}'
50
51 scm:
52 - lf-infra-gerrit-scm:
53 git-url: '$GIT_URL/$GERRIT_PROJECT'
54 refspec: '$GERRIT_REFSPEC'
55 branch: '$GERRIT_BRANCH'
Zack Williamsccc14742020-01-22 13:15:59 -070056 submodule-disable: '{submodule-disable}'
Zack Williams96953b22018-04-16 15:27:40 -070057 submodule-recursive: 'false'
Zack Williamsccc14742020-01-22 13:15:59 -070058 submodule-timeout: '{submodule-timeout}'
Zack Williams96953b22018-04-16 15:27:40 -070059 choosing-strategy: gerrit
60 jenkins-ssh-credential: '{jenkins-ssh-credential}'
61
62 node: '{build-node}'
63 project-type: freestyle
64 concurrent: true
65
66 builders:
67 - shell: |
68 #/usr/bin/env bash
69 set -eu -o pipefail
70 ./validate_manifest.sh
71
Joey Armstrongaf679da2023-01-31 14:22:41 -050072# [EOF]