7af366033b958d79d64ef4da2d5720eb526f3e9e
[infra/cicd.git] / jjb / nsm / meridio-e2e-test-kind.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-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
33     concurrent: false
34
35     properties:
36       - github:
37           url: https://github.com/Nordix/Meridio-Operator
38
39     parameters:
40       - string:
41           name: GITHUB_ORGANIZATION
42           default: 'Nordix'
43           description: GitHub Organization
44       - string:
45           name: PROJECT
46           default: 'Meridio'
47           description: GitHub project
48       - string:
49           name: GIT_PROJECT
50           default: "https://github.com/$GITHUB_ORGANIZATION/$PROJECT.git"
51           description: Git URL of the project
52       - string:
53           name: CURRENT_BRANCH
54           default: "master"
55           description: Current Git branch
56       - string:
57           name: DEFAULT_BRANCH
58           default: "master"
59           description: default branch
60       - string:
61           name: NEXT
62           default: 'false'
63           description: Does the job run has to call for a next run?
64       - string:
65           name: MERIDIO_VERSION
66           default: 'latest'
67           description: Version of Meridio
68       - string:
69           name: TAPA_VERSION
70           default: 'latest'
71           description: Version of Meridio TAPA
72       - string:
73           name: KUBERNETES_VERSION
74           default: 'v1.25'
75           description: Version of Kubernetes
76       - string:
77           name: NSM_VERSION
78           default: 'v1.6.0'
79           description: Version of NSM
80       - string:
81           name: IP_FAMILY
82           default: 'dualstack'
83           description: IP Family
84       - string:
85           name: NUMBER_OF_WORKERS
86           default: "2"
87           description: Number of Kubernetes Workers
88       - string:
89           name: ENVIRONMENT_NAME
90           default: "kind-helm"
91           description: Name of the environment (under test/e2e/environment directory in Meridio)
92       - string:
93           name: SEED
94           default: "1"
95           description: Order in which the tests are running
96
97     dsl: 
98       !include-raw-escape: e2e.Jenkinsfile