summaryrefslogtreecommitdiffstats
path: root/jjb/3rd_party_ci
AgeCommit message (Collapse)AuthorFilesLines
2016-12-14Add functest to pipeline and add odl-netvirt-virtual-defaultsNikolas Hermanns1-15/+9
For the functest change we use the new cli which provides us with comma seperation of the test cases. Change-Id: Id6c88bd3e13ecce7bf5a738ead8ad98df4e00b5a Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-12-133rd party ci: Fix bug introduced by wiping out the WORKSPACE itselfFatih Degirmenci4-4/+4
Change-Id: I61de7763412d791bcce20174d6058acf818d0e13 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-133rd party ci: Wipe the workspace before doing anything elseFatih Degirmenci4-3/+17
Due to not cloning the repos, the workspace is not wiped out. This change makes sure we remove everything in workspace to prevent jenkins from complaining. Change-Id: Ife3c4c752cf37c6ff3bfcdea6ffaebc72c440373 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-13Skip cloning netvirt repo and fail the job if artifact doesn't existFatih Degirmenci2-13/+7
We do not need to clone netvirt repo as we are only interested in the artifact. Netvirt artifacts are removed from ODL Jenkins due to ODL Jenkins artifact retention policy. This change ensures that we do not proceed with the rest of the jobs if the artifact does not exist. Change-Id: I9d8af28f5829fc9688c76f116d0bad737a9ecab6 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-133rd party ci: Pass APEX_ENV_NUMBER to apex-create-vms jobFatih Degirmenci1-1/+2
Change-Id: I073a27045db93fcf3c9906abe1c18ad3d26743b2 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-13Add scripts to install apex and install netvirtNikolas Hermanns2-12/+12
Change-Id: I022acf23984a8d1a19a5e6e180178ee1d2e18480 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-12-133rd party ci: Create job to bring up apex vmsFatih Degirmenci3-24/+51
This is a temporary fix in order to continue with the netvirt parts. Once Apex team finishes their work with APEX-360, this job will be aligned with it. The job to bring up apex vms will be run on ericsson-virtual5. The rest of the jobs will run on ericsson-virtual6, which is virtual jumphost for the apex environment. Apart from this, the job can now be (re)triggered by putting keyword opnfv-test on ODL Gerrit. There are still flaws and things to improve with the jobs such as finding out if the downloaded artifact is real or just a file not found response from ODL Jenkins and so on but these will be fixed later. Change-Id: Ie38e513df08c6c76eacee53a112c09171b1f6c7d Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-123rd party ci: Override GIT_BASE to use ODL Gerrit for 3rd party ci jobsFatih Degirmenci3-7/+16
Change-Id: Ia105d32133c5b2df3bea363ff8cb94b2984fb172 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-12-123rd party ci: Create jobs for ODL netvirt testing in OPNFVFatih Degirmenci5-0/+230
This change creates basic job structure for ODL netvirt testing in OPNFV. The job should be triggered once the below job is completed https://jenkins.opendaylight.org/releng/job/netvirt-patch-test-current-carbon and fetch the artifact that is already built by the job. The build result codes OPNFV is interested in are SUCCESSFUL and UNSTABLE. Once the job gets triggered, the build URL will be fetched from ODL Gerrit using Gerrit REST API and the artifact will be downloaded from ODL Jenkins. The downloaded artifacts will then be installed on the Apex environment. There are 3 points that need to be highlighted. - The Apex environment will be created using the promoted snaphots/qcow2 images and already deployed VMs will be brought up. See below for the details. https://jira.opnfv.org/browse/APEX-360 - The hardcoded values in download-netvirt-artifact.sh are there to get the basics in place. (branch name, job name, etc.) Once things work as expected, they will be made dynamic. - A workaround using Gerrit REST API is put in place to get build number of the job netvirt-patch-test-current-carbon to download the artifact. The reason why we use Gerrit REST API is that the OPNFV Jenkins has an older version of Gerrit Trigger Plugin which lacks feature that injects review comments as environment variables. Upgrading Gerrit Trigger Plugin will not help either since OpenStack JJB does not support the new version of Gerrit Trigger Plugin and does not generate the new job XML. JIRA: RELENG-171 Change-Id: I7ff8c5809dcb2e8ffa5c7c5aeb9cdf70e4e7e2f4 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>