kuberef.git
3 years agoIgnore E006 bashate rule 33/70833/1
Victor Morales [Wed, 19 Aug 2020 18:12:28 +0000 (14:12 -0400)]
Ignore E006 bashate rule

The E006 bashate rule enforces to use less than 80 characters per line.
Even when this is a good practice to be enforced most of the time makes
development process harder so we can skip it for now.

Signed-off-by: Victor Morales <v.morales@samsung.com>
Change-Id: Id0468b707bda01d719af36c57c6d1ce54246dae1

3 years agoMerge ""Better" pattern matching for name of jump VM"
Rihab Banday [Wed, 19 Aug 2020 07:35:35 +0000 (07:35 +0000)]
Merge ""Better" pattern matching for name of jump VM"

3 years agoMerge "Disable strict host checking everywhere"
Rihab Banday [Wed, 19 Aug 2020 07:35:24 +0000 (07:35 +0000)]
Merge "Disable strict host checking everywhere"

3 years agoMerge "Adding Deployment Guide"
Rihab Banday [Wed, 19 Aug 2020 07:34:07 +0000 (07:34 +0000)]
Merge "Adding Deployment Guide"

3 years agoMerge "Set Jumpbox root's password"
Georg Kunz [Tue, 18 Aug 2020 20:28:18 +0000 (20:28 +0000)]
Merge "Set Jumpbox root's password"

3 years agoFix minor bugs observed in hw_config files 25/70825/2
Rihab Banday [Tue, 18 Aug 2020 08:51:24 +0000 (10:51 +0200)]
Fix minor bugs observed in hw_config files

This patch fixes minor bugs observed in hw_config files:

1. Rename admin network to public in Intel's IDF to have
consistent network naming schemes across IDF's.

2. Remove arbitary/unverified VLAN's from Intel's PDF.

3. Move shebang to top to fix linting error.

Change-Id: Ibad63e80431880ef5558864bf890dd1877400b08
Signed-off-by: Rihab Banday <rihab.banday@ericsson.com>
3 years agoAdding Deployment Guide 11/70711/5
Rihab Banday [Tue, 11 Aug 2020 08:56:54 +0000 (08:56 +0000)]
Adding Deployment Guide

This patch adds a deployment guide that describes the steps to initiate
the deployment.

Change-Id: I1835c0b6eee5945990ae078a20d2e2c92516c6b1
Signed-off-by: Rihab Banday <rihab.banday@ericsson.com>
3 years agoSet Jumpbox root's password 18/70618/3
Victor Morales [Fri, 31 Jul 2020 17:02:54 +0000 (13:02 -0400)]
Set Jumpbox root's password

Every OS has different root's passwords which complicates the
throubleshooting process. This change sets the root password of
the jumpbox to what's defined in the ROOT_PASSWORD env variable.

Signed-off-by: Victor Morales <v.morales@samsung.com>
Change-Id: I7b926f9500de9341a660b86ccb1c9eafbfaf6053

3 years agoDisable strict host checking everywhere 05/70705/3
Georg Kunz [Tue, 11 Aug 2020 08:13:31 +0000 (10:13 +0200)]
Disable strict host checking everywhere

Disable stricty host key checking for all SSH commands.

Signed-off-by: Georg Kunz <georg.kunz@est.tech>
Change-Id: Id08a4e2ef3f441b2a3ba20868c4e3af7fc04c1c5

3 years ago"Better" pattern matching for name of jump VM 42/70642/3
Georg Kunz [Sun, 2 Aug 2020 20:35:33 +0000 (22:35 +0200)]
"Better" pattern matching for name of jump VM

The pattern currently used matches also non-exact hits, such as
"jumphost" and "xci-jumphost". This tweak attempts to achieve better
exact word matches. Note: the -w option of grep does not seem to do
the trick as well.

Signed-off-by: Georg Kunz <georg.kunz@est.tech>
Change-Id: I8cb98a5540a41f5e6044efe12584403b7f4398df

3 years agoUpdate env variable extraction and VM creation steps 09/70609/9
Rihab Banday [Thu, 30 Jul 2020 09:16:28 +0000 (09:16 +0000)]
Update env variable extraction and VM creation steps

This change uses YAML parser to extract environmental variables from PDF
and IDF. Additionally it merges the VM creation step with the main
functions script.

Change-Id: I2089b7a84f15e892d57fbadf06252db8769f0fbf
Signed-off-by: Rihab Banday <rihab.banday@ericsson.com>
3 years agoMerge "Remove creation of httpboot folder"
Rihab Banday [Mon, 17 Aug 2020 08:44:56 +0000 (08:44 +0000)]
Merge "Remove creation of httpboot folder"

3 years agoMerge "Remove double quotes around EOF"
Rihab Banday [Sun, 16 Aug 2020 20:41:47 +0000 (20:41 +0000)]
Merge "Remove double quotes around EOF"

3 years agoRemove creation of httpboot folder 51/70751/3
Rihab Banday [Wed, 12 Aug 2020 09:01:24 +0000 (11:01 +0200)]
Remove creation of httpboot folder

Remove creation of httpboot folder and manual copy
of CentOS 7 image as the support is now added
upstream by [1] and [2].

[1] https://gerrit.nordix.org/c/infra/provisioner/bifrost/+/5547
[2] https://gerrit.nordix.org/c/infra/stack/ironic/+/5550

Change-Id: I3eae2816091e2631d2170f9950fedd2f13e84db7
Signed-off-by: Rihab Banday <rihab.banday@ericsson.com>
3 years agoRemove double quotes around EOF 53/70753/2
Rihab Banday [Wed, 12 Aug 2020 16:25:30 +0000 (18:25 +0200)]
Remove double quotes around EOF

The double quotes introduced by linting tool
around EOF in functions.sh causes issues during
deployment in CentOS. This change removes the double quotes.

Change-Id: I23f4739e9bfbde296c48d4cf260b8483a844fd0b
Signed-off-by: Rihab Banday <rihab.banday@ericsson.com>
3 years agoImprove wait instruction 21/70621/2
Victor Morales [Fri, 31 Jul 2020 19:37:01 +0000 (15:37 -0400)]
Improve wait instruction

The time that the jumpbox takes can be different every time that is
created so waiting for a specific state can help during the creation.

Signed-off-by: Victor Morales <v.morales@samsung.com>
Change-Id: Idee038556bc669594660a308e405e79fe13ba118

3 years agoMerge "Implement linting process"
Rihab Banday [Wed, 12 Aug 2020 15:39:02 +0000 (15:39 +0000)]
Merge "Implement linting process"

3 years agoMerge "Adding pdf and idf for Ericsson pod 1"
Rihab Banday [Wed, 12 Aug 2020 15:38:43 +0000 (15:38 +0000)]
Merge "Adding pdf and idf for Ericsson pod 1"

3 years agoImplement linting process 17/70617/4
Victor Morales [Thu, 30 Jul 2020 21:56:36 +0000 (17:56 -0400)]
Implement linting process

This commit pretends to make changes required by yamllint and shellcheck
tools.

Signed-off-by: Victor Morales <v.morales@samsung.com>
Change-Id: I73b0a3b54f89b2692c1c3af7940a3acf1124fadb

3 years agoAdding pdf and idf for Ericsson pod 1 40/70640/4
Georg Kunz [Sun, 2 Aug 2020 20:27:32 +0000 (22:27 +0200)]
Adding pdf and idf for Ericsson pod 1

This adds the pod descriptor file and installer descriptor file
for Ericsson pod 1.

Signed-off-by: Georg Kunz <georg.kunz@est.tech>
Change-Id: Ie518f71a35b657ef4a7b17464cb8f0e4116a3771

3 years agoMerge "Drop VM_IP environment variable"
Rihab Banday [Tue, 11 Aug 2020 09:41:55 +0000 (09:41 +0000)]
Merge "Drop VM_IP environment variable"

3 years agoDrop VM_IP environment variable 20/70620/1
Victor Morales [Fri, 31 Jul 2020 17:34:33 +0000 (13:34 -0400)]
Drop VM_IP environment variable

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

3 years agoAdding gitignore file to repo 16/70616/1
Georg Kunz [Fri, 31 Jul 2020 13:21:47 +0000 (15:21 +0200)]
Adding gitignore file to repo

Signed-off-by: Georg Kunz <georg.kunz@est.tech>
Change-Id: I87faf75ee5801259fb2bdb1534934d84fc2b3a5d

3 years agoAdding Victor Morales as committer to Info file 15/70615/2
Georg Kunz [Thu, 30 Jul 2020 22:20:25 +0000 (00:20 +0200)]
Adding Victor Morales as committer to Info file

Change-Id: I101159dcf90247ecdc75153a0826eea2d975e5d2
Signed-off-by: Georg Kunz <georg.kunz@est.tech>
3 years agoMerge "Automation adds INFO.yaml"
Georg Kunz [Thu, 30 Jul 2020 22:10:03 +0000 (22:10 +0000)]
Merge "Automation adds INFO.yaml"

3 years agoInitial structure for e2e deployment scripting 69/70569/6
Rihab Banday [Tue, 21 Jul 2020 10:49:45 +0000 (10:49 +0000)]
Initial structure for e2e deployment scripting

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>
3 years agoAutomation adds INFO.yaml 85/70385/2
LF Jenkins CI [Mon, 13 Jul 2020 17:26:58 +0000 (17:26 +0000)]
Automation adds INFO.yaml

Change-Id: Iac88d52ed23707059e075daec53ee9de70244f0d
Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
3 years agoAutomation adds .gitreview 84/70384/2
LF Jenkins CI [Mon, 13 Jul 2020 17:10:37 +0000 (17:10 +0000)]
Automation adds .gitreview

Change-Id: I6f433cb9f4db682c5e9061e37ad9a153e75c5c7b
Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
3 years agoInitial empty repository
LF Jenkins CI [Mon, 13 Jul 2020 17:10:27 +0000 (17:10 +0000)]
Initial empty repository