blob: d4e1f25512d65aa72c0e343c9d5a007f0b3aed28 [file] [log] [blame]
Lionel Jouin85c872e2022-08-10 15:08:42 +02001---
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
Lionel Jouin85c872e2022-08-10 15:08:42 +020041 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
Lionel Jouinc4037892022-11-16 15:53:04 +010056 default: 'stateless-lb proxy tapa ipam nsp example-target frontend operator'
Lionel Jouin85c872e2022-08-10 15:08:42 +020057 description: Images to compile
58 - string:
59 name: IMAGE_VERSION
60 default: 'latest'
61 description: Version of the images
Lionel Jouin5737e072023-03-21 17:40:21 +010062 - bool:
Lionel Jouin85c872e2022-08-10 15:08:42 +020063 name: E2E_ENABLED
Lionel Jouin5737e072023-03-21 17:40:21 +010064 default: false
65 description: Run the e2e tests?
66 - bool:
67 name: HELM_CHART_UPLOAD
68 default: true
69 description: Upload Helm Charts?
70 - bool:
71 name: SECURITY_SCAN_ENABLED
72 default: false
73 description: Run the security scan?
Lionel Jouin85c872e2022-08-10 15:08:42 +020074 - string:
75 name: GIT_PROJECT
76 default: "https://github.com/Nordix/Meridio.git"
77 description: Git URL of the project
78 - string:
79 name: CURRENT_BRANCH
80 default: "master"
81 description: Current Git branch
82 - string:
83 name: DEFAULT_BRANCH
84 default: "master"
85 description: default branch
86 - string:
87 name: BUILD_STEPS
88 default: "build tag push"
89 description: Steps to run during build
90 - string:
91 name: IMAGE_REGISTRY
92 default: 'registry.nordix.org/cloud-native/meridio'
93 description: Meridio image regsitry
Lionel Jouinc4037892022-11-16 15:53:04 +010094 - bool:
95 name: DRY_RUN
96 default: false
97 description: Dry Run
Lionel Jouin85c872e2022-08-10 15:08:42 +020098
99 triggers:
100 - pollscm:
101 cron: '@midnight'
102
Lionel Jouin85c872e2022-08-10 15:08:42 +0200103 dsl:
104 !include-raw-escape: Jenkinsfile
105
106# vim: set ts=2 sw=2 expandtab: