Meridio: Improvements (operator, e2e, dry-run...)
[infra/cicd.git] / jjb / nsm / meridio-periodic.yaml
1 ---
2 # ============LICENSE_START=======================================================
3 #  Copyright (C) 2021 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
8 #
9 #      http://www.apache.org/licenses/LICENSE-2.0
10 #
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.
16 #
17 # SPDX-License-Identifier: Apache-2.0
18 # ============LICENSE_END=========================================================
19
20 - project:
21     name: 'meridio-periodic'
22
23     project: 'meridio-periodic'
24
25     # NOTE (fdegir): auth-id is taken from Jenkins Global Configuration
26     # by clicking Auth ID button for the desired GitHub Server API URL
27     # Please ensure you are looking at GitHub Pull Request Builder part
28     # of global configuration and not to GitHub Server configuration
29     ghprb-auth-id: 'cdfd2452-a9e2-41a3-8ee6-9058512b4aff'
30
31     jobs:
32       - 'meridio-periodic'
33
34 - job-template:
35     name: 'meridio-periodic'
36     project-type: pipeline
37     disabled: '{obj:disabled}'
38
39     concurrent: true
40
41     properties:
42       - github:
43           url: https://github.com/Nordix/Meridio
44
45     parameters:
46       - string:
47           name: GITHUB_ORGANIZATION
48           default: 'Nordix'
49           description: JJB configured parameter to identify GitHub Organization
50       - string:
51           name: PROJECT
52           default: 'Meridio'
53           description: JJB configured PROJECT parameter to identify a Nordix GitHub project
54       - string:
55           name: IMAGE_NAMES
56           default: 'stateless-lb proxy tapa ipam nsp example-target frontend operator'
57           description: Images to compile
58       - string:
59           name: IMAGE_VERSION
60           default: 'latest'
61           description: Version of the images
62       - string:
63           name: E2E_ENABLED
64           default: "false"
65           description: Is E2E Tests enabled?
66       - string:
67           name: GIT_PROJECT
68           default: "https://github.com/Nordix/Meridio.git"
69           description: Git URL of the project
70       - string:
71           name: CURRENT_BRANCH
72           default: "master"
73           description: Current Git branch
74       - string:
75           name: DEFAULT_BRANCH
76           default: "master"
77           description: default branch
78       - string:
79           name: BUILD_STEPS
80           default: "build tag push"
81           description: Steps to run during build
82       - string:
83           name: IMAGE_REGISTRY
84           default: 'registry.nordix.org/cloud-native/meridio'
85           description: Meridio image regsitry
86       - bool:
87           name: DRY_RUN
88           default: false
89           description: Dry Run
90
91     triggers:
92       - pollscm:
93           cron: '@midnight'
94
95     dsl: 
96       !include-raw-escape: Jenkinsfile
97
98 # vim: set ts=2 sw=2 expandtab: