oom/offline-installer.git
5 years agoMaster playbook for installation 90/78290/1
Samuli Silvius [Tue, 12 Feb 2019 13:05:55 +0000 (15:05 +0200)]
Master playbook for installation

Create site.yml playbook as default way to run whole offline
installer installation. It's mainly a document for a user
about the intended order of the playbooks to run.

Issue-ID: OOM-1645

Change-Id: I54640bf7d926c7c80be9bdb542683f0ba70a633f
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
5 years agoChange helm plugin install to copy module 18/78118/2
Milan Verespej [Fri, 8 Feb 2019 14:30:39 +0000 (15:30 +0100)]
Change helm plugin install to copy module

Since helm plugin install command is not the most suitable
for Ansible and it basically just creates link to plugin original
location this change is using Ansible's copy module instead.

Plugin is copied from install server because copy module doesn't
support recursive directory copying with remote_src option.

Issue-ID: OOM-1638
Change-Id: I9e9dcd8d33f8917296f576c2b34c0c576c9c126c
Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
5 years agoMerge "Fix simulated_hosts template"
Michal Ptacek [Mon, 11 Feb 2019 13:35:46 +0000 (13:35 +0000)]
Merge "Fix simulated_hosts template"

5 years agoConfiguration file option for packaging 81/77781/3
Samuli Silvius [Mon, 4 Feb 2019 12:26:27 +0000 (14:26 +0200)]
Configuration file option for packaging

At the moment configuration file for the package.sh script is fixed
by name and location package.conf in the same dir as the script.

Allow user to give configuration file as parameter for the script.

Issue-ID: OOM-1627

Change-Id: I8b728996ead73a48b88bbbf364ec913217cbd8d6
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
5 years agoMerge "Use git format of patches"
Tomáš Levora [Fri, 8 Feb 2019 10:07:11 +0000 (10:07 +0000)]
Merge "Use git format of patches"

5 years agoMerge "Adding PyPI repository and packages to Nexus"
Michal Ptacek [Fri, 8 Feb 2019 06:43:06 +0000 (06:43 +0000)]
Merge "Adding PyPI repository and packages to Nexus"

5 years agoAdding PyPI repository and packages to Nexus 57/77857/10
Tomáš Levora [Tue, 5 Feb 2019 09:01:43 +0000 (10:01 +0100)]
Adding PyPI repository and packages to Nexus

This update for building of Nexus repository for offline installer adds
autoconfiguration of pipy repository and uploading pypi packages to it
based on related list

Issue-ID: OOM-1619

Change-Id: Id49aad2936e7e56848500c47a43a16f1f58db8e3
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
5 years agoCreate APT repository 88/77788/10
Tomáš Levora [Mon, 4 Feb 2019 14:48:51 +0000 (15:48 +0100)]
Create APT repository

Adding creation of APT repository for resources

Issue-ID: OOM-1619

Change-Id: I2d4f14dfcbf2508d31bbc105828853c01733bb3e
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
5 years agoCreate offline data lists to cover Casablanca 65/77565/20
Tomáš Levora [Tue, 29 Jan 2019 13:25:04 +0000 (14:25 +0100)]
Create offline data lists to cover Casablanca

Adding casablanca related data lists and changing the lists naming rule

Modifying related download scripts accordingly

Adding parameters for project version to download scripts to be able to
use version specific lists

Removing download-oom.sh as it should be done in helm charts
preparation and patching steps

Moving additional build related stuff to build directory

Adding missing tags

Issue-ID: OOM-1615

Change-Id: Ic5902f646a1f0f40ba615562f8d9b1a43cf8480b
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
5 years agoFix simulated_hosts template 49/78049/1
Michal Zegan [Thu, 7 Feb 2019 12:23:20 +0000 (13:23 +0100)]
Fix simulated_hosts template

This fixes simulated_hosts template to use cluster_ip instead
of ansible_host as source of infra ip.

Change-Id: I02e205c031d94442b3a3debeee8baebaedc7180d
Issue-ID: OOM-1637
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
5 years agoUse git format of patches 50/77950/1
Milan Verespej [Wed, 6 Feb 2019 11:29:00 +0000 (12:29 +0100)]
Use git format of patches

To avoid dependency on patch utility and to have standardized look
of patch file this change uses git-format and git-apply to patch
charts.

Change-Id: I1c63334619bf6091b5ab50a4eebfadb3c28a2616
Issue-ID: OOM-1634
Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
5 years agoFix sdnc/appc-ansible-server not running 67/77767/6
Milan Verespej [Mon, 4 Feb 2019 10:01:19 +0000 (11:01 +0100)]
Fix sdnc/appc-ansible-server not running

These pods are installing packages from apt and pypi repositroies
during runtime.

This change creates patch and makes necessary modifications
for packages being installed from offline repositories.

Change-Id: Id71f40f94c8641ad0c9d1ba4c87d3daea70c828e
Issue-ID: OOM-1619
Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
5 years agoInserting our root certificate into policy pods 02/77702/11
Michal Ptacek [Fri, 1 Feb 2019 08:37:05 +0000 (08:37 +0000)]
Inserting our root certificate into policy pods

This commits introduced another bunch of patches for OOM charts
we need in Casablanca to be able to get our certificate trusted
by policy pods which are collecting maven artifacts from our
nexus during runtime.

Change-Id: I8289b155970e57059bccb5dfe09231e28bf27a32
Issue-ID: OOM-1609
Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
5 years agoExtract certificate to cloudify-manager 28/77528/6
Michal Ptacek [Tue, 29 Jan 2019 17:17:12 +0000 (17:17 +0000)]
Extract certificate to cloudify-manager

DCAE bootstraping require that bootstrap/cloudify-manager pods has
to trust our certificate. We are mounting path to this certificate
to respective pod.

Change-Id: Ie2ea796851e6def52d4ec556c9d5b19633e8a743
Issue-ID: OOM-1618
Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
5 years agoSetting-up NPM registry for dgbuilder 44/77444/8
Michal Ptacek [Mon, 28 Jan 2019 13:03:16 +0000 (13:03 +0000)]
Setting-up NPM registry for dgbuilder

This commit is showing-up how OOM patches must be handled in casablanca
release. In Dublin we would like to avoid this completely OOM-1610
so here we are just reproducing the same logic which was already
implemented in Beijing for bash offline installer.
In general it works in a way that OOM charts are patched during
offline platform build and values are configured in install time using
pre-install application role/hook.

Change-Id: I1a2425ef63edd6bc08dcecf0fcae7fd6e553d0ed
Issue-ID: OOM-1616
Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
5 years agoMerge "Fixing missing clause for enabling helm deploy"
Michal Ptacek [Tue, 5 Feb 2019 20:14:49 +0000 (20:14 +0000)]
Merge "Fixing missing clause for enabling helm deploy"

5 years agoFixing missing clause for enabling helm deploy 63/77763/3
Michal Ptacek [Mon, 4 Feb 2019 06:38:08 +0000 (06:38 +0000)]
Fixing missing clause for enabling helm deploy

As a part of change merged recently in 271cf3ffc2977f9e4
support for OOM plugins was introduced however it was
never used. This commit is fixing this and introducing
helm deploy option if plugin exists.

Change-Id: Ifb77ce2098ea28f822e5e15ddf2736f0c83b946c
Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
Issue-ID: OOM-1589
Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
5 years agoAdding build guide for offline installer 75/77575/7
Tomáš Levora [Wed, 30 Jan 2019 12:17:50 +0000 (13:17 +0100)]
Adding build guide for offline installer

Adding a guide for procedure of building offline installer packages

Markdown replaced by reStructuredText

Fixed some wording and characters interpretation

Issue-ID: OOM-1613
Change-Id: If0c6c2e18a4e27b560a48e5527ad3b207e5201b8
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
5 years agoMerge "Fix broken docker build due to pip-19.0"
Michal Ptacek [Thu, 31 Jan 2019 08:10:13 +0000 (08:10 +0000)]
Merge "Fix broken docker build due to pip-19.0"

5 years agoMerge "Remove bash version of installer"
Michal Ptacek [Tue, 29 Jan 2019 11:51:16 +0000 (11:51 +0000)]
Merge "Remove bash version of installer"

5 years agoMerge "Adding support for helm plugins"
Michal Ptacek [Mon, 28 Jan 2019 16:18:26 +0000 (16:18 +0000)]
Merge "Adding support for helm plugins"

5 years agoRemove bash version of installer 75/76075/3
Milan Verespej [Mon, 21 Jan 2019 14:45:42 +0000 (15:45 +0100)]
Remove bash version of installer

Since bash version of offline installer is not supported in Casablanca
release this change removes it and provides small refactor of offline
resource building scripts.

Change-Id: I953733edc31e994da123b7f0b1c502e156676669
Issue-ID: OOM-1597
Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
5 years agoMerge "Fixed dependent jq package installation"
Michal Ptacek [Sun, 27 Jan 2019 12:13:31 +0000 (12:13 +0000)]
Merge "Fixed dependent jq package installation"

5 years agoAdding support for helm plugins 58/75958/3
Michal Ptacek [Thu, 17 Jan 2019 20:39:46 +0000 (20:39 +0000)]
Adding support for helm plugins

Proprietary plugins can be used along with helm, in addition
to that building of local helm repository can be achieved by
using different target or list of targets.

Change-Id: If421133b9cc8bcfa47c3e7c14e6712520231e39c
Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
Issue-ID: OOM-1589

5 years agoEnable to build ansible image out of git directory 81/75981/4
Petr Ospalý [Fri, 18 Jan 2019 09:34:27 +0000 (10:34 +0100)]
Enable to build ansible image out of git directory

Inside the build_ansible_image.sh is a variable (label for docker image)
which is set to git commit hash. This is fine but you can just copy
and move ansible directory elsewhere out of git and this script breaks
because of this.

This change preserve previous functionality but only if the script
is run inside a git repository otherwise it will skip setting the
label for the built docker image.

Change-Id: I23f828542efddde21d1c96116de7b20272ef23ef
Issue-ID: OOM-1575
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
5 years agoFix broken docker build due to pip-19.0 85/76285/1
Petr Ospalý [Thu, 24 Jan 2019 12:16:00 +0000 (13:16 +0100)]
Fix broken docker build due to pip-19.0

pip-19.0 fails to build with the option --no-cache-dir

Change-Id: I6494c6c6b4dc49d4fbd2ce657ed9824c5b3847e3
Issue-ID: OOM-1607
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
5 years agoMerge "Add ansible runner image/chroot into package"
Samuli Silvius [Tue, 22 Jan 2019 10:27:12 +0000 (10:27 +0000)]
Merge "Add ansible runner image/chroot into package"

5 years agoMerge "Add variable for version of rancher server"
Michal Ptacek [Mon, 21 Jan 2019 13:47:44 +0000 (13:47 +0000)]
Merge "Add variable for version of rancher server"

5 years agoMerge "Fix variable nfs_mount_path not found"
Samuli Silvius [Mon, 21 Jan 2019 09:20:21 +0000 (09:20 +0000)]
Merge "Fix variable nfs_mount_path not found"

5 years agoAdd ansible runner image/chroot into package 28/76028/2
Samuli Silvius [Sat, 19 Jan 2019 12:27:58 +0000 (14:27 +0200)]
Add ansible runner image/chroot into package

Ansible runner docker image and chroot environment exported from that
is needed runtime to run ansible playbooks.
Currently package.sh script is not building that when packaging is run.

This change will add generating of ansible runner package during packaging
and including that into final package.

Issue-ID: OOM-1594

Change-Id: I160c0e5366577ddf35b359b956bb4cdbdeb59787
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
5 years agoMerge "Handle empty runtime_images"
Michal Ptacek [Sun, 20 Jan 2019 08:33:06 +0000 (08:33 +0000)]
Merge "Handle empty runtime_images"

5 years agoMerge "Fix logging problem for ansible-playbook"
Michal Ptacek [Fri, 18 Jan 2019 10:44:05 +0000 (10:44 +0000)]
Merge "Fix logging problem for ansible-playbook"

5 years agoFix variable nfs_mount_path not found 79/75979/1
Milan Verespej [Thu, 17 Jan 2019 11:54:19 +0000 (12:54 +0100)]
Fix variable nfs_mount_path not found

Variable for creating nfs mount for onap nodes was
in wrong group_vars file which caused the error because
variable was undefined for hosts that needed it.
This change moves this variable to correct file.

Change-Id: If177fb23d90b8a32d70dd774dde2dfbfc697980a
Issue-ID: OOM-1588
Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
5 years agoHandle empty runtime_images 52/75952/1
Michal Ptacek [Thu, 17 Jan 2019 19:39:40 +0000 (19:39 +0000)]
Handle empty runtime_images

If there is no demand for docker images to be inserted into nexus
during runtime, runtime_images might be empty and this will
cause unhandled error with trying to insert undefined images

Change-Id: I77147b64a3d288922eec5db7e7ce422ba2ed8c12
Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
Issue-ID: OOM-1587

5 years agoFix docker config handling in offline installer 52/75452/10
Michal Zegan [Fri, 4 Jan 2019 13:20:03 +0000 (14:20 +0100)]
Fix docker config handling in offline installer

This fixes adding of dns address to
/etc/docker/daemon.json to always use infra's ip address
instead of possibly using it's hostname.
Also similar change is done in handling of
/etc/resolv.conf in infrastructure.yml.
Ip address is specified by the "cluster_ip" variable placed on a host.
Inventory specifies ip for everything except resource server (just for consistency).

Change-Id: I2baa3f4c7d69b8dff109b5f8ae984134caf2af7d
Issue-ID: OOM-1573
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
5 years agoAdd variable for version of rancher server 87/75887/3
Milan Verespej [Wed, 16 Jan 2019 14:51:49 +0000 (15:51 +0100)]
Add variable for version of rancher server

Rancher server version is hardcoded to 1.6.14 used in Beijing
deployment. This limits flexibility to use it for future
versions of ONAP deployments.

This change adds possibility to choose version of rancher server via
variable in group_vars/infrastructure.yml and setting its default
value to version used by Casablanca release.

Change-Id: I3a38a882386ce6adcba77780ee79a7cedfe98e4e
Issue-ID: OOM-1584
Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
5 years agoFix logging problem for ansible-playbook 05/75805/2
Petr Ospalý [Tue, 15 Jan 2019 09:49:30 +0000 (10:49 +0100)]
Fix logging problem for ansible-playbook

Ansible could not write to the log because the ansible is run inside
a chroot env. and on read-only fs - this is solved by adding new rw mount.

Change-Id: I874063ad99948a55f9227d5e7eae05d3eaabe535
Issue-ID: OOM-1575
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
5 years agoFixed dependent jq package installation 78/75878/1
Tomáš Levora [Wed, 16 Jan 2019 15:14:43 +0000 (16:14 +0100)]
Fixed dependent jq package installation

Fixed installation of proper jq package

Issue-ID: OOM-1585

Change-Id: I4c196b08500b5275569da2951a728b05b3bf8757
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
5 years agoFix bash-installer when .kube already exists 20/75820/1
Petr Ospalý [Tue, 15 Jan 2019 14:26:28 +0000 (15:26 +0100)]
Fix bash-installer when .kube already exists

Change-Id: I4944ffffce0890561291b2efa96b1df614f93332
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
Issue-ID: OOM-1581

5 years agoRevert "Fix the problem with ansible_host for ..." 53/75453/1
Petr Ospalý [Tue, 8 Jan 2019 11:00:20 +0000 (12:00 +0100)]
Revert "Fix the problem with ansible_host for ..."

This reverts commit a22f6b34a424d0ce25be7e560d8072a2e84e3ab8.
This commit was merged by mistake.

Change-Id: Ic73bfd8e9d97c3a23629cba69047cc0edefb9cd0
Issue-ID: OOM-1573
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
5 years agoFix the problem with ansible_host for docker 85/75385/1
Petr Ospalý [Mon, 7 Jan 2019 16:18:29 +0000 (17:18 +0100)]
Fix the problem with ansible_host for docker

WIP

This solves the problem with domain name without dropping the ansible_host.
Ansible_host is just resolved to the ip. By using the ping command we can
avoid another dependencies.

Change-Id: Ic1963d3af6a8bdd68089ac8b599731e35475d81f
Issue-ID: OOM-1573
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
5 years agoAdd support for plain files mounting into chroot 63/75363/1
Petr Ospalý [Mon, 7 Jan 2019 12:28:57 +0000 (13:28 +0100)]
Add support for plain files mounting into chroot

In this commit I tried to follow a behaviour of docker. If mounted
path does not exist then it will handle it as a directory - it
creates it and the mountpoint is expected to be a directory also.

If the mounted path is a plain file it will do file bind mounting.
The mountpoint must be a plain file.

Change-Id: Ie8b29442c8ebb8da389ba6c9a152a49d8cf6e9be
Issue-ID: OOM-1575
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
5 years agoMerge "Fix docker config handling in offline installer"
Petr Ospalý [Mon, 7 Jan 2019 11:42:17 +0000 (11:42 +0000)]
Merge "Fix docker config handling in offline installer"

5 years agoFix docker config handling in offline installer 82/75282/1
Michal Zegan [Fri, 4 Jan 2019 13:20:03 +0000 (14:20 +0100)]
Fix docker config handling in offline installer

This fixes adding of dns address to
/etc/docker/daemon.json to always use infra's ip address
instead of possibly using it's hostname.
It is done by replacing usage of "ansible_host" by
"ansible_default_ipv4.address" fact.

