8 - 'nfvbench-build-{stream}'
9 - 'nfvbench-verify-{stream}'
19 name: nfvbench-parameter
23 default: 'opnfv-build'
26 name: 'nfvbench-build-{stream}'
28 disabled: '{obj:disabled}'
34 # yamllint disable rule:line-length
37 default: https://gerrit.opnfv.org/gerrit/$PROJECT
38 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
39 # yamllint enable rule:line-length
47 server-name: 'gerrit.opnfv.org'
50 - comment-added-contains-event:
51 comment-contains-value: 'remerge'
53 - project-compare-type: 'ANT'
54 project-pattern: '{project}'
56 - branch-compare-type: 'ANT'
57 branch-pattern: '**/{branch}'
61 cd $WORKSPACE/nfvbenchvm/dib
65 name: 'nfvbench-verify-{stream}'
67 disabled: '{obj:disabled}'
73 # yamllint disable rule:line-length
76 default: https://gerrit.opnfv.org/gerrit/$PROJECT
77 description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
78 # yamllint enable rule:line-length
86 server-name: 'gerrit.opnfv.org'
88 - patchset-created-event:
89 exclude-drafts: 'false'
90 exclude-trivial-rebase: 'false'
91 exclude-no-code-change: 'false'
92 - comment-added-contains-event:
93 comment-contains-value: 'recheck'
94 - comment-added-contains-event:
95 comment-contains-value: 'reverify'
97 - project-compare-type: 'ANT'
98 project-pattern: '{project}'
100 - branch-compare-type: 'ANT'
101 branch-pattern: '**/{branch}'
105 sudo apt-get -o DPkg::Lock::Timeout=300 update && \
106 sudo DEBIAN_FRONTEND=noninteractive apt-get \
107 -o DPkg::Lock::Timeout=300 dist-upgrade -y
108 sudo DEBIAN_FRONTEND=noninteractive \
109 apt-get -o DPkg::Lock::Timeout=300 install software-properties-common gpg -y
110 sudo add-apt-repository -y ppa:deadsnakes/ppa
111 sudo apt-get -o DPkg::Lock::Timeout=300 update && \
112 sudo DEBIAN_FRONTEND=noninteractive apt-get \
113 -o DPkg::Lock::Timeout=300 install \
114 libxml2-dev libxslt-dev libffi-dev libjpeg-dev \
115 python3.8 python3.8-dev python3.8-distutils \
117 sudo pip install tox-pip-version
119 curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
120 echo "deb https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee \
121 /etc/apt/sources.list.d/google-cloud-sdk.list
122 sudo apt-get -o DPkg::Lock::Timeout=300 update && \
123 sudo DEBIAN_FRONTEND=noninteractive apt-get \
124 -o DPkg::Lock::Timeout=300 install \
125 google-cloud-sdk python3-venv -y
126 cd $WORKSPACE/nfvbenchvm/dib
127 bash verify-image.sh -v