Lionel Jouin | c0ae718 | 2022-10-24 17:28:37 +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-e2e-test-kind' |
| 22 | |
| 23 | project: 'meridio-e2e-test-kind' |
| 24 | |
| 25 | jobs: |
| 26 | - 'meridio-e2e-test-kind' |
| 27 | |
| 28 | - job-template: |
| 29 | name: 'meridio-e2e-test-kind' |
| 30 | project-type: pipeline |
| 31 | disabled: '{obj:disabled}' |
| 32 | |
Lionel Jouin | c0ae718 | 2022-10-24 17:28:37 +0200 | [diff] [blame] | 33 | properties: |
| 34 | - github: |
| 35 | url: https://github.com/Nordix/Meridio-Operator |
robert.tomczyk | d0b82bc | 2022-12-21 14:06:16 +0000 | [diff] [blame] | 36 | - build-discarder: |
| 37 | days-to-keep: 60 |
| 38 | num-to-keep: 2000 |
| 39 | artifact-days-to-keep: 60 |
| 40 | artifact-num-to-keep: 2000 |
| 41 | |
Lionel Jouin | c0ae718 | 2022-10-24 17:28:37 +0200 | [diff] [blame] | 42 | |
| 43 | parameters: |
| 44 | - string: |
| 45 | name: GITHUB_ORGANIZATION |
| 46 | default: 'Nordix' |
| 47 | description: GitHub Organization |
| 48 | - string: |
| 49 | name: PROJECT |
| 50 | default: 'Meridio' |
| 51 | description: GitHub project |
| 52 | - string: |
| 53 | name: GIT_PROJECT |
| 54 | default: "https://github.com/$GITHUB_ORGANIZATION/$PROJECT.git" |
| 55 | description: Git URL of the project |
| 56 | - string: |
| 57 | name: CURRENT_BRANCH |
| 58 | default: "master" |
| 59 | description: Current Git branch |
| 60 | - string: |
| 61 | name: DEFAULT_BRANCH |
| 62 | default: "master" |
| 63 | description: default branch |
Lionel Jouin | c403789 | 2022-11-16 15:53:04 +0100 | [diff] [blame] | 64 | - bool: |
Lionel Jouin | c0ae718 | 2022-10-24 17:28:37 +0200 | [diff] [blame] | 65 | name: NEXT |
Lionel Jouin | c403789 | 2022-11-16 15:53:04 +0100 | [diff] [blame] | 66 | default: false |
Lionel Jouin | c0ae718 | 2022-10-24 17:28:37 +0200 | [diff] [blame] | 67 | description: Does the job run has to call for a next run? |
| 68 | - string: |
| 69 | name: MERIDIO_VERSION |
| 70 | default: 'latest' |
| 71 | description: Version of Meridio |
| 72 | - string: |
| 73 | name: TAPA_VERSION |
| 74 | default: 'latest' |
| 75 | description: Version of Meridio TAPA |
| 76 | - string: |
| 77 | name: KUBERNETES_VERSION |
| 78 | default: 'v1.25' |
| 79 | description: Version of Kubernetes |
| 80 | - string: |
| 81 | name: NSM_VERSION |
| 82 | default: 'v1.6.0' |
| 83 | description: Version of NSM |
| 84 | - string: |
| 85 | name: IP_FAMILY |
| 86 | default: 'dualstack' |
| 87 | description: IP Family |
Lionel Jouin | 848fab1 | 2022-10-31 17:32:58 +0100 | [diff] [blame] | 88 | - string: |
| 89 | name: NUMBER_OF_WORKERS |
| 90 | default: "2" |
| 91 | description: Number of Kubernetes Workers |
| 92 | - string: |
| 93 | name: ENVIRONMENT_NAME |
Lionel Jouin | c403789 | 2022-11-16 15:53:04 +0100 | [diff] [blame] | 94 | default: "kind-operator" |
Lionel Jouin | 848fab1 | 2022-10-31 17:32:58 +0100 | [diff] [blame] | 95 | description: Name of the environment (under test/e2e/environment directory in Meridio) |
| 96 | - string: |
| 97 | name: SEED |
| 98 | default: "1" |
| 99 | description: Order in which the tests are running |
Lionel Jouin | c403789 | 2022-11-16 15:53:04 +0100 | [diff] [blame] | 100 | - string: |
| 101 | name: SKIP |
| 102 | default: "" |
| 103 | description: e2e tests to skip |
| 104 | - string: |
| 105 | name: FOCUS |
| 106 | default: "" |
| 107 | description: e2e tests to focus |
| 108 | - bool: |
| 109 | name: DRY_RUN |
| 110 | default: false |
| 111 | description: Dry Run |
Lionel Jouin | c0ae718 | 2022-10-24 17:28:37 +0200 | [diff] [blame] | 112 | |
| 113 | dsl: |
| 114 | !include-raw-escape: e2e.Jenkinsfile |