Age | Commit message (Collapse) | Author | Files | Lines |
|
* Add initial version of PDF and IDF that
will be consumed by the hardware provisioner used in
Kuberef to bring up libvirt VMs (for now 2 VMs for dev purposes).
* Add deploy_on_vms.sh script to deploy Kuberef on VMs
* Add new functions referenced by the deploy_on_vms.sh
script - these can be merged with existing functions
* Modify some of te BMRA templates to accomodate new changes.
This has been tested on Ubuntu 18.04 baremetal server.
Change-Id: I95a5e85cdab95befd24a1cae9f367b32ce26621e
Signed-off-by: Rihab Banday <rihab.banday@ericsson.com>
Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72621
Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org>
Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com>
Reviewed-by: Georg Kunz <georg.kunz@ericsson.com>
|
|
This patch applies a consistent use of license and copyright
headers to all source files according to the guidelines of
REUSE.
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
Change-Id: I8973efe304e8fb03ad0861d4b8356221d898d548
Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72804
Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com>
Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org>
|
|
Env variables should be set before checking the
prerequisites as the check function depends on some
env variables.
Change-Id: I75a4b08d0ef077154924df37a859fc7638744343
Signed-off-by: Rihab Banday <rihab.banday@ericsson.com>
Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71959
Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org>
Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com>
|
|
Virtual Environments allow the python modules installation without
affecting the hosting node. This helps to control dependencies required
by this project.
Signed-off-by: Victor Morales <v.morales@samsung.com>
Change-Id: Ib53d9dd335a4707ff863a6fd732d23d323513430
Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71195
Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org>
Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com>
Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
|
|
This patch adds support for running RC2 Functest
testcases suite on the K8s cluster deployed by
Kuberef deployer.
It leverages on Gitlab CI/CD variables to prepare
next Docker runners (for the time being, the
deployment script wrongly forces Shell runners).
Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I7652aa817ad9b434235abf0fab9ba63f4ad2f23e
Signed-off-by: Rihab Banday <rihab.banday@ericsson.com>
Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71188
Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org>
Reviewed-by: Cedric Ollivier <cedric.ollivier@orange.com>
|
|
Adds an additional hw_config which is simplified (equinix-metal).
Adds support for skipping HW provisioning (pre-provisioned through EM).
Usage: deploy.sh [k8s]
Adds a few new helper functions, and updates existing to support changes.
Signed-off-by: Michael S. Pedersen <michaelx.pedersen@intel.com>
Signed-off-by: Victor Morales <v.morales@samsung.com>
Change-Id: I2f84c662d183ba224e0edd8a218abe8b46c1fe45
Signed-off-by: Victor Morales <v.morales@samsung.com>
Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71301
Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org>
Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
Reviewed-by: Victor Morales <chipahuac@hotmail.com>
|
|
VM creation steps
This change introduces two (older) settings needed for
CentOS 7 which were removed by recent patches that were
tested only on Ubuntu 16.04. These settings have been
already tested on Ubtunu 16.04.
Change-Id: I3039d650b59869d45e11afdda8827c850f686195
Signed-off-by: Rihab Banday <rihab.banday@ericsson.com>
Co-Authored-By: Victor Morales <v.morales@samsung.com>
Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71233
Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org>
Reviewed-by: Georg Kunz <georg.kunz@ericsson.com>
|
|
The yq parser is required by the deploy.env file to extract values from
PDF and IDF files. This change ensures that binary is present.
Signed-off-by: Victor Morales <v.morales@samsung.com>
Change-Id: I5400bc4910ea88da74fab188bf1cfdbebe3cbed1
Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71230
Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org>
Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
Reviewed-by: Georg Kunz <georg.kunz@ericsson.com>
|
|
This patch adds a simple playbook which renders the BMRA inventory
from the supplied set of PDF and IDF.
Signed-off-by: Georg Kunz <georg.kunz@est.tech>
Change-Id: I2cd555440ad51594d5a2b482bfad085769d0e4e0
Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/70892
Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org>
Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
|
|
This patch reimplements the creation of the jump VM as ansible
playbook. The advantage of this approach is a more deterministic
behavior and the ability to render configuration files using
templates based on the pdf and idf.
Moreover, this patch allows to overwrite the VENDOR variable.
This is necessary to allow deployment in different labs via
CI.
The BMRA configuration has not yet been transformed to ansible
template and needs to follow in subsequent patches.
Signed-off-by: Georg Kunz <georg.kunz@est.tech>
Signed-off-by: Victor Morales <v.morales@samsung.com>
Change-Id: I2cde41dcecec7480bddf71ed864f06244a89f1f3
Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/70882
Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org>
Reviewed-by: Victor Morales <chipahuac@hotmail.com>
|
|
This patch adds a few preliminary checks for installation prerequisites,
currently covering software dependencies and runtime prerequisites. More
checks need to be added over time.
Signed-off-by: Georg Kunz <georg.kunz@est.tech>
Change-Id: Ic59b99873983511b74ebdce06d3aeb2ade318a76
Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/70841
Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org>
Reviewed-by: Victor Morales <chipahuac@hotmail.com>
Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
|
|
The CI job has been enabled and there are some issues reported by
tox and shellcheck. This change fixes them.
Signed-off-by: Victor Morales <v.morales@samsung.com>
Change-Id: I2678dbfeffdce61aa330aa9bba36010622f7227e
Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/70890
Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org>
Tested-by: Georg Kunz <georg.kunz@est.tech>
Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
Reviewed-by: Georg Kunz <georg.kunz@est.tech>
|
|
This commit pretends to make changes required by yamllint and shellcheck
tools.
Signed-off-by: Victor Morales <v.morales@samsung.com>
Change-Id: I73b0a3b54f89b2692c1c3af7940a3acf1124fadb
|
|
It's not necessary to declare this variable because the IP address
of the jumpbox can retrieved calling the get_vm_ip function.
Signed-off-by: Victor Morales <v.morales@samsung.com>
Change-Id: I92f29a70ea1924eb105d66781d9d313427e2d1f0
|
|
This patch includes the initial skeleton of the e2e deployment
tooling. This is expected to evolve as further development progresses.
Change-Id: Ie1e334e672acb2213e8f6c2174506b685f826f98
Signed-off-by: Rihab Banday <rihab.banday@ericsson.com>
|