summaryrefslogtreecommitdiffstats
path: root/jjb/xci/xci-verify-jobs.yml
AgeCommit message (Collapse)AuthorFilesLines
2017-09-26jjb: xci: Create XCI test scriptMarkos Chandras1-3/+25
We need to respect the environment during testing so we need to create a proper test script which exports all the variables that matter for our tests. We do that before we create the VM so the VM creation script can rsync the test for us. We also properly escape the DISTRO variable when destroying the VM. Change-Id: Ic3fff40868155af31762e458c1faee24354c0712 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-09-25jjb: xci: xci-verify-jobs: Fix XCI VM namesMarkos Chandras1-2/+2
The XCI script now uses more accurate VM names, so replace the VM name in the destroy job as well. Change-Id: Ia4c8ea204ecaa6ae765ce67aff3923dabab6d5f0 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-09-25jjb: xci: xci-verify-jobs: Use clean vm to verify XCI jobsMarkos Chandras1-16/+33
Per Idec0fc06c82435adc1a4d569b8e578616998de5f it's now possible to use a clean virtual machine to verify XCI so lets make use of it. Moreover this patch updates the distro parameter to use more accurate names and bring it inline with what dib expects. Change-Id: I18c88637819884fef07d0bfa0dc2c1077a26c2f1 Signed-off-by: Markos Chandras <mchandras@suse.de> Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-09-21[Functest] Support functest-suite with Alpine containersJose Lausuch1-1/+5
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-18jjb: xci: Trigger when changing bifrost filesMarkos Chandras1-2/+2
bifrost is part of XCI so we should run the Jenkins jobs when only submitting bifrost related changes. Change-Id: I215b4ca241fd4ffba90c0201dbe8f4c23b8ec280 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-09-18xci: Add parameter to clean the DIB imagesFatih Degirmenci1-0/+8
Change-Id: I399fa81c61ae3149c0dada688307627ecc1979f6 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-09-12xci: Make it possible to skip deployment and healthcheckFatih Degirmenci1-0/+12
This change adds possibility for patch submitters to skip the full xci-verify if the change doesn't impact the deployment. Since the patch will be reviewed by others, reviewers can always ask the submitter to run it through full xci-verify by changing the topic and posting reverify or recheck as comment to gerrit change. The keyword to put in topic branch is skip-verify. Change-Id: Ib7be71cadd1e1ddff181936ae77753fbfbf3a1d3 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-09-12xci: Drop parameter ANSIBLE_VERBOSITY from jobsFatih Degirmenci1-3/+0
Instead of setting the verbosity in jobs, they can be set in scripts to move the setting to where it makes most sense and possibly easing the work for ansible version adaptations by fixing it in one place. Change-Id: Ie155b666cf5300a3f57687b3214a65d5d79aeee1 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-09-11Fix xci job triggering for docs buildagardner1-1/+6
This patch should unblock: https://gerrit.opnfv.org/gerrit/#/c/40533/ Change-Id: I72e827b0feae559e6477d213d0f752ed04cd62b3 Signed-off-by: agardner <agardner@linuxfoundation.org>
2017-09-11Disable functest for xci until xci is readyFatih Degirmenci1-4/+17
The external network, docker installation and other parts need to be fixed in OPNFV host before functest can be enabled. Change-Id: I42a3adf2e36f91e6425d49e2578003b52ca4f101 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-09-08Merge "Add functest-healthcheck alpine to xci-verify-healthcheck-macro"Morgan Richomme1-4/+4
2017-09-06Ignore All Changes to non-XCI DirectoriesTrevor Bramwell1-4/+5
We only care to trigger builds based on changes under xci/, not including xci/README.rst Change-Id: I347e0d7ef658c41322b7c3e25740fa4d2f960bdc Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-09-06Update XCI Forbidden Paths to include all READMEsTrevor Bramwell1-1/+1
There is no 'README.rst' at the root of the repo, but there are README.rst under xci, bifrost, etc. Changes to these READMEs shouldn't trigger builds. Change-Id: I6a09388cf40b35211d58413b45b5ac8c596a2dc7 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-09-05Add functest-healthcheck alpine to xci-verify-healthcheck-macroMorgan Richomme1-4/+4
- add the rc file retrieval in fetch_os.sh - adapt alpine to split healtcheck from daily (healthcheck + smoke + features) - adapt the xci builder Change-Id: I38836814240a1d769d379a10c9ef14def7e6df97 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-09-05xci: Stop triggering the verify job if there is no code changeFatih Degirmenci1-5/+1
The job doesn't need to be triggered if there is no code change, eg commit message updates. The remnants of previous directory structure is also removed from gerrit trigger/forbidden-file-paths. Change-Id: I68b9e70d0d70253d7fbad95f8dedaaa63fb2b26e Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-08-21xci: Fix passing current parameters to healthcheck jobFatih Degirmenci1-1/+1
Change-Id: I370d2822071c77a16387935e1d465f608ee9e10e Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-08-19xci: Several bugfixes for the verify jobFatih Degirmenci1-4/+16
- Fix environment variables set by the job - Fix the default distro in deploy job since the {distro} is not passed to it - Navigate to correct directory where xci-deploy.sh is located Change-Id: Ie412dc4852a4aac5aae5c1f26bb271281ebbc111 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-08-18xci: Enable patchset verification for xciFatih Degirmenci1-0/+214
This job gets triggered when a new patchset to xci is created. Currently only the deployment is run and healthcheck will be activated once xci is adjusted for functest. Change-Id: I3ea61524de6c6b5e2d872f59bb362d9c9be6053c Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>