Change-Id: If6a29f3bf11ece7f883b099a1ab503341859cb90
Issue-ID: OOM-1573
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
5 years agoMerge "Add /etc/hosts to the chroot environment"
Tomáš Levora [Fri, 4 Jan 2019 08:51:54 +0000 (08:51 +0000)]
Merge "Add /etc/hosts to the chroot environment"

5 years agoAdd /etc/hosts to the chroot environment 39/75239/1
Petr Ospalý [Thu, 3 Jan 2019 18:03:45 +0000 (19:03 +0100)]
Add /etc/hosts to the chroot environment

This will change in a future commit to be little more flexible.
As of now it fixes some usage when host system has defined
some custom resolving which are needed.

Change-Id: Ifea2ba087982006c0a399d1b225d7ab13f7e94da
Issue-ID: OOM-1551
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
5 years agoFix permisions on bash scripts 36/75236/1
Petr Ospalý [Thu, 3 Jan 2019 17:37:43 +0000 (18:37 +0100)]
Fix permisions on bash scripts

Change-Id: I32813d3f74ddff9099c457c6d5af30fc0e97a835
Issue-ID: OOM-1551
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
5 years agoFix whitespaces across the bash scripts 27/75227/1
Petr Ospalý [Thu, 3 Jan 2019 15:54:50 +0000 (16:54 +0100)]
Fix whitespaces across the bash scripts

Change-Id: I8f3912f1b7f35aa889ce63592b30014d6433a82f
Issue-ID: OOM-1551
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
5 years agoRemove duplicated file 20/75220/1
Petr Ospalý [Thu, 3 Jan 2019 14:06:41 +0000 (15:06 +0100)]
Remove duplicated file

Change-Id: I08be749e009712c07240e3f20c9c27519968d332
Issue-ID: OOM-1551
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
5 years agoRename filename to singular to be consistent 88/75188/1
Petr Ospalý [Wed, 2 Jan 2019 15:00:17 +0000 (16:00 +0100)]
Rename filename to singular to be consistent

Change-Id: Ie6873831e5d67dcc306d8a2e4b930fb8fe11c3d7
Issue-ID: OOM-1551
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
5 years agoAdd default onap cfg support 87/75187/1
Petr Ospalý [Wed, 2 Jan 2019 14:52:24 +0000 (15:52 +0100)]
Add default onap cfg support

Issue-ID: OOM-1551
Change-Id: If91e00ba49af9b52eea6cabb7cfecc296d1ff596
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
5 years agoOom Onap helm charts patches needed to Beijing. 61/75061/1
Samuli Silvius [Fri, 21 Dec 2018 14:12:26 +0000 (16:12 +0200)]
Oom Onap helm charts patches needed to Beijing.

For old bash solution how it got working with Beijing release of
ONAP, some of the Helm charts needs to be patched to work offline.

This file is tracking what changes are done and these changes are
applied by installer on top of cloned Helm charts.

Change-Id: Ic2265773de3bcfdb9d6aca19c2bcb4b5852966ba
Issue-ID: OOM-1551
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
5 years agoAdded config files for old bash offline installer. 60/75060/1
Samuli Silvius [Fri, 21 Dec 2018 14:08:09 +0000 (16:08 +0200)]
Added config files for old bash offline installer.

Old bash installer is still kept usable and these config files are
used only by that bash solution.

Change-Id: I72d010cc49412f106947e1644ad9c1923ca98772
Issue-ID: OOM-1551
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
5 years agoAdded nexus blob data building script. 59/75059/1
Samuli Silvius [Fri, 21 Dec 2018 12:23:51 +0000 (14:23 +0200)]
Added nexus blob data building script.

Script can be used to pre-build nexus data blob from given binary files
at build time to avoid nexus populating each time from empty state
at installation time. This is usefull when most of the binaries are
changed rarely and nexus can be just started up with pre-build blob
data at installation time.

Currently just docker images and NPM packages are supported.

Script is generic and should not have any dependency to ONAP as such
but there is few lines now that are rererring to onap, see below grep:

$ grep -i onap build_nexus_blob.sh
SIMUL_HOSTS="docker.elastic.co gcr.io hub.docker.com nexus3.onap.org nexus.onap.org registry.hub.docker.com ${NEXUS_DOMAIN}"
def r = repository.createDockerHosted("onap", 8082, 0)
sed -i "s|https://nexus.onap-me.novalocal|http://${NEXUS_DOMAIN}:8081|g" package/package.json

