2 # ============LICENSE_START=======================================================
3 # Copyright (C) 2019 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=========================================================
22 # This file contains job template definition for Openstack image building tests.
23 # This job can be triggered manually or through a Github pull request. It creates a
24 # pipeline job. The pipeline scripts are maintained in Nordix/metal3-dev-tools repository.
26 # NOTE: KUBERNETES_VERSION and KUBECTL_SHA256 are changed as a pair
29 id: openstack_image_building
30 name: '{job_prefix}_openstack_image_building'
31 description: "Builder job for Openstack images for Metal3 CI"
32 project-type: pipeline
38 name: KUBERNETES_VERSION
40 description: 'Kubernetes version'
43 default: '7c3807c0f5c1b30110a2ff1e55da1d112a6d0096201f1beb81b269f582b5d1c5' # v1.30.0
44 description: 'Kubectl SHA256 digest matching KUBERNETES_VERSION'
46 name: KIND_NODE_IMAGE_VERSION
48 description: 'Kind node container image version'
54 artifact-days-to-keep: -1
55 artifact-num-to-keep: -1
60 url: "{ci_github_repo}"
61 credentials-id: "{ci_github_jenkins_credentials_id}"
65 refspec: '+refs/heads/*:refs/remotes/origin/*'
69 script-path: 'ci/jobs/{id}.pipeline'
70 lightweight-checkout: False