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
9 # http://www.apache.org/licenses/LICENSE-2.0
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.
17 # SPDX-License-Identifier: Apache-2.0
18 # ============LICENSE_END=========================================================
21 name: 'meridio-pull-request'
23 project: 'meridio-pull-request'
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 ghprb-pull-id: ${{ghprbPullId}}
33 - 'meridio-pull-request'
36 name: 'meridio-pull-request'
37 project-type: pipeline
38 disabled: '{obj:disabled}'
44 url: https://github.com/Nordix/Meridio
48 name: GITHUB_ORGANIZATION
50 description: JJB configured parameter to identify GitHub Organization
54 description: JJB configured PROJECT parameter to identify a Nordix GitHub project
57 default: 'stateless-lb proxy tapa ipam nsp example-target frontend operator'
58 description: Images to compile
62 description: Version of the images
66 description: Run the e2e tests?
68 name: HELM_CHART_UPLOAD
70 description: Upload Helm Charts?
72 name: SECURITY_SCAN_ENABLED
74 description: Run the security scan?
77 default: "https://github.com/Nordix/Meridio.git"
78 description: Git URL of the project
81 default: "pr/{ghprb-pull-id}"
82 description: Current Git branch
86 description: default branch
90 description: Steps to run during build
93 default: 'registry.nordix.org/cloud-native/meridio'
94 description: Meridio image regsitry
100 # https://opendev.org/jjb/jenkins-job-builder/src/commit/be422af6bb5edc32886a98d78340051f71244c41/jenkins_jobs/modules/triggers.py#L1235
102 - github-pull-request:
107 auth-id: '{ghprb-auth-id}'
110 no-commit-status: true
111 trigger-phrase: '/reverify'
112 only-trigger-phrase: false
116 !include-raw-escape: Jenkinsfile