Change-Id: I008678fdd6dc067e7ecb26969225e2324b44e7ba
Issue-ID: OOM-1551
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
5 years agoAdd the package.sh with a template 92/74992/1
Petr Ospalý [Thu, 20 Dec 2018 15:40:58 +0000 (16:40 +0100)]
Add the package.sh with a template

It can be used to distribution of a project via tars.
What is part of the package is defined in package.conf

Issue-ID: OOM-1551
Change-Id: I8f5509bfb37d5cad510c0c151d49f6944fc6511c
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
5 years agoUpdate ansible nexus role 79/74979/1
Michal Zegan [Thu, 20 Dec 2018 11:16:56 +0000 (12:16 +0100)]
Update ansible nexus role

Looks like this one was a bit out of date, updating it...

Change-Id: I7734fc5ccdba001d3c409244cd1625453ab232ed
Issue-ID: OOM-1551
Signed-off-by: Michal Zegan <m.zegan@samsung.com>
5 years agoMerge "Add docker login script for bash installer"
Petr Ospalý [Thu, 20 Dec 2018 09:22:33 +0000 (09:22 +0000)]
Merge "Add docker login script for bash installer"

5 years agoMerge "Add certificate extraction and generation"
Petr Ospalý [Thu, 20 Dec 2018 09:22:21 +0000 (09:22 +0000)]
Merge "Add certificate extraction and generation"

5 years agoMerge "Add download handler script to bash installer"
Petr Ospalý [Thu, 20 Dec 2018 09:21:35 +0000 (09:21 +0000)]
Merge "Add download handler script to bash installer"

5 years agoMerge "Add upload script for npms to bash installer"
Petr Ospalý [Thu, 20 Dec 2018 09:20:54 +0000 (09:20 +0000)]
Merge "Add upload script for npms to bash installer"

5 years agoMerge "Add NFS setup for bash installer"
Petr Ospalý [Thu, 20 Dec 2018 09:20:12 +0000 (09:20 +0000)]
Merge "Add NFS setup for bash installer"

5 years agoMerge "Add handling with offline data"
Petr Ospalý [Thu, 20 Dec 2018 09:19:50 +0000 (09:19 +0000)]
Merge "Add handling with offline data"

5 years agoMerge "Add cleanup tools to bash installer"
Petr Ospalý [Thu, 20 Dec 2018 09:19:19 +0000 (09:19 +0000)]
Merge "Add cleanup tools to bash installer"

5 years agoMerge "Add self-installer creation to bash installer"
Petr Ospalý [Thu, 20 Dec 2018 09:18:55 +0000 (09:18 +0000)]
Merge "Add self-installer creation to bash installer"

5 years agoMerge "Add data list gathering script"
Petr Ospalý [Thu, 20 Dec 2018 09:18:39 +0000 (09:18 +0000)]
Merge "Add data list gathering script"

5 years agoAdd ONAP deployment 67/74967/1
Tomáš Levora [Thu, 20 Dec 2018 09:10:38 +0000 (10:10 +0100)]
Add ONAP deployment

Adding deploy onap script

Issue-ID: OOM-1551

Change-Id: Ib4c876880600431eb87851910f1151c112c9c67e
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
5 years agoAdd data list gathering script 66/74966/1
Tomáš Levora [Thu, 20 Dec 2018 09:08:00 +0000 (10:08 +0100)]
Add data list gathering script

Adding script for gathering data lists

Issue-ID: OOM-1551

Change-Id: If2eff9c3eed23e89038d0eab73810b10281de0a4
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
5 years agoAdd self-installer creation to bash installer 65/74965/1
Tomáš Levora [Thu, 20 Dec 2018 08:57:39 +0000 (09:57 +0100)]
Add self-installer creation to bash installer

Adding script creating self-installer package

Issue-ID: OOM-1551

Change-Id: If10e12da440864c3d72ca9a5b1fc27d89256225a
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
5 years agoAdd cleanup tools to bash installer 64/74964/1
Tomáš Levora [Thu, 20 Dec 2018 08:52:26 +0000 (09:52 +0100)]
Add cleanup tools to bash installer

Adding script for deleting local images and cleanup script to bash
installer

Issue-ID: OOM-1551

Change-Id: I9459a9fc803a12abb5e2306d651b5307da5aca6d
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
5 years agoAdd handling with offline data 63/74963/1
Tomáš Levora [Thu, 20 Dec 2018 08:48:44 +0000 (09:48 +0100)]
Add handling with offline data

Adding handling scripts for download and load offline data for bash
installer

Issue-ID: OOM-1551

Change-Id: I59feea8396841cb660463524f58ec65c626e69a6
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
5 years agoAdd NFS setup for bash installer 62/74962/1
Tomáš Levora [Thu, 20 Dec 2018 08:45:02 +0000 (09:45 +0100)]
Add NFS setup for bash installer

Adding NFS installation and setup for bash installer

Issue-ID: OOM-1551

Change-Id: Iba4b7f7136018027053d1c7cca0641c9d0ee3d7f
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
5 years agoAdd upload script for npms to bash installer 60/74960/1
Tomáš Levora [Thu, 20 Dec 2018 08:40:36 +0000 (09:40 +0100)]
Add upload script for npms to bash installer

Adding script for uploading NPM packages to private Nexus repository

Issue-ID: OOM-1551

Change-Id: Ic4d5e28f5bfc80df7db214aec650c99ad91c7730
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
5 years agoAdd download handler script to bash installer 59/74959/1
Tomáš Levora [Thu, 20 Dec 2018 08:37:49 +0000 (09:37 +0100)]
Add download handler script to bash installer

Adding handler to help with downloading files for bash installer

Issue-ID: OOM-1551

Change-Id: I34008f681274515b833947f4880c8ac0fbfdf34d
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
5 years agoAdd docker login script for bash installer 57/74957/1
Tomáš Levora [Thu, 20 Dec 2018 08:33:00 +0000 (09:33 +0100)]
Add docker login script for bash installer

Adding docker login script to log to private nexus registry

Issue-ID: OOM-1551

Change-Id: I3420c1427af64ab2db9d0932f2179b4b306128d9
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
5 years agoAdd certificate extraction and generation 54/74954/1
Tomáš Levora [Thu, 20 Dec 2018 08:02:23 +0000 (09:02 +0100)]
Add certificate extraction and generation

Adding extraction and generation of certificates for nginx to handle SSL
connection to nexus repository in bash installer

Issue-ID: OOM-1551

Change-Id: Icf24bea5204c62f398a025178ff6d8a51d6bbb78
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
5 years agoMerge "Adding role for application handling"
Tomáš Levora [Thu, 20 Dec 2018 07:57:12 +0000 (07:57 +0000)]
Merge "Adding role for application handling"

5 years agoMerge "Adding main README file"
Tomáš Levora [Thu, 20 Dec 2018 07:57:01 +0000 (07:57 +0000)]
Merge "Adding main README file"

5 years agoMerge "Add ansible role for dns simulation"
Michal Ptacek [Thu, 20 Dec 2018 07:55:13 +0000 (07:55 +0000)]
Merge "Add ansible role for dns simulation"

5 years agoMerge "Uploading maven files script handler."
Michal Ptacek [Thu, 20 Dec 2018 07:54:01 +0000 (07:54 +0000)]
Merge "Uploading maven files script handler."

5 years agoMerge "Add ansible firewall role"
Michal Ptacek [Thu, 20 Dec 2018 07:53:10 +0000 (07:53 +0000)]
Merge "Add ansible firewall role"

5 years agoAdding role for application handling 40/74940/1
Michal Ptacek [Wed, 19 Dec 2018 19:42:03 +0000 (19:42 +0000)]
Adding role for application handling

this ansible role contains application specific tasks, it is
written in generic way and different helm charts can be used as
application. In addition operator can provide proprietary pre_install
and post_install hooks.

Change-Id: Ibe4b330e5a725dde41aca9f6a59d702cfaba6f52
Issue-ID: OOM-1551
Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
5 years agoAdding main README file 38/74938/1
Michal Ptacek [Wed, 19 Dec 2018 19:33:46 +0000 (19:33 +0000)]
Adding main README file

main documentation for ansible offline installer

Change-Id: I4e2cebf26a1720600dfed1a4b4c83a68a85426ed
Issue-ID: OOM-1551
Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
5 years agoAdd ansible role for dns simulation 25/74925/1
Tomáš Levora [Wed, 19 Dec 2018 14:47:04 +0000 (15:47 +0100)]
Add ansible role for dns simulation

Adding role to simulate domain names for offline installation from
private nexus repositories

Issue-ID: OOM-1551

Change-Id: Ia3fe274e95ef078332627af9229195bd6e9a667d
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
5 years agoAdd ansible role for docker installation 23/74923/1
Tomáš Levora [Wed, 19 Dec 2018 14:39:22 +0000 (15:39 +0100)]
Add ansible role for docker installation

