summaryrefslogtreecommitdiffstats
path: root/deploy.sh
AgeCommit message (Collapse)AuthorFilesLines
2020-11-19Adding scripts for running RC2 testcasesRihab Banday1-0/+6
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>
2020-11-13Add support for deploying to Equinix Metal bare-metal serversMichael S. Pedersen1-5/+4
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>
2020-11-13Switch to older settings for ansible playbooks andRihab Banday1-6/+3
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>
2020-10-12Add yq checkerVictor Morales1-3/+3
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>
2020-09-22Rendering BMRA inventory from IDF and PDF via ansibleGeorg Kunz1-0/+6
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>
2020-09-10Implementing jump VM create via ansibleGeorg Kunz1-11/+21
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>
2020-09-08Adding checks for installation prerequisitesGeorg Kunz1-0/+5
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>
2020-09-07Fix linting issuesVictor Morales1-0/+2
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>
2020-08-11Implement linting processVictor Morales1-4/+4
This commit pretends to make changes required by yamllint and shellcheck tools. Signed-off-by: Victor Morales <v.morales@samsung.com> Change-Id: I73b0a3b54f89b2692c1c3af7940a3acf1124fadb
2020-07-31Drop VM_IP environment variableVictor Morales1-3/+0
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
2020-07-29Initial structure for e2e deployment scriptingRihab Banday1-0/+49
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>