+---
+# ============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-verify'
+
+ project: 'nsm-meridio-verify'
+
+ stream:
+ - 'master':
+ branch: '${{ghprbActualCommit}}'
+
+ image-name:
+ - ctraffic
+ - ipam
+ - load-balancer
+ - nsp
+ - proxy
+ - target
+
+ jobs:
+ - 'nordix-nsm-meridio-verify-static-analysis-{stream}'
+ - 'nordix-nsm-meridio-{image-name}-verify-build-{stream}'
+
+- job-template:
+ name: 'nordix-nsm-meridio-verify-static-analysis-{stream}'
+
+ disabled: '{obj:disabled}'
+
+ concurrent: true
+
+ node: nordix-nsm-build-ubuntu1804
+
+ properties:
+ - github:
+ url: https://github.com/Nordix/Meridio.git
+
+ 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
+
+ scm:
+ - git:
+ url: 'https://github.com/$GITHUB_ORGANIZATION/$PROJECT.git'
+ branches:
+ - '{branch}'
+ refspec: '+refs/pull/*:refs/remotes/origin/pr/*'
+ timeout: 15
+ wipe-workspace: true
+ choosing-strategy: 'default'
+ clean_before: false
+
+ triggers:
+ - github-pull-request:
+ admin-list:
+ - nordixinfra
+ - uablrek
+ - LionelJouin
+ - fdegir
+ auth-id: 'nordix-nsm-github-token'
+ github-hooks: true
+ permit-all: true
+ trigger-phrase: '/reverify'
+ only-trigger-phrase: false
+ cron: 'H/5 * * * *'
+ status-context: 'Nordix Jenkins'
+
+ builders:
+ - shell:
+ !include-raw: ./scripts/static-analysis.sh
+
+- job-template:
+ name: 'nordix-nsm-meridio-{image-name}-verify-build-{stream}'
+
+ disabled: '{obj:disabled}'
+
+ concurrent: true
+
+ node: nordix-nsm-build-ubuntu1804
+
+ properties:
+ - github:
+ url: https://github.com/Nordix/Meridio.git
+
+ 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: 'dev'
+ 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'
+ description: Steps to run during build
+
+ scm:
+ - git:
+ url: 'https://github.com/$GITHUB_ORGANIZATION/$PROJECT.git'
+ branches:
+ - '{branch}'
+ refspec: '+refs/pull/*:refs/remotes/origin/pr/*'
+ timeout: 15
+ wipe-workspace: true
+ choosing-strategy: 'default'
+ clean_before: false
+
+ triggers:
+ - github-pull-request:
+ admin-list:
+ - nordixinfra
+ - uablrek
+ - LionelJouin
+ - fdegir
+ auth-id: 'nordix-nsm-github-token'
+ github-hooks: true
+ permit-all: true
+ trigger-phrase: '/reverify'
+ only-trigger-phrase: false
+ cron: 'H/5 * * * *'
+ status-context: 'Nordix Jenkins'
+
+ wrappers:
+ - build-timeout:
+ timeout: 10
+ - nordixinfra-harbor-creds-wrapper
+ - mask-passwords
+
+ builders:
+ - shell:
+ !include-raw: ./scripts/build.sh
+
+# vim: set ts=2 sw=2 expandtab: