summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-05-16Merge "prototypes: xci: Move host keys away from / directory"Markos Chandras4-2/+11
2017-05-16Merge "prototypes: xci: Add ability to use local repositories for testing"Markos Chandras4-0/+88
2017-05-16Merge "prototypes: bifrost: Remove OPNFV specific group_vars file"Fatih Degirmenci1-53/+0
2017-05-16Merge "prototypes: xci: configure-localhost: Use 'connection: local'"Markos Chandras1-1/+1
2017-05-16Merge "prototypes: xci: provision-vm-nodes: Do not provision VMs as root."Markos Chandras1-1/+16
2017-05-16Merge "prototypes: xci: user-vars: Move root directory away from /opt"Markos Chandras1-4/+5
2017-05-16Merge "prototypes: xci: xci-deploy: Do not use sudo when connecting to ↵Markos Chandras1-4/+4
remote hosts"
2017-05-16Merge "prototypes: xci: Do not require root privileges in xci-deploy"Markos Chandras2-11/+7
2017-05-16Apex: add ramdisk and kernel to uploadTim Rozet1-1/+1
Change-Id: I81e89f9fe313977d6a06c6283cc5301f672a77c3 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-16Merge "refactor config parser to facilitate adding new configs"Serena Feng3-100/+40
2017-05-16bugfix: /resources.json and /APIs cannot be accessedSerenaFeng2-5/+3
1. change the join way of discover_url 2. limit tornado version not to use latest 4.5 Change-Id: I39dfd3b32bf232a7c144087bc9d5f88fb6798ee7 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-05-16dovetail: conditional steps to run against specific scenariosMatthewLi1-13/+19
JIRA: DOVETAIL-432 1, the community CI resource is limited, for dovetail CI job, there's no need to run against all scenarios, by now, nosdn-nofeature-ha odl_l2-bgpvpn-ha odl_l2-nofeature-ha is enough. 2, jenkins conditional plugin will be used. plugin should be installed https://wiki.jenkins-ci.org/display/JENKINS/Conditional+BuildStep+Plugin 3, take compass as an example to see if it works Change-Id: Ib23835cbf8801c36e35e088cd0d8bf2d6380e81a Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-05-16Apex: fix clean cmds in deployTim Rozet1-5/+3
Change-Id: I7da324903df1cc0c26cfba4433748dab459bbeb1 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-15Apex: add gerrit to deployTim Rozet2-2/+2
Change-Id: I9260d053c74584e1c80e880d73d8671e3515b4c2 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-15Apex: fixes node parameters and git revision on verifyTim Rozet2-12/+12
Change-Id: I02243d359b4204ab38dee143332c8d1bac86ac8e Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-15Apex: adds missing deploy env varsTim Rozet1-0/+4
Change-Id: I515afe7a8f230ebbece8ee4d99ca7744a6a35fb8 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-15Apex: fixes upload artifactTim Rozet3-1/+21
Change-Id: Ib12722ec85fe46d1b6dccb7bfc2da748386dac97 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-15Apex: fixes build directory in upload artifactTim Rozet1-2/+0
Change-Id: I5d3c5c76159a1bc4b83ef5855ad412962d00fcb6 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-15Merge "KVMFORNFV: Common build packages for daily test cases"Aric Gardner1-6/+15
2017-05-15Apex: fix apex upload for imagesTim Rozet1-2/+5
Change-Id: Ibff76b1ce7cb4e071e576fd111bfff8af2cc2021 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-15KVMFORNFV: Common build packages for daily test casesGundarapu Kalyan Reddy1-6/+15
This patch is used to upload the metadata file only for the artifacts built by daily build job. Also used to add seperate checks for the artifacts uploaded by build and test phases. Change-Id: I4c760e2269f3251fd0de91a803123167fb2ad225 Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2017-05-15Apex: updates cache to unique nameTim Rozet2-2/+2
Change-Id: I4131efd042f5d1aa4e8a5dc78b24be8ba6fbf87c Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-15Apex: fixes dev label names for artifactsTim Rozet2-2/+4
Change-Id: I2dae20c688ccd2cb690c01a843cb75d5743e129b Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-15Apex: fixes checking dev for verify buildTim Rozet1-2/+2
Change-Id: I8f283f6db366fc55a7eb52789affed7426521d17 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-15Apex: fixes building rpms for patchesTim Rozet3-2/+4
Change-Id: I2de72d983035cbf79f9f09850cd98dfd349783ca Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-15KVMFORNFV: Common build packages for daily test caseskalyanreddy1-1/+1
This patch is used to upload the metadata file only for the artifacts built by daily build job so that both the kvmfornfv cyclictest and packet forwarding test cases will download the same artifacts uploaded by the daily build job for testing on the test pod. Change-Id: Ic2d58eca4fc86a257877159bb6910a2d8e8f3887 Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2017-05-15Merge "KVMFORNFV: Common build packages for daily test cases"Jun Li1-5/+5
2017-05-13Apex: adds timeouts to deploy and build jobsTim Rozet2-0/+20
Change-Id: I760952825e9f3d36d66ecb51e26a66b8ad69aaac Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-12Apex: fixes build directory assumption in upload artifactTim Rozet1-3/+2
Change-Id: Iae230e37137b0408a74ba74bd551a88dd6ffa076 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-12Apex: changes build job to use git-scm-gerritTim Rozet2-2/+2
Change-Id: I2701ecea73ae58dc6115a93cbfc8b35ef7949b3b Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-12refactor config parser to facilitate adding new configsSerenaFeng3-100/+40
refactor hardcoded config.py to facilitate adding new configurations come along with web portal and Authentication features Change-Id: Ibc16166ade0d6e730bb4c9d81e9b9bc9b297faa1 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-05-12KVMFORNFV: Common build packages for daily test caseskalyanreddy1-5/+5
This patch is used to implement the common daily build job so that both the kvmfornfv cyclictest and packet forwarding test cases will download the same artifacts uploaded by the daily build job for testing on the test pod. Change-Id: Ifbe3ab1d6c62bd73c982065242cbfe29ce5dea1e Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2017-05-12Merge "re-enable testapi auto update"Morgan Richomme1-2/+1
2017-05-12Merge "add web portal framework for TestAPI"Morgan Richomme340-1/+85415
2017-05-12Merge "big fixes: wrong path"Morgan Richomme2-5/+4
2017-05-12Merge "clarify schema base on swagger1.2 specification"Serena Feng1-3/+3
2017-05-12add web portal framework for TestAPISerenaFeng340-1/+85415
Change-Id: I62cea8b59ffe6a6cde98051c130f4502c07d3557 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-05-12Merge "KVMFORNFV: Disable packet forwarding daily build job."Jun Li1-23/+39
2017-05-11jjb: xci: bifrost: Clone git repositories to $WORKSPACEMarkos Chandras2-10/+10
Commit 0638af211db1 ("jjb: xci: xci-deploy.sh: Run the deployment script as normal user") dropped 'sudo' from the bifrost provisioning script. However this broke the jobs since the repositories were being cloned into /opt where the jenkins user has not access to. As such, clone the repositories in the $WORKSPACE directory instead. Fixes: 0638af211db1 ("jjb: xci: xci-deploy.sh: Run the deployment script as normal user") Change-Id: I55baceaada04496884470997562e3f512f2444a0 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-05-11jjb: xci: xci-deploy.sh: Run the deployment script as normal userMarkos Chandras1-1/+1
xci-deploy.sh can now be run as normal user so fix the Jenkins job accordingly. Change-Id: Ifd0d7e4c42c930dbee0bbc30836fadc1a54f2f95 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-05-11prototypes: xci: Look for SSH keys in $HOME directoryMarkos Chandras1-1/+1
We no longer run everything as root so we need to look for SSH keys in the appropriate home directory. Change-Id: Iae1f7eb80059e7d369c8e0c8b6c33c6a4f673f94 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-05-11prototypes: xci: Move host keys away from / directoryMarkos Chandras4-2/+11
Putting the host keys in '/' requires root privileges so it's best if we place them in the same directory like the rest of the XCI files. Change-Id: I030ed3d6cbb57bb984a78aeffb4eca2bd5c10bb0 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-05-11prototypes: xci: Add ability to use local repositories for testingMarkos Chandras4-0/+88
When developing XCI features it's useful to be able to use the local repositories rather than cloning them from git since that makes it harder to test local modifications against XCI. As such, we add three new variables which can be used to hold local paths to the bifrost, releng and openstack-ansible repositories. We are still cloning the repositories but we then use the 'synchronize' Ansible module to copy modified files from the local repositories. Change-Id: I6d593ea48d8b9c51415d9d0848f77a498ef2f486 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-05-11prototypes: bifrost: Remove OPNFV specific group_vars fileMarkos Chandras1-53/+0
The only reason we had this file was because we had to define our own 'ssh_public_key_path' variable to look in the /root directory since we were running everything as root. Since we are now moving away from this approach, this file is not needed anymore. Change-Id: Ic938c4c8c877c95ce261721dc32fc5147081e236 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-05-11prototypes: xci: configure-localhost: Use 'connection: local'Markos Chandras1-1/+1
Since we are operating on localhost, there is no need to do that via ssh so we use 'connection: local' instead. Moreover, we do not need to execute everything as root so we drop the remote user directive. Change-Id: Ib2127edad29e2da1cd1beebf42cb8f0d278ce3ad Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-05-11prototypes: xci: provision-vm-nodes: Do not provision VMs as root.Markos Chandras1-1/+16
There is no need to provision VM nodes as root. The only thing that we need to run as root is the destroy-env.sh script and for that we move it to its own play so we can use Ansible's become directive. Moreover, since this playbook operates on localhost we can use 'connection: local' so we don't have to execute everything via ssh and possibly speed up the whole process. Change-Id: Ia9efd5f30e95385b5cf193dde352f93551846c0e Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-05-11prototypes: xci: user-vars: Move root directory away from /optMarkos Chandras1-4/+5
Having everything in the /opt implies root privileges. However, xci should work as normal user and as such we use the /tmp directory as the root directory. Change-Id: I985ded289208e1de53ad0ba878afd5bfd745c3fd Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-05-11Apex: remove global build slaveTim Rozet3-6/+6
Change-Id: I2d4216e63a16baafcebe636107449b334c953f04 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-11Apex: remove blocking on daily jobsTim Rozet2-24/+0
Change-Id: I6ee953c983fce4280d0e2e4653458cfbe6998710 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-11Apex: fixes promote jobs missing upload snapshotTim Rozet2-4/+4
Change-Id: I850a287f4226d59968e06ff31e268d7d2b485e3d Signed-off-by: Tim Rozet <trozet@redhat.com>