blob: 5101ddbbff6b9033a6367dc28960f017e82bf13b [file] [log] [blame]
---
# ============LICENSE_START=======================================================
# Copyright (C) 2021 Nordix Foundation.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
# ============LICENSE_END=========================================================
- project:
name: 'nsm-meridio-periodic'
project: 'nsm-meridio-periodic'
stream:
- 'master':
branch: 'master'
image-name:
- ctraffic
- ipam
- load-balancer
- nsp
- proxy
- tapa
- frontend
jobs:
- 'nordix-nsm-meridio-{image-name}-periodic-build-{stream}'
- job-template:
name: 'nordix-nsm-meridio-{image-name}-periodic-build-{stream}'
disabled: '{obj:disabled}'
concurrent: true
node: nordix-nsm-build-ubuntu1804
properties:
- github:
url: https://github.com/Nordix/Meridio
parameters:
- string:
name: GITHUB_ORGANIZATION
default: 'Nordix'
description: JJB configured parameter to identify GitHub Organization
- string:
name: PROJECT
default: 'meridio'
description: JJB configured PROJECT parameter to identify a Nordix GitHub project
- string:
name: IMAGE_NAME
default: '{image-name}'
description: Meridio image to verify build
- string:
name: IMAGE_VERSION
default: 'latest'
description: Meridio image version to build with
- string:
name: IMAGE_REGISTRY
default: 'registry.nordix.org/cloud-native/$PROJECT'
description: Meridio image version to build with
- string:
name: BUILD_STEPS
default: 'build tag push'
description: Steps to run during build
scm:
- git:
url: 'https://github.com/$GITHUB_ORGANIZATION/$PROJECT.git'
branches:
- master
timeout: 15
wipe-workspace: true
triggers:
- pollscm:
cron: '@midnight'
wrappers:
- build-timeout:
timeout: 30
- nordixinfra-harbor-creds-wrapper
- mask-passwords
builders:
- shell:
!include-raw: ./scripts/build.sh
# vim: set ts=2 sw=2 expandtab: