summaryrefslogtreecommitdiffstats
path: root/jjb/vineperf
diff options
context:
space:
mode:
authorSridhar K. N. Rao <sridhar.rao@spirent.com>2021-11-13 17:46:46 +0530
committerSridhar K. N. Rao <sridhar.rao@spirent.com>2021-11-13 17:54:38 +0530
commit2b8501a2951afdd62838332205d589db0a5ff039 (patch)
treed242e5b486c566c4802265b5a8213ac249934160 /jjb/vineperf
parent844e9a86d6f4114f228c7b70ddf26c25e952dac5 (diff)
VINEPERF: Docker Containers and Name Change.
This patch add 1. Containers to be publised to docker-hub from Vineperf. 2. jenkins jobs - migration from vswitchperf to vineperf. Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: Id784fd6455a6655ffb83fb801807a4953ee2c447
Diffstat (limited to 'jjb/vineperf')
-rw-r--r--jjb/vineperf/vineperf-rtd-jobs.yaml29
-rw-r--r--jjb/vineperf/vineperf-views.yaml6
-rw-r--r--jjb/vineperf/vineperf.yaml207
3 files changed, 242 insertions, 0 deletions
diff --git a/jjb/vineperf/vineperf-rtd-jobs.yaml b/jjb/vineperf/vineperf-rtd-jobs.yaml
new file mode 100644
index 000000000..5f9c8527f
--- /dev/null
+++ b/jjb/vineperf/vineperf-rtd-jobs.yaml
@@ -0,0 +1,29 @@
+---
+- project:
+ name: vineperf-rtd
+ project: vineperf
+ project-name: vineperf
+
+ gerrit-skip-vote: true
+ project-pattern: 'vineperf'
+ rtd-build-url: 'https://readthedocs.org/api/v2/webhook/opnfv-vineperf/47398/'
+ rtd-token: '47bbe5675e6cc5a6207fcc9b4db8dac03c27d9de'
+
+ stream:
+ - master:
+ branch: '{stream}'
+ disabled: false
+ - jerma: &jerma
+ branch: 'stable/{stream}'
+ gs-pathname: '/{stream}'
+ disabled: false
+ - hunter:
+ branch: 'stable/{stream}'
+ gs-pathname: '/{stream}'
+ disabled: false
+ - gambia:
+ branch: 'stable/{stream}'
+ disabled: false
+
+ jobs:
+ - '{project-name}-rtd-jobs'
diff --git a/jjb/vineperf/vineperf-views.yaml b/jjb/vineperf/vineperf-views.yaml
new file mode 100644
index 000000000..1f5348f92
--- /dev/null
+++ b/jjb/vineperf/vineperf-views.yaml
@@ -0,0 +1,6 @@
+---
+- project:
+ name: vineperf-view
+ views:
+ - project-view
+ project-name: vineperf
diff --git a/jjb/vineperf/vineperf.yaml b/jjb/vineperf/vineperf.yaml
new file mode 100644
index 000000000..74ea0e769
--- /dev/null
+++ b/jjb/vineperf/vineperf.yaml
@@ -0,0 +1,207 @@
+---
+- project:
+
+ name: vineperf
+
+ project: '{name}'
+
+ jobs:
+ - 'vineperf-verify-{stream}'
+ - 'vineperf-merge-{stream}'
+ - 'vineperf-daily-{stream}'
+
+ stream:
+ - master:
+ branch: '{stream}'
+ gs-pathname: ''
+ disabled: false
+ - jerma: &jerma
+ branch: 'stable/{stream}'
+ gs-pathname: '/{stream}'
+ disabled: false
+ - hunter:
+ branch: 'stable/{stream}'
+ gs-pathname: '/{stream}'
+ disabled: false
+ - gambia:
+ branch: 'stable/{stream}'
+ gs-pathname: '/{stream}'
+ disabled: false
+ - fraser:
+ branch: 'stable/{stream}'
+ gs-pathname: '/{stream}'
+ disabled: false
+
+- job-template:
+
+ name: 'vineperf-daily-{stream}'
+
+ disabled: '{obj:disabled}'
+
+ properties:
+ - logrotate-default
+ - build-blocker:
+ use-build-blocker: true
+ blocking-jobs:
+ - 'vineperf-verify-.*'
+ - 'vineperf-merge-.*'
+ - 'vineperf-daily-.*'
+ blocking-level: 'NODE'
+
+ parameters:
+ - project-parameter:
+ project: '{project}'
+ branch: '{branch}'
+ - 'intel-pod12-defaults'
+
+ scm:
+ - git-scm
+
+ triggers:
+ - pollscm:
+ cron: '@midnight'
+
+ builders:
+ - shell: |
+ pwd
+ cd src
+ make clobber
+ make MORE_MAKE_FLAGS="-j 10"
+ cd ../ci
+ scl enable rh-python34 "source ~/vsperfenv/bin/activate ; ./build-vsperf.sh daily"
+
+- job-template:
+ name: 'vineperf-verify-{stream}'
+
+ disabled: '{obj:disabled}'
+
+ project-type: freestyle
+
+ concurrent: true
+
+ properties:
+ - logrotate-default
+ - build-blocker:
+ use-build-blocker: true
+ blocking-jobs:
+ - 'vineperf-verify-.*'
+ - 'vineperf-merge-.*'
+ - 'vineperf-daily-.*'
+ blocking-level: 'NODE'
+
+ parameters:
+ - project-parameter:
+ project: '{project}'
+ branch: '{branch}'
+ - string:
+ name: GIT_BASE
+ default: https://gerrit.opnfv.org/gerrit/$PROJECT
+ description: 'Git URL to use on this Jenkins Slave'
+ - node:
+ name: SLAVE_NAME
+ description: 'Slave name on Jenkins'
+ allowed-slaves:
+ - intel-pod12
+ default-slaves:
+ - intel-pod12
+
+ scm:
+ - git-scm-gerrit
+
+ triggers:
+ - gerrit:
+ server-name: 'gerrit.opnfv.org'
+ trigger-on:
+ - patchset-created-event:
+ exclude-drafts: 'false'
+ exclude-trivial-rebase: 'false'
+ exclude-no-code-change: 'false'
+ - draft-published-event
+ - comment-added-contains-event:
+ comment-contains-value: 'recheck'
+ - comment-added-contains-event:
+ comment-contains-value: 'reverify'
+ projects:
+ - project-compare-type: 'ANT'
+ project-pattern: '{project}'
+ branches:
+ - branch-compare-type: 'ANT'
+ branch-pattern: '**/{branch}'
+ disable-strict-forbidden-file-verification: 'true'
+ forbidden-file-paths:
+ - compare-type: ANT
+ pattern: 'docs/**'
+
+ builders:
+ - shell: |
+ pwd
+ cd src
+ make clobber
+ make MORE_MAKE_FLAGS="-j 5"
+ cd ../ci
+ ./build-vsperf.sh verify
+
+- job-template:
+ name: 'vineperf-merge-{stream}'
+
+ disabled: '{obj:disabled}'
+
+ project-type: freestyle
+
+ concurrent: true
+
+ properties:
+ - logrotate-default
+ - build-blocker:
+ use-build-blocker: true
+ blocking-jobs:
+ - 'vineperf-verify-.*'
+ - 'vineperf-merge-.*'
+ - 'vineperf-daily-.*'
+ blocking-level: 'NODE'
+
+ parameters:
+ - project-parameter:
+ project: '{project}'
+ branch: '{branch}'
+ - string:
+ name: GIT_BASE
+ default: https://gerrit.opnfv.org/gerrit/$PROJECT
+ description: 'Git URL to use on this Jenkins Slave'
+ - node:
+ name: SLAVE_NAME
+ description: 'Slave name on Jenkins'
+ allowed-slaves:
+ - intel-pod12
+ default-slaves:
+ - intel-pod12
+
+ scm:
+ - git-scm
+
+ triggers:
+ - gerrit:
+ server-name: 'gerrit.opnfv.org'
+ trigger-on:
+ - change-merged-event
+ - comment-added-contains-event:
+ comment-contains-value: 'remerge'
+ projects:
+ - project-compare-type: 'ANT'
+ project-pattern: '{project}'
+ branches:
+ - branch-compare-type: 'ANT'
+ branch-pattern: '**/{branch}'
+ disable-strict-forbidden-file-verification: 'true'
+ forbidden-file-paths:
+ - compare-type: ANT
+ pattern: 'docs/**'
+
+ builders:
+ - shell: |
+ pwd
+ cd src
+ make clobber
+ make MORE_MAKE_FLAGS="-j 5"
+ cd ../ci
+ ./build-vsperf.sh merge