Bartek Grzybowski [Tue, 26 Jan 2021 14:30:12 +0000 (15:30 +0100)]
Add 'chartmuseum' role
Added 'chartmuseum' role which runs Helm repository server using
chartmuseum.
Change-Id: I8745cd7e602e147fb656297e0afb8e82a5d058ff
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Tue, 26 Jan 2021 08:35:25 +0000 (09:35 +0100)]
Split Helm v2 setup to separate playbook
Logically splitting the application playbook to put
Helm v2 and v3 specific setup actions into separate
tasks file.
Change-Id: I20446a196bb2687e27fdeb6a45a83565b676fc42
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Mon, 25 Jan 2021 15:33:22 +0000 (16:33 +0100)]
Improve 'application' role test coverage
Helm plugin installation task is now also covered
Change-Id: Ib0a724de5dc1b300ea6cd27fe363b99b071d787b
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Fri, 22 Jan 2021 14:09:51 +0000 (15:09 +0100)]
Add Helm v3 plugin deployment playbook
Change-Id: I3999dd64dd87f163a3306b74cec88019d821759e
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Fri, 22 Jan 2021 12:04:42 +0000 (13:04 +0100)]
Move Helm v2 plugin installation logic into separate playbook
Change-Id: Icc767450da832d8792b7bdf33f85e5ffc97ee435
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Tue, 19 Jan 2021 14:33:46 +0000 (15:33 +0100)]
Add support for Helm v3
This change adds support for extracting docker image list using
Helm version 3. Chartmuseum is used to serve the charts.
Change-Id: Ib7d7da312c1d9750548dd560d9571eb4715c0fa8
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Tue, 19 Jan 2021 10:28:43 +0000 (11:28 +0100)]
Fix cleanup sequence
Chart repository process should be killed before removing it's storage
Change-Id: Idd53a0cc812ca0d17beb3e0f7264de4280a6b536
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Tue, 19 Jan 2021 10:26:05 +0000 (11:26 +0100)]
Setup separate script logic for helm v3 handling
Change-Id: I2c1d5233ff43c2fc2cee104b1438089574935023
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Mon, 18 Jan 2021 14:12:07 +0000 (15:12 +0100)]
Set HELM_VERSION variable
It will be leveraged for different handling of helm v2 and v3 workflow
Change-Id: I3d3939ef2ed491e9534b560c24af7e4ba9ed505d
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Mon, 18 Jan 2021 13:52:55 +0000 (14:52 +0100)]
Allow setting custom Helm binary path
Change-Id: I66e232a8c243df89a1a9b573c592a08c72dc5324
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Mon, 18 Jan 2021 11:36:18 +0000 (12:36 +0100)]
Update download link for Helm v2
Official helm binaries are hosted on get.helm.sh
Change-Id: I4aab0b757f38e904a0bfd7483a92728f4a901a3a
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 17 Dec 2020 15:41:17 +0000 (16:41 +0100)]
Support setting custom dns resolver
This change allows setting custom dns resolvers on control node
and all k8s hosts.
Change-Id: I49db6e5d5d3b5be5082adc73810eb282dce14eed
Issue-ID: OOM-2650
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Fri, 11 Dec 2020 12:57:08 +0000 (13:57 +0100)]
Support setting custom docker registry mirror in cicdansible
This facility allows setting custom docker registry mirror on k8s
hosts in Docker global config.
Change-Id: I01d02bdbabf2bed0b5b55819ae22770dd52de771
Issue-ID: OOM-2650
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Tue, 22 Dec 2020 09:36:47 +0000 (10:36 +0100)]
Don't refresh repository cache upon init
Main reason for adding this option is that stable repo
url of https://kubernetes-charts.storage.googleapis.com
has been obsoleted hence the "init" command fails on trying
to reach it. Since we're removing it afterwards anyway thus
--skip-refresh will allow "init" to pass without actually trying
to get it's contents.
Change-Id: I0719648fcfaf30da52ae19327f024b901471f188
Issue-ID: OOM-2660
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 17 Dec 2020 11:54:31 +0000 (12:54 +0100)]
Fix Molecule framework runner setup scripts
Ansible-lint release has to be set explicitly as the one installed
by default breaks the linter execution.
Change-Id: Id824fb3f4ae94cf8608736bbebb1809568193050
Issue-ID: OOM-2650
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 25 Nov 2020 14:22:16 +0000 (15:22 +0100)]
Support "fake" OOM deployment
"Fake deployment" is an OOM offline deployment mode which
allows to enumerate docker images utilized by auxiliary platform
deployment tools, which are not used by any real ONAP helm charts,
by the means of "helm template".
Change-Id: Iaa26281a1e7ef7ac68bb9e9a99521e5791f913b6
Issue-ID: OOM-2639
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Fri, 20 Nov 2020 11:51:17 +0000 (12:51 +0100)]
Enhance repo creation scripts idempotency by supporting caching
While 'yumdownloader' and 'apt-get download' commands do not
re-download packages that are already present in working dir,
scripts still need to perform package dependencies resolution
which is a time consuming activity hence a feature was added to
skip any further actions (download or deps resolution) on packages
that are already present locally.
For cold versus warm cache the gain in run time is:
cold warm
RPM 90s 10s
DEB 7m 90s
Change-Id: Ie502934cff6484844557832251e7ce0991789cfb
Issue-ID: OOM-2635
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Fri, 20 Nov 2020 11:28:19 +0000 (12:28 +0100)]
Fix Ubuntu package list
Change-Id: I7d8d83622a3280b7f70b495500855134af1ab7e2
Issue-ID: OOM-2635
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Mon, 16 Nov 2020 14:39:08 +0000 (15:39 +0100)]
Fix race condition while creating dest dir for docker images
Docker_downloader module uses threads to concurrently save
docker images to dest dir which creation is not guarded with any
kind of thread lock object thus it could fail on os.makedirs as other
thread could have already created that dir. Hence "exist_ok=True"
opt is added to os.makedirs call so that it does not fail in such
circumstances.
Change-Id: I6e2d2c9864b71d038e7b2ed3018cdd3c01916956
Issue-ID: OOM-2631
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Fri, 6 Nov 2020 10:34:48 +0000 (11:34 +0100)]
Support setting ansible docker image name from env variable
Change-Id: Ie864f8e12bb9eac02a901d93c870c4679aedba94
Issue-ID: OOM-2625
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 12 Nov 2020 15:05:51 +0000 (16:05 +0100)]
Upgrade nfs-utils package version
Change-Id: Ie824d8be21269b3c1ba233c6450ddab617f0159e
Issue-ID: OOM-2615
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 12 Nov 2020 13:42:22 +0000 (13:42 +0000)]
Merge changes from topic "OOM-2623"
* changes:
Abort if helm process failed to spawn
Add feature to set custom helm repository server port
Override oom-cert-service docker container name
Setup temporary helm repository
Bartek Grzybowski [Wed, 4 Nov 2020 14:35:19 +0000 (15:35 +0100)]
Abort if helm process failed to spawn
Change-Id: I930d3ca4c3d9ab49286a38c0ea298abe807ac781
Issue-ID: OOM-2623
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 4 Nov 2020 12:28:00 +0000 (13:28 +0100)]
Add feature to set custom helm repository server port
Change-Id: Ia273290ce661c2e4887e16a3a323a7349c609546
Issue-ID: OOM-2623
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Marcin Wilk [Tue, 10 Nov 2020 11:22:59 +0000 (12:22 +0100)]
Add precise operating system package requirements
In order to make sure that kubernetes nodes will be installed with
the required software packages before the actual ONAP installation,
the more specific requirements have been added to the Installation
Guide.
Issue-ID: OOM-2627
Change-Id: I4f9e2a5aed969563f94c360e59f034f5f8995f52
Signed-off-by: Marcin Wilk <m.wilk@samsung.com>
Bartek Grzybowski [Wed, 4 Nov 2020 11:14:29 +0000 (12:14 +0100)]
Override oom-cert-service docker container name
Container name for certificate generation tool is hardcoded
as "generate-certs" hence multiple builds couldn't run in parallel.
This change overrides DOCKER_CONTAINER oom-cert-service makefile
variable changing the container name effectively.
Change-Id: I397ab7f3b04d35070cfb492ca482521ee10159fa
Issue-ID: OOM-2623
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 4 Nov 2020 10:52:48 +0000 (11:52 +0100)]
Setup temporary helm repository
A temporary helm repository will be created for the
process of preparing data list and removed afterwards.
This allows setting a separate working helm repo not
affecting system wide configuration.
Change-Id: I775e28b7c5f0e9b5259588032346ff392f1b1803
Issue-ID: OOM-2623
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 4 Nov 2020 07:41:34 +0000 (07:41 +0000)]
Merge "Update package versions"
Bartek Grzybowski [Thu, 29 Oct 2020 10:51:54 +0000 (11:51 +0100)]
Update package versions
Drop packages that are downloaded as dependencies of others anyway
Dependencies of container-selinux:
--> Processing Dependency: policycoreutils-python for package:
2:container-selinux-2.119.2-1.
911c772.el7_8.noarch
--> Processing Dependency: audit-libs-python >= 2.1.3-4 for package:
policycoreutils-python-2.5-34.el7.x86_64
--> Processing Dependency: checkpolicy for package:
policycoreutils-python-2.5-34.el7.x86_64
Dependencies of nfs-utils:
--> Processing Dependency: gssproxy >= 0.7.0-3 for package:
1:nfs-utils-1.3.0-0.66.el7_8.x86_64
Change-Id: Ia67399685af0205474fa21fbc1fe3ec7eea261bb
Issue-ID: OOM-2615
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 29 Oct 2020 14:31:12 +0000 (15:31 +0100)]
Fail the entrypoint script on any command failure
Most importantly this will allowing propagating the
failure to the wrapper script.
Change-Id: I3f419f588e0f0fb5b459fa1d8e8d520b9f5c78d5
Issue-ID: OOM-2615
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 29 Oct 2020 13:03:50 +0000 (14:03 +0100)]
Clean target repository dir prior to downloading packages
This increases idempotency and allows avoiding side effects
in cases where repo dir already contains images that are not
on the list of required packages.
Change-Id: Ieaa4e407ae7aacdc8d25440d90860cb880df09e2
Issue-ID: OOM-2615
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 28 Oct 2020 13:45:53 +0000 (14:45 +0100)]
Run docker container in foreground
This equals current behaviour of running in background and
then attaching running container to print logs but will allow
wrapper script to inherit exit code from entrypoint script.
Change-Id: Ida447ef8024995de6cad81aa2dc857aec36e0d04
Issue-ID: OOM-2615
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Tue, 27 Oct 2020 12:30:06 +0000 (13:30 +0100)]
Support setting custom Docker container name suffix
Change-Id: Ic3e4553442efd4c565c834a80184ff78e978cdba
Issue-ID: OOM-2612
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Tue, 27 Oct 2020 11:12:36 +0000 (12:12 +0100)]
Drop docker container cleanup statement
Container is run with "--rm" option hence manual
cleanup is not needed in any case.
Change-Id: Iafe8287b8486abcd4a44fec102db8bfb89af1b63
Issue-ID: OOM-2612
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Tue, 27 Oct 2020 09:50:35 +0000 (10:50 +0100)]
Fix English in comments; fix script synopsis text
Change-Id: I6a67a8e675bdde8d9febc3edf8205c7516d979b8
Issue-ID: OOM-2612
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Fri, 23 Oct 2020 09:35:44 +0000 (11:35 +0200)]
Use temporary Docker client config
Change-Id: I2c864cbd553e377aa594badf4df58206e40e5794
Issue-ID: OOM-2605
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 22 Oct 2020 13:35:10 +0000 (15:35 +0200)]
Support publishing exposed container ports on custom host ports
Change-Id: I3dcd47932821a124906f8d125697ecbe21c259af
Issue-ID: OOM-2605
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 22 Oct 2020 10:46:17 +0000 (12:46 +0200)]
Drop registry hosts simulation
Instead of simulating all images original registry
hostnames locally running Nexus instance IP address is
used to simplify the whole procedre.
Change-Id: I42de7e2bc177a9b784090aece0b4ebe7d57912e7
Issue-ID: OOM-2605
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 22 Oct 2020 10:30:41 +0000 (12:30 +0200)]
Drop exposing additional ports
As the default registry is the only one being set
it's no more required to publish ports for each
registry listed in images list file.
Change-Id: I55a5e1f527bbc98dd4c1e1835c4218dc0fad4c1a
Issue-ID: OOM-2605
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 22 Oct 2020 09:40:20 +0000 (11:40 +0200)]
Push all images to simulated Docker registry only
In previous implementation all images were pushed to
their original registries which were simulated locally.
This change retags all images to locally simulated docker
registry only and pushes them there accordingly.
Created temporary tag is dropped at the end for order.
Change-Id: If1b6633fdcc13d47c6e2b26792980320dce7f49a
Issue-ID: OOM-2605
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 21 Oct 2020 11:58:05 +0000 (13:58 +0200)]
Support setting custom Nexus container name
Change-Id: I41098413b96ac08fe479167aa0f5d0c4a699ef33
Issue-ID: OOM-2605
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 21 Oct 2020 08:09:46 +0000 (10:09 +0200)]
Bump the nfs-utils package version
Previous version was no longer available in repository
Change-Id: I5bf1048c6ef6438b4cd50ad4231132da2f67432e
Issue-ID: OOM-2604
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Fri, 16 Oct 2020 11:05:59 +0000 (13:05 +0200)]
Set SKIP_LINT=true prior to building helm repository
SKIP_LINT was already configured to be set in
deployment stage in change
0d90cf8fe895e62b7343088ca9a017eff32e92dd
but was missed to be set in build script.
Change-Id: I599882eaa2e509fda6a41ca5bf5ff77a275adf93
Issue-ID: OOM-2599
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Fri, 9 Oct 2020 08:50:46 +0000 (10:50 +0200)]
Ignore error if helm stable repo is already removed
Fixes
e941ec1
Change-Id: I8b5cb6a81998e32204d49c0f2630e1097f830aee
Issue-ID: OOM-2591
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 8 Oct 2020 12:55:32 +0000 (14:55 +0200)]
Remove helm "stable" repo while building charts
"Stable" repo is removed on targed deployment by a relevant
ansible task, it should be removed in build stage as well.
Change-Id: Ia89435e73c547e7d1cc4de19d635173307d083f4
Issue-ID: OOM-2591
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 24 Sep 2020 10:09:22 +0000 (12:09 +0200)]
Create directory for output list file if it doesn't exist
Should the output list file directory passed as second param
not exist the script would fail.
Change-Id: I4586df54b42eba2ace49f6aaf03b68042354b44a
Issue-ID: OOM-2578
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 23 Sep 2020 13:50:15 +0000 (15:50 +0200)]
Workaround random application_dir removal failure
In cases where --output-dir is set to a directory on a
NFS share shutil fails to remove the application_dir.
This WO will silence errors from rmtree routine.
Change-Id: I0c5d06982f0ba2eb5b15276890b474afc46894e0
Issue-ID: OOM-2577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Tue, 15 Sep 2020 14:51:24 +0000 (16:51 +0200)]
Add feature to install shell autocompletion for kubectl
Change-Id: I732dcd92144f9a8489a351047ab88b53ca36759e
Issue-ID: OOM-2564
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Tue, 8 Sep 2020 13:59:07 +0000 (15:59 +0200)]
Fix repository directory name
This fixes a regression bug introduced in
5907acf due
to not all 'rhel' path elements updated.
Change-Id: I21a7448aa4605f705cfb7a75030d69a0db04319f
Issue-ID: OOM-2150
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Tomáš Levora [Wed, 2 Sep 2020 05:58:04 +0000 (07:58 +0200)]
Adding missing rpm packages
If target OS is installed from RHEL 7.6 DVD ISO, there are missing
additional packages added by to the list by this patch.
Issue-ID: OOM-2549
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
Change-Id: I00c8fb3e8e6fb0f1a3879bd66a5c5e2542d321d3
Tomáš Levora [Thu, 20 Aug 2020 06:29:14 +0000 (06:29 +0000)]
Merge "Refactor helm-healer script"
Bartek Grzybowski [Thu, 30 Jul 2020 13:00:02 +0000 (15:00 +0200)]
Add automatic virtualenv provisioner for download and package script
Change-Id: I072d514c7c2f03991caf6714dbdc0d2d7e5c8bb9
Issue-ID: INT-1670
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 29 Jul 2020 13:36:15 +0000 (15:36 +0200)]
Fix linting issues in Python scripts
Change-Id: I198340670f808d42aa6fb16de573db4a65005985
Issue-ID: INT-1667
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 29 Jul 2020 13:33:27 +0000 (15:33 +0200)]
Add Tox and Coala setup for Python linter
Change-Id: Ic2e16c14f13c244f77c16fa5f38349f4549603a3
Issue-ID: INT-1666
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Mateusz Pilat [Thu, 9 Jul 2020 13:31:58 +0000 (15:31 +0200)]
Refactor helm-healer script
Extending helm-helper.sh funtionalities:
-detecting orphaned resources
-removing persistance storage for volumes
Issue-ID: OOM-2074
Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com>
Change-Id: Ia7fd21ab61bfedc39647a30528a122a49a8fd79f
Tomáš Levora [Mon, 11 May 2020 11:50:06 +0000 (13:50 +0200)]
Updating RKE version to Frankfurt
Updating RKE to v1.0.4 for Kubernetes 1.15.9
Issue-ID: OOM-2403
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
Change-Id: I87c3f9f4800aa40f62d7569b4ecf3fa373a16796
Tomáš Levora [Wed, 27 May 2020 10:51:44 +0000 (10:51 +0000)]
Merge "Fix: Fix docker cli version mismatch"
Tomáš Levora [Mon, 11 May 2020 11:15:11 +0000 (13:15 +0200)]
Updating helm for Frankfurt
Updaing helm to v2.16.6 as required by OOM Frankfurt
Issue-ID: OOM-2363
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
Change-Id: Ibcf47c26dadc359cb86e039d802ff6afbef7efbd
Tomáš Levora [Thu, 21 May 2020 11:18:08 +0000 (11:18 +0000)]
Merge "Updating kubectl for Frankurt"
Mateusz Pilat [Wed, 20 May 2020 12:58:50 +0000 (14:58 +0200)]
Fix: Fix docker cli version mismatch
Docker cli version is different than docker engine version & Improve output of verification job
Issue-ID: OOM-2415
Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com>
Change-Id: Iebf8946c4a8b3eb3abd45402d6d573e403ac9ef2
Bartek Grzybowski [Mon, 18 May 2020 09:50:24 +0000 (09:50 +0000)]
Merge "Adding Ubuntu support in Ansible - vncserver role"
Jan Benedikt [Mon, 10 Feb 2020 15:36:30 +0000 (16:36 +0100)]
Adding Ubuntu support in Ansible - vncserver role
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in vncserver role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: Ie57885d30166f319629e160c38a9053c18837515
Jan Benedikt [Mon, 10 Feb 2020 15:29:43 +0000 (16:29 +0100)]
Adding Ubuntu support in Ansible - package-repository role
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in package-repository role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I85d4e6857536fa06c7eb4f4042c1ed64fcbf903e
Mateusz Pilat [Thu, 14 May 2020 12:43:53 +0000 (14:43 +0200)]
Fix: docker-images-collector.sh collect empty image name in output list. Adding also masterPassword param for helm templating
The root cause is that not all parameters are present in aaf chart. It is an issue not only for image params, however other cases are not impacting us. Issue-ID: OOM-2405
Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com>
Change-Id: I1ad1d33717488a82a2ce1eebe524ee41e1264d40
Tomáš Levora [Mon, 11 May 2020 12:03:17 +0000 (14:03 +0200)]
Updating kubectl for Frankurt
Updating kubectl to v1.15.11 as required for Frankfurt
Issue-ID: OOM-2404
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
Change-Id: I4165271fea9b8024e68f9d395f257e858bd605d7
Jan Benedikt [Tue, 5 May 2020 06:46:19 +0000 (08:46 +0200)]
Fix lint errors in package-repository-check role
In package-repository-check was changed command module to service module due to lint failing.
Failing was caused by errors:
[301] Commands should not change things if nothing needs doing
[303] service used in place of service module
Added molecule test.
Issue-ID: OOM-2395
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I6cfdfe920eabfb9a0c43cc9ba4ffcd81df1d6852
Bartek Grzybowski [Mon, 4 May 2020 14:20:37 +0000 (14:20 +0000)]
Merge "Adding docker images collector requirement"
Bartek Grzybowski [Mon, 4 May 2020 12:55:18 +0000 (14:55 +0200)]
Change name of clashing 'packages' variables
This fixes a regression from
b6455ee: 'packages' variable
is injected in 'firewall' role by package_facts module with
a higher priority than variable of same name defined in 'docker'
roles' defaults.
Change-Id: I41e0f992ceaab871ae38fb1b8211fd71c042c9b2
Issue-ID: INT-1578
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Tomáš Levora [Mon, 4 May 2020 11:07:07 +0000 (13:07 +0200)]
Adding docker images collector requirement
Adding pyyaml to requirements as it's required by
docker-images-collector.sh
Issue-ID: OOM-2393
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
Change-Id: I52036a8f905fa50eecaddee062d73a38ad2ed9ca
Bartek Grzybowski [Mon, 4 May 2020 08:16:40 +0000 (08:16 +0000)]
Merge "Verify required packages were installed on target host"
Bartek Grzybowski [Thu, 30 Apr 2020 12:02:03 +0000 (05:02 -0700)]
Verify required packages were installed on target host
Change-Id: Ic074cbabfee614daf7862466a1bbafc9ff0fb6be
Issue-ID: INT-1576
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Jan Benedikt [Thu, 30 Apr 2020 12:04:05 +0000 (14:04 +0200)]
Adding Ubuntu support in Ansible - application role install make
Helm using "make" package for building local helm repository.
In Ubuntu distribution is this package missing so is necessary to install it.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I808dcb57396caf82a60d17f50515bae59b5d85ca
Bartek Grzybowski [Thu, 30 Apr 2020 11:30:12 +0000 (11:30 +0000)]
Merge "Adding Ubuntu support in Ansible - package-repository-check role"
Bartek Grzybowski [Thu, 30 Apr 2020 11:25:49 +0000 (11:25 +0000)]
Merge "Adding Ubuntu support in Ansible - helm role"
Jan Benedikt [Mon, 10 Feb 2020 15:13:58 +0000 (16:13 +0100)]
Adding Ubuntu support in Ansible - package-repository-check role
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in package-repository-check role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I9dcdbab00169ccfc13a10c1d9b6ec9cf10572688
Jan Benedikt [Mon, 10 Feb 2020 14:43:55 +0000 (15:43 +0100)]
Adding Ubuntu support in Ansible - helm role
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in helm role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: If28ee7674c4f9eebc4420f4dbbb1385a408d3802
Bartek Grzybowski [Thu, 30 Apr 2020 10:25:21 +0000 (10:25 +0000)]
Merge "Adding Ubuntu support in Ansible - certificates role"
Ondřej Šmalec [Mon, 16 Mar 2020 14:23:11 +0000 (15:23 +0100)]
Adding git package as additional one
Adding git package into additional_packages.list
It is needed to download additional stuff using git on infra server.
Issue-ID: OOM-2338
Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com>
Change-Id: Ibc7708de697bfd5d2318d9ef30d4d556e20b0798
Bartek Grzybowski [Thu, 30 Apr 2020 09:26:19 +0000 (09:26 +0000)]
Merge "Adding Ubuntu support in Ansible - docker role"
Bartek Grzybowski [Thu, 30 Apr 2020 09:19:17 +0000 (09:19 +0000)]
Merge "Adding Ubuntu support in Ansible - chrony role"
Jan Benedikt [Thu, 19 Mar 2020 15:03:25 +0000 (16:03 +0100)]
Adding support for another packages lists
Adding support for another packages lists in create_repo script.
Additional package lists is for packages which are for example helpful tools for debugging.
Issue-ID: OOM-2340
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: If0bcb437809b60d83ed92436adade086314ccfac
Jan Benedikt [Wed, 11 Mar 2020 12:48:52 +0000 (13:48 +0100)]
Adding Ubuntu support in Ansible - chrony role
Extending ansible playbooks of ubuntu support.
Change the order in role calls.
Chrony role was moved due to its absence in Ubuntu distribution.
Firstly is necessary to initialize package repository and after that install Chrony.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: Icadf8e106fba4a369148db0959dcac07a79257c2
Jan Benedikt [Mon, 10 Feb 2020 14:15:41 +0000 (15:15 +0100)]
Adding Ubuntu support in Ansible - certificates role
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in certificates role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I82f0f8590812c277f2969d71f95fb6475c72f7c8
Tomáš Levora [Wed, 29 Apr 2020 11:10:26 +0000 (11:10 +0000)]
Merge "Adding support for Ubuntu in create_repo and docker_entrypoint scripts"
Jan Benedikt [Tue, 17 Mar 2020 10:31:39 +0000 (11:31 +0100)]
Adding Ubuntu support in Ansible - docker role
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in docker role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I4786dcd4b2de3f8d189db3b619c3d75315302506
Bartek Grzybowski [Thu, 23 Apr 2020 08:46:50 +0000 (08:46 +0000)]
Merge "Adding Ubuntu support in Ansible - resource-data role"
Jan Benedikt [Mon, 10 Feb 2020 15:25:21 +0000 (16:25 +0100)]
Adding Ubuntu support in Ansible - resource-data role
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in resource-data role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I7b6852cb235a2983f5cc6eb6a3bfa122d6a1fd2e
Jan Benedikt [Mon, 10 Feb 2020 15:23:04 +0000 (16:23 +0100)]
Adding Ubuntu support in Ansible - nginx role
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in nginx role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I5f6a5aedfd9a2e17d3b1bb711d3e85a242b5e2d5
Bartek Grzybowski [Wed, 22 Apr 2020 09:28:42 +0000 (09:28 +0000)]
Merge "Adding Ubuntu support in Ansible - kubectl role"
Jan Benedikt [Mon, 10 Feb 2020 12:46:52 +0000 (13:46 +0100)]
Adding support for Ubuntu in create_repo and docker_entrypoint scripts
Extend script for creating repository with adding Ubuntu platform support.
Issue-ID: OOM-1671
Change-Id: I6b1c63cda18e53277fc2aad6dfa3eceefc9a0023
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Bartek Grzybowski [Tue, 21 Apr 2020 13:53:52 +0000 (13:53 +0000)]
Merge "Remove python 2 dependency"
Jan Benedikt [Mon, 10 Feb 2020 13:45:09 +0000 (14:45 +0100)]
Adding Ubuntu support in Ansible - application role
Extending ansible playbooks of ubuntu support. Creating new test with Ubuntu image for Molecule in application role.
Issue-ID: OOM-1671
Change-Id: I7662506263a143cb7193583d2058766ac7829d93
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Bartek Grzybowski [Tue, 21 Apr 2020 13:03:17 +0000 (13:03 +0000)]
Merge "Adding Ubuntu support in Ansible - setup role"
Bartek Grzybowski [Tue, 21 Apr 2020 12:58:22 +0000 (12:58 +0000)]
Merge "Adding Ubuntu support in Ansible - dns role"
Tomáš Levora [Tue, 21 Apr 2020 12:40:24 +0000 (12:40 +0000)]
Merge "Adding Ubuntu support in Ansible - nfs role"
Jan Benedikt [Mon, 10 Feb 2020 14:44:01 +0000 (15:44 +0100)]
Adding Ubuntu support in Ansible - dns role
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in dns role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: I414df46093fd300891b9df44e12a0225495cc906
Jan Benedikt [Mon, 10 Feb 2020 15:06:37 +0000 (16:06 +0100)]
Adding Ubuntu support in Ansible - nfs role
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in nfs role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: Ib1c85e4df7ec2ba547a20684ed5e23e097351df2
Jan Benedikt [Mon, 10 Feb 2020 14:51:36 +0000 (15:51 +0100)]
Adding Ubuntu support in Ansible - nexus role
Extending ansible playbooks of ubuntu support.
Creating new test with Ubuntu image for Molecule in nexus role.
Issue-ID: OOM-1671
Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com>
Change-Id: If2750997057126405987a0362d915456ffe77fff
Tomáš Levora [Thu, 9 Apr 2020 08:14:57 +0000 (10:14 +0200)]
Remove python 2 dependency
Removing python 2 dependency from docker-image-collector.sh
Issue-ID: OOM-2359
Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com>
Change-Id: I6aa4d27cdb10e93981e3dacfb16b2d02a0bf0762
Jessica Wagantall [Wed, 8 Apr 2020 18:10:31 +0000 (18:10 +0000)]
Merge "Automation adds index.rst"