Lionel Jouin | 85c872e | 2022-08-10 15:08:42 +0200 | [diff] [blame] | 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 | |
Lionel Jouin | 85c872e | 2022-08-10 15:08:42 +0200 | [diff] [blame] | 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 |
Lionel Jouin | c403789 | 2022-11-16 15:53:04 +0100 | [diff] [blame] | 56 | default: 'stateless-lb proxy tapa ipam nsp example-target frontend operator' |
Lionel Jouin | 85c872e | 2022-08-10 15:08:42 +0200 | [diff] [blame] | 57 | description: Images to compile |
| 58 | - string: |
| 59 | name: IMAGE_VERSION |
| 60 | default: 'latest' |
| 61 | description: Version of the images |
Lionel Jouin | 5737e07 | 2023-03-21 17:40:21 +0100 | [diff] [blame] | 62 | - bool: |
Lionel Jouin | 85c872e | 2022-08-10 15:08:42 +0200 | [diff] [blame] | 63 | name: E2E_ENABLED |
Lionel Jouin | 5737e07 | 2023-03-21 17:40:21 +0100 | [diff] [blame] | 64 | 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 Jouin | 85c872e | 2022-08-10 15:08:42 +0200 | [diff] [blame] | 74 | - 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 Jouin | c403789 | 2022-11-16 15:53:04 +0100 | [diff] [blame] | 94 | - bool: |
| 95 | name: DRY_RUN |
| 96 | default: false |
| 97 | description: Dry Run |
Lionel Jouin | 85c872e | 2022-08-10 15:08:42 +0200 | [diff] [blame] | 98 | |
| 99 | triggers: |
| 100 | - pollscm: |
| 101 | cron: '@midnight' |
| 102 | |
Lionel Jouin | 85c872e | 2022-08-10 15:08:42 +0200 | [diff] [blame] | 103 | dsl: |
| 104 | !include-raw-escape: Jenkinsfile |
| 105 | |
| 106 | # vim: set ts=2 sw=2 expandtab: |