Adding ansible role for installation of docker and its setup

Issue-ID: OOM-1551

Change-Id: I49bca8eab46a2750cd627cbf709bed6744c88df5
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
5 years agoAdd ansible firewall role 22/74922/1
Tomáš Levora [Wed, 19 Dec 2018 14:34:21 +0000 (15:34 +0100)]
Add ansible firewall role

Adding role to disable firewall to prevent any issue with communication
during the installation

Change-Id: I2390f0bc5062933e6a8bf4dcbc0b255b283f993d
Issue-ID: OOM-1551
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
5 years agoUploading maven files script handler. 20/74920/1
Piotr Perzanowski [Wed, 19 Dec 2018 14:30:30 +0000 (15:30 +0100)]
Uploading maven files script handler.

Upload maven files to proper location.

Change-Id: Ic529b2ff3ce158f33a33e9f5dd306314040bd6d8
Issue-ID: OOM-1551
Signed-off-by: Piotr Perzanowski <p.perzanowsk@samsung.com>
5 years agoMerge "Adding ansible helm role"
Petr Ospalý [Wed, 19 Dec 2018 14:13:35 +0000 (14:13 +0000)]
Merge "Adding ansible helm role"

5 years agoMerge "Adding ansible vncserver role"
Petr Ospalý [Wed, 19 Dec 2018 14:13:18 +0000 (14:13 +0000)]
Merge "Adding ansible vncserver role"

5 years agoMerge "Add resource-data handling role"
Petr Ospalý [Wed, 19 Dec 2018 14:12:51 +0000 (14:12 +0000)]
Merge "Add resource-data handling role"

5 years agoMerge "Add an ansible config to enable custom roles"
Simon Hrabos [Wed, 19 Dec 2018 14:12:08 +0000 (14:12 +0000)]
Merge "Add an ansible config to enable custom roles"

5 years agoMerge "Add the playbook for unpacking the resources"
Simon Hrabos [Wed, 19 Dec 2018 14:12:00 +0000 (14:12 +0000)]
Merge "Add the playbook for unpacking the resources"

5 years agoMerge "Add the infrastructure playbook to setup cluster"
Simon Hrabos [Wed, 19 Dec 2018 14:11:51 +0000 (14:11 +0000)]
Merge "Add the infrastructure playbook to setup cluster"

5 years agoMerge "Add the playbook for deploying the kubernetes"
Simon Hrabos [Wed, 19 Dec 2018 14:11:43 +0000 (14:11 +0000)]
Merge "Add the playbook for deploying the kubernetes"

5 years agoMerge "Add application-install role"
Simon Hrabos [Wed, 19 Dec 2018 14:11:27 +0000 (14:11 +0000)]
Merge "Add application-install role"

5 years agoMerge "Add the playbook for deploying the helm app"
Simon Hrabos [Wed, 19 Dec 2018 14:10:49 +0000 (14:10 +0000)]
Merge "Add the playbook for deploying the helm app"

5 years agoMerge "Add the wrapper for running the ansible"
Simon Hrabos [Wed, 19 Dec 2018 14:10:30 +0000 (14:10 +0000)]
Merge "Add the wrapper for running the ansible"

5 years agoMerge "Add .gitignore to the ansible directory"
Simon Hrabos [Wed, 19 Dec 2018 14:09:33 +0000 (14:09 +0000)]
Merge "Add .gitignore to the ansible directory"

5 years agoMerge "Add empty application directory with README"
Simon Hrabos [Wed, 19 Dec 2018 14:08:17 +0000 (14:08 +0000)]
Merge "Add empty application directory with README"

5 years agoAdd the wrapper for running the ansible 17/74917/1
Petr Ospalý [Wed, 19 Dec 2018 14:07:22 +0000 (15:07 +0100)]
Add the wrapper for running the ansible

This script can run ansible playbook inside the docker
container or (default) in the chroot environment.

Change-Id: I713d6d76a4e20fc365a0ac7f47482004608354f6
Issue-ID: OOM-1551
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>
5 years agoAdd the playbook for deploying the helm app 14/74914/1
Petr Ospalý [Wed, 19 Dec 2018 14:00:09 +0000 (15:00 +0100)]
Add the playbook for deploying the helm app

The application specific stuff should be in the
directory application - look at the README.md there

Change-Id: I59d103246d0f54ea329a04d43479c4f31952b902
Issue-ID: OOM-1551
Signed-off-by: Petr Ospalý <p.ospaly@partner.samsung.com>