summaryrefslogtreecommitdiffstats
path: root/jjb/infra
AgeCommit message (Collapse)AuthorFilesLines
2016-10-18Set a Custom URL for Bifrost Verification JobsTrevor Bramwell1-0/+2
OpenStack-CI documentation states[1] a custom URL needs to be set in order for Jenkins comments to be correctly formatted by the OpenStack Gerrit server. [1] http://docs.openstack.org/infra/system-config/third_party.html#the-jenkins-gerrit-trigger-plugin-way Change-Id: Id10c9839b823f0b3841cfcaa16a6dd384d34cbbe Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2016-10-13bifrost: Vote on upstream patchesFatih Degirmenci1-6/+0
Bifrost core wants OPNFV CI to vote on upstream bifrost patches to increase the visibility. Change-Id: Ia4fbdf5fa551750b6063dfb8610b6699039c4fbe Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-10-03jjb: infra: Trigger the Jenkins jobs when the jobs themselves changeMarkos Chandras1-0/+2
Making changes to the Jenkins jobs should trigger the CI to ensure that our changes did not break anything. Change-Id: I59e1d45fb82492ff03926cd4273367aca9060c74 Signed-off-by: Markos Chandras <mchandras@suse.de>
2016-10-03jjb: infra: Fix ownership for the cache directoryMarkos Chandras1-0/+4
Fixes the following error when the ${HOME}/.cache permissions are bad: The directory '/home/jenkins/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Change-Id: I16310817e1f36bd8086e196ef61ec10c09ad7366 Signed-off-by: Markos Chandras <mchandras@suse.de>
2016-09-27bifrost: Refactor bifrost jobsFatih Degirmenci7-338/+192
This change - Creates job templates to verify opnfv/bifrost patches - Introduces type in order to prepare verification on baremetal - Fixes git cloning so the job shows changes for the corresponding project - Gets rid of unnecessary slave parameters from slave-params.yml - Fixes build blocking - Updates the bifrost-verify.sh script and includes in shell so we don't have to clone releng repo separately - Updates destroy-env.sh to create /httpboot and /tftpboot with permissions 755 - Removes daily infra-bifrost job and scripts as we don't use them at the moment Change-Id: Icb5a543628d3321bfe4e549ab92c67443ac578d8 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-09-15Revert "infra: Fix ownerships for successful runs as well"Fatih Degirmenci1-3/+0
This reverts commit f915ff044fc6330db6e0971f49af1b44509c9cfb. Change-Id: I33134b44952a287216ab7ad63f9bb042cba51f6a Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-09-15infra: Fix ownerships for successful runs as wellFatih Degirmenci1-0/+3
Change-Id: I11b73104b5a80351537109fcb504bb250c641220 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-09-15infra: Change the ownership of stuff back to jenkinsFatih Degirmenci1-0/+10
Change-Id: I869a2e44b78ed33e3419077c32f5c0a08b63191f Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com> Signed-off-by: Markos Chandras <mchandras@suse.de>
2016-09-15infra: Remove /opt/stack to prevent leftovers from causing troubleFatih Degirmenci1-1/+1
Change-Id: I924f40a363fcaf50eb7e4c6f8cd1c5acba7c330b Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-09-12infra: infra-daily-jobs: Use of the infra-{smoketest,deploy} scriptsMarkos Chandras1-2/+2
The Jenkins jobs for smoketest and deploy use inline scripts which are essentially no-ops but they should use the respective scripts instead which are also no-ops at the moment but they could potentially become more useful in the future. Change-Id: Ic91f65b43468aaba503e71773098853bf43f229f Signed-off-by: Markos Chandras <mchandras@suse.de>
2016-09-09infra: Fix the gerrit project name and preserve env for sudoFatih Degirmenci1-2/+2
Change-Id: I9b86f285ac0a3e3f8ea95550f7490ced8d3ca2a3 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-09-09infra: Create 3rd party CI job to verify bifrost patches in OPNFVFatih Degirmenci3-1/+164
This change creates job to run patchset verification for openstack/bifrost. The verification is done by checking out the patch from upstream bifrost repo and combining opnfv bifrost stuff with it to see if any change that is proposed upstream breaks opnfv bifrost. The verification is done only for trusty and this can be expanded to support centos7 and suse as well. Due to change in slave label, impacted files are also updated. Change-Id: Id34b7ddcf5e3f424a5999aa1a9fa69ff53d95fc4 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-09-01infra: Do not run provisioning in deploy & smoketest phasesFatih Degirmenci1-2/+2
Change-Id: I326053d863f0f06ceb293cda3cd2405cf2d25f13 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-09-01infra: Fix small doc/script issues and enable mail notificationFatih Degirmenci2-1/+8
This change - Fixes readme of puppet-infracloud - renames destroy_env.sh script - enables mail notification - disables removal of DIB images by default Change-Id: I628b26b976e38772cbbc69b737a545fe801639ba Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-08-31Create daily job for infra deployment, remove sandbox jobs and fix bugsFatih Degirmenci4-0/+199
This change - creates upstream daily job to trigger and control the execution of jobs that provision nodes using bifrost, deployment using puppet-infracloud, and simple smoke test job. - fixes the hashbang placement in 2 of the scripts. - removes sandbox dummy jobs as the infra jobs can serve as examples now. Only the node provisioning job is functional at the moment. Change-Id: I311d159956d8b7ce3f7a500fac5a7dcb459104cf Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>