summaryrefslogtreecommitdiffstats
path: root/jjb/apex
AgeCommit message (Collapse)AuthorFilesLines
2017-09-28Apex: fixes naming for fdio dvr scenariosTim Rozet2-12/+12
Change-Id: I1d01d9d4a72946b4998437972ae12083675e7e79 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-27Apex: disable daily job for masterTim Rozet2-2/+8
Even with a timed trigger that shouldn't execute more than once a year, the apex-daily-master job is still triggering every day or so. Using an explicit disable to disable the job. Change-Id: I3b014c0d0899dba617fcb7cfee17ca758b291f9f Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-23Apex: Fixes iso verify depending on previous build workspaceTim Rozet4-3/+26
There is a bug where if there are multiple builds queued and daily build completes, the following iso verify job will try to use the workspace of the completed daily build to get the iso file. However, if another build job has already started it may clean and overwrite the workspace of the daily build job, and the iso verify job will fail because the file is now gone. This makes the build job copy the iso to a tmp directory for apex iso verify to consume. This should be safe since only one daily can run at a time on the host and daily jobs build and iso verify have to always execute on the same node. Change-Id: Ie8e32c4abefbc311e505688d6da2b26ae08ed98f Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-21[Functest] Support functest-suite with Alpine containersJose Lausuch2-2/+4
Updated all the jobs that use functest-suite. For single test cases, we need to know to which docker image the test belongs to. Change-Id: If7db231ccc891233423f2f2bc3aa5b95d048b30a Signed-off-by: Jose Lausuch <jalausuch@suse.com>
2017-09-20Reset the trigger time of Apex danube job on huawei-pod4xudan2-2/+2
The old time is "0 12 * * *", need to set it to "0 1 * * *". Change-Id: Id568dcb638202612ef8d7a9464d71952a95bffe8 Signed-off-by: xudan <xudan16@huawei.com>
2017-09-19Apex: Renables async builds and fixes blocking bugTim Rozet2-48/+170
Previously we had apex-verify-master running multiple instances on virtual-slaves. Apex-verify-master would kick off a build on our build server, and then apex-verify-master would execute deploy multijob and then functest multijob. However we found a bug where jenkins build blocker would see that a deploy finished on the virtual slave, and then execute functest multijob as well as deploy multijob (for the next verify job) at the same time. This patch adds a parent job apex-virtual-{stream} which calls deploy and functest multijob and will block correctly. It also renables having more than 1 apex-verify job running at a time on the virtual slaves. Change-Id: Id15b2415407fc3318f333e3dfc59076d04db4ffb Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-19Apex: fixes gspathname for euphratesTim Rozet2-2/+2
Change-Id: Ia4523a185708a9d29243b522894b38fd1f047682 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-19Merge "Apex: add back legacy support for danube rpm"Tim Rozet1-1/+7
2017-09-18Apex: migrate nodes for project jobs to master labelTim Rozet1-2/+2
We dont have other pods so no reason to make extra labels Change-Id: Ib701ae25d6cd08035930773219f691c7dc1b156e Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-18Apex: add euphrates stream to project jobsTim Rozet1-1/+5
Change-Id: I2f6dbe545c1c1adaa0a7020440f17f6f0cf37973 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-18Merge "Apex: Enables euphrates branch for daily CI"Tim Rozet3-2/+287
2017-09-18Apex: add back legacy support for danube rpmPeng Liu1-1/+7
Change-Id: I2f4a8c57bf056fcc266a0757b291309671ecc151 Signed-off-by: Peng Liu <pliu@redhat.com>
2017-09-18Apex: stop removing apex tmp directoriesTim Rozet1-2/+0
The tmp directory no longer holds large files, and removing this while other jobs are running can cause build failures. Change-Id: I504d06e2e114dd1be4fe3790fcefaf97c724552c Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-18Apex: Enables euphrates branch for daily CITim Rozet3-2/+287
Disables master daily. Just uses master labels for Euphrates jobs as well. Change-Id: I65b0eed528518c07d3ef4194a021004deabe2ed0 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-18Merge "Merge Apex Daily Jobs"Tim Rozet2-529/+476
2017-09-14Apex: Converts clean to use pythonTim Rozet2-2/+2
Change-Id: I2b7ee35500da4523a6cb872f89225fad6dd8af7f Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-14Merge Apex Daily JobsTrevor Bramwell2-529/+476
Merged 'apex-daily-master' and 'apex-daily-danube' into 'apex-daily-{stream}' Change-Id: I2b1e9e3dd0869b6a1f2b1b6415b364a2d9f151d2 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-09-13Bugfix: Add job-template to jobsxudan2-0/+2
The last patch to add apex danube jobs on huawei-pod4 forget to add the job-template to the jobs list. Change-Id: I671faa2068bab517adc59ad8597e9c05330d528f Signed-off-by: xudan <xudan16@huawei.com>
2017-09-14Merge "Apex, Dovetail: run proposed_test against Apex on huawei_pod4"Jun Li2-0/+134
2017-09-13Apex, Dovetail: run proposed_test against Apex on huawei_pod4Peng Liu2-0/+134
Run Dovetail proposed_test job against Apex Danube daily on huawei_pod4. Change-Id: I14f4f86caa2b1fb2802b5ea154edec47784209cc Signed-off-by: Peng Liu <pliu@redhat.com>
2017-09-12Apex: remove relative paths for tmp build dirsTim Rozet1-4/+3
Change-Id: I3246aa7d7b26b2d79ba9bd23aba4f305eb47fd94 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-11Apex: Fix pythonpath for buildTim Rozet1-1/+1
Change-Id: I503250b2152686cb1c9168aeaa6a11f614b0e954 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-11Apex: Adds workspace to pythonpath for buildTim Rozet1-0/+1
Since we do not install the package for build process we need to ensure the PYTHONPATH is set to WORKSPACE so that build.py can find the libs it needs in Apex. Change-Id: I4e7f28ce5220206c7f4a8244199b00f762d72648 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-11Apex: remove any leftover tmp .build dirTim Rozet1-0/+1
Change-Id: Icac677ac9e17b4b4ae4e7fc82139587cc201bcb6 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-08installers: Use global macro 'clean-workspace'Alexandru Avadanii3-23/+2
Change-Id: I34a555697d963efc38064a7b53f25191d6bf1382 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-08Apex: Explicitly define file pathsTim Rozet2-2/+106
Due to bug with forbidden file paths conflicting with file paths this explicitly defines all the file paths in apex. This isn't the greatest solution in the case where someone adds a new folder, but chances are they will also modify one of the other files as well. Note it also fixes a bug where unit tests woudl run twice because it would be triggered as part of apex-verify-master and apex-unit-tests-master. Change-Id: I6b10f8eb70c2cd7c8dd5c01363e06b7458c00127 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-07Apex: adds daily flex jobTim Rozet2-10/+26
Change-Id: I19fff409b5e8335ff44f0d9ba8167d3e882a9ad5 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-07Apex: Add daily flex jobTim Rozet2-0/+144
Change-Id: Ide3c39d508d26be40e73cec13cd00eace984b6cc Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-07Add file-paths **agardner2-2/+10
this should make forbidden-file-paths work Change-Id: I18d63bffb92abd916eae54c7aafe9a8e1e98926f Signed-off-by: agardner <agardner@linuxfoundation.org>
2017-09-07Apex: temporarily disable strict forbidden file pathTim Rozet2-2/+2
Change-Id: I360cd5ba894022cd30cf7237e8338ab2e213c940 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-06Apex: remove file-paths from triggers for verifyTim Rozet2-22/+4
Change-Id: I0c6e54ce4caf0b6889bac62b25afcee2706ca75f Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-06Apex: fixes verify with only unit test changesTim Rozet2-2/+8
If we make changes to apex/tests path it is only unit tests and we do not want to trigger apex-verify-stream. Change-Id: I42ef56330883ea6e9643f24567eaee3d5fa36071 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-05Apex: fixes image dir for deploy with dev buildsTim Rozet1-1/+1
Change-Id: I59523b6233ca48c2eb2d4b4934263f0114d8e7a8 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-05Merge "Move apex build jobs into 'apex-project-jobs' file"Tim Rozet3-214/+127
2017-09-05Merge "Apex: Removes calling apex ci scripts for build/test/deploy"Tim Rozet3-27/+33
2017-09-02Apex: re-enable storperf on os-nosdn-nofeature-haTim Rozet2-24/+26
Change-Id: Ia48b95589e6365102fef54444a8e334a80301dd2 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-01Move apex build jobs into 'apex-project-jobs' fileTrevor Bramwell3-214/+127
Since these jobs don't deal with scenarios they can safely be moved to another file without the need to duplicate the scenario listings. Fixes a bug with 'concurrent-builds' not being set due to missing quotation marks. JIRA: RELENG-287 Change-Id: Icce39620521c7d25476553115efbaa9063ca2e17 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-09-01Apex: Removes calling apex ci scripts for build/test/deployTim Rozet3-27/+33
We dont need to use the apex/ci directory anymore and the ci scripts should be in releng. A follow up patch will remove the ci/clean script usage. Change-Id: Ib2c7bd3d2dfee360bb13b42852ff2010a691a018 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-01Apex: fix find command for rpmsTim Rozet1-1/+1
Change-Id: I75bd15be3e68fa630a59cd30a0da72b8f17b8b84 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-01Apex: Removes cleaning from unit testsTim Rozet1-1/+0
There should be no reason to clean as the unit tests should be local to the code. This was deleting some of our undercloud vms in daily deployment causing deployment to fail. Change-Id: I22abc57ea1a3f10cb91451e7005aa23d9715acc5 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-01Apex: fixes always downloading RPMs in daily deployTim Rozet1-4/+14
Change-Id: I30bc270c1ae9c648ec184e446a712bd304ad1230 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-30Apex: fixes trigger for gate jobTim Rozet2-0/+4
Change-Id: I0bd9f2bac11b4161da4b6cdfa0a0c6d444020944 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-30Apex: Detect deploy scenario for functest on gate jobTim Rozet2-2/+10
Change-Id: I3f0119db7b7cade3ddd2dbeaa97e03e1fea58798 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-28Apex: increase deploy timeout by 20 minTim Rozet2-2/+2
Change-Id: I3e5a08996e896bcf7b88c97b503de414f7f3ee71 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-28Apex: remove leftover tmp dirsTim Rozet1-0/+2
Change-Id: I4a1da6ba1efe2b704f0109f63817021435d283b8 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-28Apex: limits verify per node to 1Tim Rozet2-4/+24
This will limit how many simultaneous builds we can do at a time on build server, but will stop the bug we are hitting where deploy (next job) and functest (current job) start at the same time by blocking parent jobs. Change-Id: If23ce857d7ef043c408b0eb6a74357ce1278e4b9 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-28Apex: disable storperf in dailyTim Rozet2-24/+24
storperf has infinite loop: https://build.opnfv.org/ci/job/storperf-apex-baremetal-daily-master/10/consoleFull Change-Id: I526cddbda15c6262b4afd7c30b6d2681011f48a5 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-27Apex: fix verify trigger pathsTim Rozet2-2/+6
Change-Id: I3878f3e1a85b31ddba8d3f53e774a9e1d16f8afb Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-27Apex: fix permissions on deployTim Rozet1-1/+1
Change-Id: I36066bf003b1504524a5b8143cceef7829b23ca8 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-27Apex: fix daily deploys using rpmTim Rozet1-1/+3
Change-Id: Iba1b2f47e8ace4fb4a9eed80342fcb8950e848f8 Signed-off-by: Tim Rozet <trozet@redhat.com>