- 'apex-create-snapshot'
- 'apex-fetch-snap-info'
- 'apex-flex-daily-os-nosdn-nofeature-ha-{stream}'
- - 'apex-dovetail-daily-os-nosdn-nofeature-ha-baremetal-danube'
# stream: branch with - in place of / (eg. stable-arno)
# branch: branch (eg. stable/arno)
stream:
abort-all-job: false
git-revision: false
- multijob:
- name: Dovetail-proposed_tests
+ name: Dovetail-default-mandatory
condition: ALWAYS
projects:
- name: 'dovetail-apex-baremetal-default-mandatory-{scenario_stream}'
abort-all-job: false
git-revision: false
- multijob:
- name: Dovetail-default
+ name: Dovetail-default-optional
condition: ALWAYS
projects:
- name: 'dovetail-apex-baremetal-default-optional-{scenario_stream}'
enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-(nosdn-nofeature|odl-bgpvpn)-ha/"
abort-all-job: false
git-revision: false
+ - multijob:
+ name: Dovetail-proposed_tests
+ condition: ALWAYS
+ projects:
+ - name: 'dovetail-apex-baremetal-proposed_tests-optional-{scenario_stream}'
+ node-parameters: true
+ current-parameters: false
+ predefined-parameters:
+ DEPLOY_SCENARIO=$DEPLOY_SCENARIO
+ kill-phase-on: NEVER
+ enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-(nosdn-nofeature|odl-bgpvpn)-ha/"
+ abort-all-job: false
+ git-revision: false
- multijob:
name: StorPerf
condition: ALWAYS
abort-all-job: false
git-revision: false
-# Dovetail Danube test job
-- job-template:
- name: 'apex-dovetail-daily-os-nosdn-nofeature-ha-baremetal-danube'
-
- project-type: 'multijob'
-
- node: 'huawei-pod4'
-
- disabled: false
-
- parameters:
- - '{project}-defaults'
- - project-parameter:
- project: '{project}'
- branch: 'stable/danube'
- - apex-parameter:
- gs-pathname: '/danube'
- - string:
- name: DEPLOY_SCENARIO
- default: 'os-nosdn-nofeature-ha'
- description: "Scenario to deploy with."
-
- properties:
- - logrotate-default
- - build-blocker:
- use-build-blocker: true
- blocking-level: 'NODE'
- blocking-jobs:
- - 'apex-verify.*'
- - 'apex-runner.*'
- - 'apex-.*-promote.*'
- - 'apex-run.*'
-
- triggers:
- - timed: '' # '0 1 * * *'
-
- builders:
- - description-setter:
- description: "Testing on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
- - multijob:
- name: 'Baremetal Deploy'
- condition: SUCCESSFUL
- projects:
- - name: 'apex-deploy-baremetal-danube'
- node-parameters: true
- current-parameters: true
- predefined-parameters: |
- OPNFV_CLEAN=yes
- GERRIT_BRANCH=$GERRIT_BRANCH
- GERRIT_REFSPEC=
- DEPLOY_SCENARIO=$DEPLOY_SCENARIO
- kill-phase-on: FAILURE
- abort-all-job: true
- git-revision: false
- - multijob:
- name: Dovetail
- condition: ALWAYS
- projects:
- - name: 'dovetail-apex-baremetal-proposed_tests-danube'
- node-parameters: true
- current-parameters: false
- predefined-parameters:
- DEPLOY_SCENARIO=$DEPLOY_SCENARIO
- kill-phase-on: NEVER
- abort-all-job: false
- git-revision: false
########################
# parameter macros
- 'apex-create-snapshot'
- 'apex-fetch-snap-info'
- 'apex-flex-daily-os-nosdn-nofeature-ha-{stream}'
- - 'apex-dovetail-daily-os-nosdn-nofeature-ha-baremetal-danube'
# stream: branch with - in place of / (eg. stable-arno)
# branch: branch (eg. stable/arno)
stream:
abort-all-job: false
git-revision: false
- multijob:
- name: Dovetail-proposed_tests
+ name: Dovetail-default-mandatory
condition: ALWAYS
projects:
- name: 'dovetail-apex-baremetal-default-mandatory-{scenario_stream}'
abort-all-job: false
git-revision: false
- multijob:
- name: Dovetail-default
+ name: Dovetail-default-optional
condition: ALWAYS
projects:
- name: 'dovetail-apex-baremetal-default-optional-{scenario_stream}'
enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-(nosdn-nofeature|odl-bgpvpn)-ha/"
abort-all-job: false
git-revision: false
+ - multijob:
+ name: Dovetail-proposed_tests
+ condition: ALWAYS
+ projects:
+ - name: 'dovetail-apex-baremetal-proposed_tests-optional-{scenario_stream}'
+ node-parameters: true
+ current-parameters: false
+ predefined-parameters:
+ DEPLOY_SCENARIO=$DEPLOY_SCENARIO
+ kill-phase-on: NEVER
+ enable-condition: "def m = '$DEPLOY_SCENARIO' ==~ /os-(nosdn-nofeature|odl-bgpvpn)-ha/"
+ abort-all-job: false
+ git-revision: false
- multijob:
name: StorPerf
condition: ALWAYS
abort-all-job: false
git-revision: false
-# Dovetail Danube test job
-- job-template:
- name: 'apex-dovetail-daily-os-nosdn-nofeature-ha-baremetal-danube'
-
- project-type: 'multijob'
-
- node: 'huawei-pod4'
-
- disabled: false
-
- parameters:
- - '{project}-defaults'
- - project-parameter:
- project: '{project}'
- branch: 'stable/danube'
- - apex-parameter:
- gs-pathname: '/danube'
- - string:
- name: DEPLOY_SCENARIO
- default: 'os-nosdn-nofeature-ha'
- description: "Scenario to deploy with."
-
- properties:
- - logrotate-default
- - build-blocker:
- use-build-blocker: true
- blocking-level: 'NODE'
- blocking-jobs:
- - 'apex-verify.*'
- - 'apex-runner.*'
- - 'apex-.*-promote.*'
- - 'apex-run.*'
-
- triggers:
- - timed: '' # '0 1 * * *'
-
- builders:
- - description-setter:
- description: "Testing on $NODE_NAME - Scenario: $DEPLOY_SCENARIO"
- - multijob:
- name: 'Baremetal Deploy'
- condition: SUCCESSFUL
- projects:
- - name: 'apex-deploy-baremetal-danube'
- node-parameters: true
- current-parameters: true
- predefined-parameters: |
- OPNFV_CLEAN=yes
- GERRIT_BRANCH=$GERRIT_BRANCH
- GERRIT_REFSPEC=
- DEPLOY_SCENARIO=$DEPLOY_SCENARIO
- kill-phase-on: FAILURE
- abort-all-job: true
- git-revision: false
- - multijob:
- name: Dovetail
- condition: ALWAYS
- projects:
- - name: 'dovetail-apex-baremetal-proposed_tests-danube'
- node-parameters: true
- current-parameters: false
- predefined-parameters:
- DEPLOY_SCENARIO=$DEPLOY_SCENARIO
- kill-phase-on: NEVER
- abort-all-job: false
- git-revision: false
########################
# parameter macros
# only run on os-(nosdn|odl_l3)-nofeature-ha scenario
# run with testsuite default, testarea mandatory, dovetail docker image with latest tag
# run with testsuite default, testarea optional, dovetail docker image with latest tag
+ # run with testsuite proposed_tests, testarea optional, dovetail docker image with latest tag
- conditional-step:
condition-kind: and
condition-operands:
build-step-failure-threshold: 'never'
failure-threshold: 'never'
unstable-threshold: 'FAILURE'
- - conditional-step:
- condition-kind: and
- condition-operands:
- - condition-kind: regex-match
- regex: os-(nosdn|odl_l3)-nofeature-ha
- label: '{scenario}'
- steps:
- - trigger-builds:
- project: 'dovetail-compass-{pod}-default-optional-{stream}'
current-parameters: false
predefined-parameters: |
build-step-failure-threshold: 'never'
failure-threshold: 'never'
unstable-threshold: 'FAILURE'
+ - project: 'dovetail-compass-{pod}-proposed_tests-optional-{stream}'
+ current-parameters: false
+ predefined-parameters: |
+ DOCKER_TAG=latest
+ DEPLOY_SCENARIO={scenario}
+ block: true
+ same-node: true
+ block-thresholds:
+ build-step-failure-threshold: 'never'
+ failure-threshold: 'never'
+ unstable-threshold: 'FAILURE'
- conditional-step:
condition-kind: and
condition-operands:
# 2.testsuite default here is for the test cases already added into OVP
# 3.run default testsuite mandatory test cases against ha scenario
# 4.run default testsuite optional test cases against ha scenario twice one week
- # 5.not used for release criteria or compliance, only to debug the dovetail tool bugs
+ # 5.run proposed_tests testsuite optional test cases against ha scenario
+ # 6.not used for release criteria or compliance, only to debug the dovetail tool bugs
- conditional-step:
condition-kind: and
condition-operands:
build-step-failure-threshold: 'never'
failure-threshold: 'never'
unstable-threshold: 'FAILURE'
+ - project: 'dovetail-fuel-{pod}-proposed_tests-optional-{stream}'
+ current-parameters: false
+ predefined-parameters: |
+ DEPLOY_SCENARIO={scenario}
+ INSTALLER_VERSION={stream}
+ block: true
+ same-node: true
+ block-thresholds:
+ build-step-failure-threshold: 'never'
+ failure-threshold: 'never'
+ unstable-threshold: 'FAILURE'
- conditional-step:
condition-kind: and
condition-operands:
- master:
branch: '{stream}'
disabled: false
+ - iruya:
+ branch: 'stable/{stream}'
+ disabled: false
- hunter:
branch: 'stable/{stream}'
disabled: false
exclude:
- stream: 'master'
image: 'components'
+ - stream: 'iruya'
+ image: 'components'
- stream: 'hunter'
image: 'components'
admin_conf_file_vol="-v ${HOME}/admin.conf:/root/.kube/config"
KUBE_MASTER_URL=$(awk '/server:/ {print $2}' ${HOME}/admin.conf | grep -Fv localhost)
KUBE_MASTER_IP=$(echo $KUBE_MASTER_URL | grep -Po '(\d+\.){3}\d+')
- for k in KUBERNETES_PROVIDER KUBE_MASTER_URL KUBE_MASTER_IP; do
+ for k in KUBE_MASTER_URL KUBE_MASTER_IP; do
echo "export $k=${!k}" >> $rc_file
done
else
- master:
branch: '{stream}'
disabled: false
+ - iruya:
+ branch: 'stable/{stream}'
+ disabled: false
- hunter:
branch: 'stable/{stream}'
disabled: false
branch: '{stream}'
gs-pathname: ''
disabled: false
+ - iruya: &iruya
+ branch: 'stable/{stream}'
+ gs-pathname: '/{stream}'
+ disabled: false
- hunter: &hunter
branch: 'stable/{stream}'
gs-pathname: '/{stream}'
repo: 'opnfv'
port:
tag:
- - latest:
- branch: master
+ - iruya:
+ branch: stable/iruya
- hunter:
branch: stable/hunter
branch: '{stream}'
gs-pathname: ''
disabled: false
+ - iruya:
+ branch: 'stable/{stream}'
+ gs-pathname: ''
+ disabled: false
- hunter:
branch: 'stable/{stream}'
gs-pathname: ''
tag:
- latest:
branch: master
+ - iruya:
+ branch: stable/iruya
- hunter:
branch: stable/hunter
<<: *functest-jobs
- multijob:
name: opnfv/functest-vnf:{tag}
+ execution-type: SEQUENTIALLY
projects:
- name: 'functest-opnfv-functest-vnf-{tag}-cloudify-run'
<<: *functest-jobs
<<: *functest-jobs
- multijob:
name: opnfv/functest-vnf:{tag}
+ execution-type: SEQUENTIALLY
projects:
- name: 'functest-opnfv-functest-vnf-{tag}-cloudify-run'
<<: *functest-jobs
<<: *functest-jobs
- multijob:
name: opnfv/functest-vnf:{tag}
+ execution-type: SEQUENTIALLY
projects:
- name: 'functest-opnfv-functest-vnf-{tag}-cloudify-run'
<<: *functest-jobs
- master:
branch: '{stream}'
disabled: false
+ - iruya:
+ branch: 'stable/{stream}'
+ disabled: false
- hunter:
branch: 'stable/{stream}'
disabled: false
branch: '{stream}'
gs-pathname: ''
disabled: false
+ - iruya: &iruya
+ branch: 'stable/{stream}'
+ gs-pathname: '/{stream}'
+ disabled: false
- hunter: &hunter
branch: 'stable/{stream}'
gs-pathname: '/{stream}'
tag:
- latest:
branch: master
+ - iruya:
+ branch: stable/iruya
- hunter:
branch: stable/hunter
dockerdir: "docker"
docker_repo_name: "opnfv/{project}_aarch64"
arch_tag: ""
+ extra_build_args: ""
# yamllint disable rule:key-duplicates
dockerrepo:
name: ARCH_TAG
default: "{arch_tag}"
description: "If set, this value will be added to the docker image tag"
+ - string:
+ name: EXTRA_BUILD_ARGS
+ default: "{extra_build_args}"
+ description: "Whitespace separated key=value pairs. If set, these args will be used to build docker image"
properties:
- throttle:
ARCH_BUILD_ARG="--build-arg ARCH=${ARCH_TAG}"
fi
+EXTRA_BUILD_ARGS=${EXTRA_BUILD_ARGS:-}
+if [ -n "${EXTRA_BUILD_ARGS}" ]; then
+ EXTRA_BUILD_ARGS=" "$(echo ${EXTRA_BUILD_ARGS})
+ EXTRA_BUILD_ARGS=${EXTRA_BUILD_ARGS// / --build-arg }
+fi
+
# Start the build
echo "Building docker image: $DOCKER_REPO_NAME:$DOCKER_TAG"
echo "--------------------------------------------------------"
echo
cmd="docker build --pull=true --no-cache -t $DOCKER_REPO_NAME:$DOCKER_TAG --build-arg BRANCH=$BUILD_BRANCH
- $ARCH_BUILD_ARG
+ $ARCH_BUILD_ARG $EXTRA_BUILD_ARGS
-f $DOCKERFILE $DOCKER_PATH"
echo ${cmd}
dockerfile: "Dockerfile"
dockerdir: "docker"
arch_tag: ""
+ extra_build_args: ""
# This is the dockerhub repo the image will be pushed to as
# 'opnfv/{dockerrepo}. See: DOCKER_REPO_NAME parameter.
dockerfile: 'Dockerfile.web'
<<: *master
<<: *other-receivers
+ - 'dovetail-webportal-web-onap':
+ project: 'dovetail-webportal'
+ dockerfile: 'Dockerfile.web'
+ extra_build_args: 'CONTAINER=onap GUI=onap-ui'
+ <<: *master
+ <<: *other-receivers
- 'nfvbench':
project: 'nfvbench'
<<: *master
dockerfile: "Dockerfile"
dockerdir: "docker"
arch_tag: ""
+ extra_build_args: ""
project:
# projects with jobs for master
name: ARCH_TAG
default: "{arch_tag}"
description: "If set, this value will be added to the docker image tag as a prefix"
+ - string:
+ name: EXTRA_BUILD_ARGS
+ default: "{extra_build_args}"
+ description: "Whitespace separated key=value pairs. If set, these args will be used to build docker image"
properties:
- throttle:
- fraser
- gambia
- hunter
+ - iruya
jobs:
- 'releng-release-{stream}-verify'
--- /dev/null
+---
+project: clover
+project-type: feature
+release-model: stable
+
+branches:
+ - name: stable/hunter
+ location:
+ clover: 3f86a3d611f4d2a4f21d9be2a2284ccf120db36e
--- /dev/null
+# SPDX-License-Identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2019 Nokia Corporation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+---
+project: doctor
+project-type: feature
+release-model: stable
+
+branches:
+ - name: stable/hunter
+ location:
+ doctor: 73605c5c34b97ab56306bfa9af0f5888f3c7e46d
--- /dev/null
+---
+project: fds
+project-type: feature
+release-model: stable
+
+branches:
+ - name: stable/hunter
+ location:
+ fds: 20cef81fd594f10949e151fd5a0a439af0a844e4
--- /dev/null
+# SPDX-License-Identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2018 The Linux Foundation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+---
+project: ipv6
+project-type: feature
+release-model: stable
+
+branches:
+ - name: stable/hunter
+ location:
+ ipv6: 3084e2b829dc88a129ee9cdb65afa81986a6bfed
+
+release-notes: https://opnfv-ipv6.readthedocs.io/en/stable-hunter/release/release-notes/
--- /dev/null
+---
+project: vswitchperf
+project-type: testing
+release-model: stable
+
+branches:
+ - name: stable/hunter
+ location:
+ vswitchperf: 589639d313c24104b2a27ef16baf716d1d274108
--- /dev/null
+---
+project: yardstick
+project-type: testing
+release-model: stable
+
+branches:
+ - name: stable/hunter
+ location:
+ yardstick: 85899baa90714ae15add21a330316793071168ae
--- /dev/null
+---
+project: functest
+project-type: testing
+release-model: stable
+
+branches:
+ - name: stable/iruya
+ location:
+ functest: daf01598d6030a29ccddc3023ee94fe9b0e3b320
+ - name: stable/iruya
+ location:
+ functest-kubernetes: fd130c880d4d185153efe3e3e0aa24c95052c320
+ - name: stable/iruya
+ location:
+ functest-xtesting: 838fc2ffe26f06cb11455145b7e73c452e85c15d
info "Do nothing, config file has been provided in $HOME/joid_config/config for joid"
elif [ "$installer_type" == "fuel" ]; then
info "Getting kubernetes config ..."
- docker cp fuel:/opt/kubernetes.config $dest_path
+ docker cp -L fuel:/opt/kubernetes.config $dest_path
else
error "Installer $installer_type is not supported by this script"
fi