Fatih Degirmenci | 12206ba | 2020-10-02 14:42:49 +0000 | [diff] [blame] | 1 | --- |
| 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 Degirmenci | 5960174 | 2020-10-06 13:59:42 +0000 | [diff] [blame^] | 21 | name: '{project-name}-build-periodic-{distro}-{stream}' |
Fatih Degirmenci | 12206ba | 2020-10-02 14:42:49 +0000 | [diff] [blame] | 22 | |
| 23 | node: 'eiffel-build-{distro}' |
| 24 | |
| 25 | disabled: false |
| 26 | |
| 27 | concurrent: false |
| 28 | |
| 29 | properties: |
| 30 | - logrotate |
| 31 | |
| 32 | parameters: |
| 33 | - project-parameters: |
| 34 | project: '{project}' |
| 35 | branch: '{branch}' |
Fatih Degirmenci | 077de1a | 2020-10-05 07:49:52 +0000 | [diff] [blame] | 36 | - string: |
| 37 | name: GIT_BASE_HTTPS |
| 38 | default: https://github.com/eiffel-community |
| 39 | description: HTTPS URL of Project Repo on GitHub to clone repo. |
| 40 | - string: |
| 41 | name: GIT_BASE_SSH |
| 42 | default: git@github.com:eiffel-community |
| 43 | description: SSH URL of Project Repo on GitHub to clone repo. |
Fatih Degirmenci | 077de1a | 2020-10-05 07:49:52 +0000 | [diff] [blame] | 44 | - choice: |
| 45 | name: HARBOR_EIFFEL_PROJECT |
| 46 | choices: |
| 47 | - eiffel |
| 48 | - eiffel-playground |
| 49 | description: Project to push container images to. Default is eiffel. eiffel-playground is for development purposes. |
| 50 | - choice: |
| 51 | name: PODMAN_LOG_LEVEL |
| 52 | choices: |
| 53 | - error |
| 54 | - debug |
| 55 | - info |
| 56 | - warn |
| 57 | - fatal |
| 58 | - panic |
| 59 | description: Podman log level to use. Default is error. |
| 60 | - string: |
| 61 | name: NORDIX_REGISTRY |
| 62 | default: 'registry.nordix.org' |
| 63 | description: Nordix container image registry. |
Fatih Degirmenci | 12206ba | 2020-10-02 14:42:49 +0000 | [diff] [blame] | 64 | |
| 65 | scm: |
Fatih Degirmenci | 077de1a | 2020-10-05 07:49:52 +0000 | [diff] [blame] | 66 | - git: |
| 67 | url: 'https://github.com/eiffel-community/$PROJECT.git' |
| 68 | branches: |
| 69 | - '*/{branch}' |
Fatih Degirmenci | 12206ba | 2020-10-02 14:42:49 +0000 | [diff] [blame] | 70 | refspec: '' |
Fatih Degirmenci | 077de1a | 2020-10-05 07:49:52 +0000 | [diff] [blame] | 71 | timeout: 15 |
| 72 | per-build-tag: false |
| 73 | skip-tag: true |
| 74 | shallow-clone: false |
| 75 | use-author: false |
| 76 | ignore-notify: false |
| 77 | wipe-workspace: true |
| 78 | prune: false |
| 79 | clean: |
| 80 | after: false |
| 81 | before: false |
| 82 | choosing-strategy: 'default' |
| 83 | basedir: '$WORKSPACE' |
| 84 | |
Fatih Degirmenci | 12206ba | 2020-10-02 14:42:49 +0000 | [diff] [blame] | 85 | |
| 86 | triggers: |
| 87 | - pollscm: |
| 88 | cron: "H 0,8,16 * * *" |
| 89 | |
| 90 | wrappers: |
| 91 | - build-timeout: |
| 92 | timeout: 10 |
Fatih Degirmenci | 72e7188 | 2020-10-05 11:54:59 +0000 | [diff] [blame] | 93 | - nordixinfra-harbor-creds-wrapper |
Fatih Degirmenci | 077de1a | 2020-10-05 07:49:52 +0000 | [diff] [blame] | 94 | - mask-passwords |
| 95 | - openstack: |
| 96 | single-use: True |
Fatih Degirmenci | 12206ba | 2020-10-02 14:42:49 +0000 | [diff] [blame] | 97 | |
| 98 | builders: |
Fatih Degirmenci | 5960174 | 2020-10-06 13:59:42 +0000 | [diff] [blame^] | 99 | - '{project-build-macro}' |
Fatih Degirmenci | 12206ba | 2020-10-02 14:42:49 +0000 | [diff] [blame] | 100 | |
| 101 | # vim: set ts=2 sw=2 expandtab: |