blob: 04d46f433a8ba771b59a0b24ba52867f9bfdcc8d [file] [log] [blame]
Fatih Degirmenci12206ba2020-10-02 14:42:49 +00001---
2# ============LICENSE_START=======================================================
3# Copyright (C) 2020 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- job-template:
Fatih Degirmencicfca0cb2020-10-27 11:42:08 +000021 name: '{project-name}-build-merge-{distro}-{stream}'
Fatih Degirmenci12206ba2020-10-02 14:42:49 +000022
23 node: 'eiffel-build-{distro}'
24
25 disabled: false
26
27 concurrent: false
28
29 properties:
30 - logrotate
Fatih Degirmencicfca0cb2020-10-27 11:42:08 +000031 - github:
Fatih Degirmencie2a74ce2020-10-28 08:40:20 +000032 # NOTE (fdegir): url is hardcoded here since env vars in job properties
33 # do not seem to be resolved correctly, causing job no to function properly
34 url: 'https://github.com/eiffel-community/{project-git-repo}'
Fatih Degirmenci12206ba2020-10-02 14:42:49 +000035
36 parameters:
37 - project-parameters:
38 project: '{project}'
39 branch: '{branch}'
Fatih Degirmenci077de1a2020-10-05 07:49:52 +000040 - string:
41 name: GIT_BASE_HTTPS
42 default: https://github.com/eiffel-community
43 description: HTTPS URL of Project Repo on GitHub to clone repo.
44 - string:
Fatih Degirmencia580a9a2020-10-14 07:39:26 +000045 name: IMAGE_DOCKERFILE
46 default: '{image-dockerfile}'
47 description: Dockerfile to use for building the container image
48 - string:
49 name: IMAGE_NAME
50 default: '{image-name}'
51 description: Name of the container image
52 - string:
53 name: IMAGE_TAG
54 default: '{image-tag}'
55 description: Tag to apply to the container image
Fatih Degirmenci077de1a2020-10-05 07:49:52 +000056 - choice:
57 name: HARBOR_EIFFEL_PROJECT
58 choices:
59 - eiffel
60 - eiffel-playground
61 description: Project to push container images to. Default is eiffel. eiffel-playground is for development purposes.
62 - choice:
63 name: PODMAN_LOG_LEVEL
64 choices:
65 - error
66 - debug
67 - info
68 - warn
69 - fatal
70 - panic
71 description: Podman log level to use. Default is error.
72 - string:
73 name: NORDIX_REGISTRY
74 default: 'registry.nordix.org'
75 description: Nordix container image registry.
Fatih Degirmenci12206ba2020-10-02 14:42:49 +000076
77 scm:
Fatih Degirmenci077de1a2020-10-05 07:49:52 +000078 - git:
Fatih Degirmencie2a74ce2020-10-28 08:40:20 +000079 url: 'https://github.com/eiffel-community/{project-git-repo}.git'
Fatih Degirmenci077de1a2020-10-05 07:49:52 +000080 branches:
81 - '*/{branch}'
Fatih Degirmenci12206ba2020-10-02 14:42:49 +000082 refspec: ''
Fatih Degirmenci077de1a2020-10-05 07:49:52 +000083 timeout: 15
84 per-build-tag: false
85 skip-tag: true
86 shallow-clone: false
87 use-author: false
88 ignore-notify: false
89 wipe-workspace: true
90 prune: false
91 clean:
92 after: false
93 before: false
94 choosing-strategy: 'default'
95 basedir: '$WORKSPACE'
96
Fatih Degirmenci12206ba2020-10-02 14:42:49 +000097 triggers:
Fatih Degirmencicfca0cb2020-10-27 11:42:08 +000098 - github
Fatih Degirmenci12206ba2020-10-02 14:42:49 +000099
100 wrappers:
101 - build-timeout:
102 timeout: 10
Fatih Degirmenci72e71882020-10-05 11:54:59 +0000103 - nordixinfra-harbor-creds-wrapper
Fatih Degirmenci077de1a2020-10-05 07:49:52 +0000104 - mask-passwords
105 - openstack:
Fatih Degirmencie2a74ce2020-10-28 08:40:20 +0000106 single-use: true
Fatih Degirmenci12206ba2020-10-02 14:42:49 +0000107
108 builders:
Fatih Degirmenci59601742020-10-06 13:59:42 +0000109 - '{project-build-macro}'
Fatih Degirmenci12206ba2020-10-02 14:42:49 +0000110
111# vim: set ts=2 sw=2 expandtab: