summaryrefslogtreecommitdiffstats
path: root/build
AgeCommit message (Collapse)AuthorFilesLines
2022-04-19[ANSIBLE][BUILD] Provision strimzi-kafka-operatorBartek Grzybowski3-1/+4
Jakarta requires Strimzi Kafka Operator to be installed in the k8s cluster Change-Id: Id648c7f1e060923df5a5761daf3f2d20f4a49e39 Issue-ID: OOM-2948 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-04-19[ANSIBLE][BUILD] Switch to default authorization scheme for Kubernetes APIBartek Grzybowski1-0/+1
In RKE 1.3.8 nginx ingress controller pods failed to run with authorization turned off. Change-Id: I92f5cdee661a91c05ea8ae1fa2ac6183705a3d1f Issue-ID: OOM-2948 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-04-19[BUILD] Improve helm template outputBartek Grzybowski1-1/+1
In Jakarta a ConfigMap object has been added in dcaemod chart that contains a raw helm chart definition with templated "image" value that should not be parsed by the script to avoid vague output. Change-Id: I6ea7e1e163a704f66aea59d44a09ff330fdc86bc Issue-ID: OOM-2948 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-04-19[BUILD] Update image data list for RKE 1.3.8Bartek Grzybowski1-13/+14
Change-Id: Ie87f33948f3dd894093ea6e879b597b7f7d8b3b9 Issue-ID: OOM-2948 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-04-19[ANSIBLE][BUILD] Update RKE to 1.3.8Bartek Grzybowski1-2/+2
RKE upgrades to 1.3.8 Kubernetes upgrades to v1.22.7-rancher1-1 Kubectl upgrades to 1.22.7 Change-Id: Id17ffa1ce9aef08a6b0a8aa771e7f763d5cb9f02 Issue-ID: OOM-2948 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-03-21[BUILD] Drop make's "onap" target while building the chartsBartek Grzybowski1-1/+1
Change-Id: I57d73afd7f5690f0c379b4f60e74f271bf3bd7cb Issue-ID: OOM-2946 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-03-08[BUILD] Add tests for docker downloader scriptBartek Grzybowski6-1/+118
This adds test routines for downloader script leveraging tox and pytest Change-Id: I0c603434fd323741ad5230679c78c2c7e688edf3 Issue-ID: INT-1429 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-03-04[BUILD] Improve docker images download script testabilityBartek Grzybowski1-9/+10
Command line argument parsing routine now returns raw ArgumentParser object for easier instantiation in test routines. Change-Id: Icac599a6e72b0a7514a1a33d23624c44dc819b9b Issue-ID: INT-1429 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-03-01[BUILD] Fix docker mirror handlingBartek Grzybowski1-0/+2
In case image originates from same repository that is used as a docker mirror do not try to retag the image (to the same name which would end with error) Change-Id: I4c43315d5633e39a347492d2b2065bdddfead6fb Issue-ID: INT-1429 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-02-28Merge changes from topic "OOM-2927"Bartek Grzybowski2-10/+10
* changes: [ANSIBLE] Override sha tag for kube-webhook-certgen image [BUILD] Update image list for kube-prometheus-stack Revert "[PATCH] Add OOM patch for fixing mariadb metrics ServiceMonitor label selector" [ANSIBLE] [BUILD] Upgrade Kube Prometheus Stack to 32.2.1 [MOLECULE] Pin the markupsafe pip package in virtualenv
2022-02-28[BUILD] Fix a buggy condition in _pull_image routineBartek Grzybowski1-1/+1
Change-Id: Id9480ca97790e9732a3ab7ea53bfe3f14928c2d8 Issue-ID: OOM-2915 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-02-28[BUILD] Update image list for kube-prometheus-stackBartek Grzybowski1-9/+9
Change-Id: I484914d0d9fae371cede9293a104e6ed8e957cf6 Issue-ID: OOM-2927 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-02-28[ANSIBLE] [BUILD] Upgrade Kube Prometheus Stack to 32.2.1Bartek Grzybowski1-1/+1
Change-Id: I1f86b7d44716ed45abb2fdc63416d1d49004dffe Issue-ID: OOM-2927 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-01-26[BUILD] Enable importCustomCertsEnabled in docker images collector scriptBartek Grzybowski1-1/+1
Enabling it implies enumerating additional image for certInitializer which might be needed for some usecases. Change-Id: I3ed35d1be7f8542b57b5e142d2cc6eb679077ffd Issue-ID: OOM-2871 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-01-21[BUILD] Add option to define excluded private registriesBartek Grzybowski2-7/+18
This option allows to exclude pulling some images that originate from private registries from mirror defined in '--private-registry-mirror'. Change-Id: I49e73eb8a1e253667bde4a387cd809c278ba77d2 Issue-ID: OOM-2915 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-01-21[BUILD] Support docker mirror in download scriptBartek Grzybowski2-5/+32
A new option '--docker-private-registry-mirror' is added that allows pulling images which originate from private registries from custom docker mirroring repository (pull through cache) Change-Id: I28ee693438d3684d3d0000a7dd94a265c0a617c1 Issue-ID: OOM-2915 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2022-01-20[BUILD] Fix argument name for DockerDownloader class instantiationBartek Grzybowski1-3/+3
Change-Id: Ie21ad508da894992a8202d71f8ac62374c609733 Issue-ID: OOM-2915 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-12-10[BUILD] Drop Helm v2 codebase in docker-images-collector.shBartek Grzybowski1-47/+19
Change-Id: Id91028d9d29424dce040bb676c8b7694d9b6ca35 Issue-ID: OOM-2883 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-12-03[BUILD] Remove Helm v2 related artifactsBartek Grzybowski2-2/+0
Change-Id: I59ab1615669949d04145ab5e2600b683ecd98826 Issue-ID: OOM-2883 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-11-23[ANSIBLE] Install cmctl utilityBartek Grzybowski1-1/+2
Cert-manager role will also install cmctl utility for cert-manager resources management. Change-Id: I4c4d9ecb243c951a190733230f310f4899c9bc23 Issue-ID: OOM-2871 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-11-23[BUILD] Add download link for cmctl utility to binaries listBartek Grzybowski1-0/+1
This will download cmctl tool (https://cert-manager.io/next-docs/usage/cmctl/) Change-Id: I7247303d7ef5f0c8a7ab08c43a8705020918729a Issue-ID: OOM-2871 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-11-23[BUILD] Fetch artifacts required by cert-managerBartek Grzybowski3-1/+7
Relevant docker images required by cert-manager got added to image list file Helm chart archive file http link got added to utils list Change-Id: Iee7856b98edda501ab60e06f95426ce939d116d1 Issue-ID: OOM-2871 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-11-23[BUILD] Upgrade Helm to 3.6.3Bartek Grzybowski1-2/+1
As required by OOM Istanbul Change-Id: I3e5a9040798b8bf6b45e92e3c10233de8131a0b2 Issue-ID: OOM-2871 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-27[BUILD] Run Centos7.9 docker image for rpm downloadBartek Grzybowski1-1/+1
Change-Id: I1e4af38d326805c865adc4d920d95628e181fa2a Issue-ID: OOM-2837 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-14[BUILD] Update image data list for Kubernetes Dashboard v2.3.1Bartek Grzybowski1-1/+1
Change-Id: I6745436a217e538d55942b7898d9910758007c61 Issue-ID: OOM-2829 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-10[BUILD] Update docker image list for Kube Prometheus Stack 18.0.4Bartek Grzybowski1-8/+8
Change-Id: I3075fa187928995685a5758d50b409d8af2a15f8 Issue-ID: OOM-2826 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-10[BUILD] [ANSIBLE] Upgrade Kube Prometheus Stack to 18.0.4Bartek Grzybowski1-1/+1
Change-Id: I4fa2fcd3456232e3f03a66154a43e23ce92aae11 Issue-ID: OOM-2826 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-08[BUILD] Add Helm 3.5.2 to data listBartek Grzybowski1-0/+1
Change-Id: Ibe3e173858252e9ff401f95c795b83cdcbda1ff2 Issue-ID: OOM-2825 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-02[BUILD] Update image data list for RKE 1.3.0Bartek Grzybowski1-13/+13
Change-Id: I6449b4afbd8cdced887849087f559b8bb848e1f8 Issue-ID: OOM-2818 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-02[BUILD] Upgrade RKE and kubectl binaries version in data listBartek Grzybowski1-2/+2
RKE upgrades to 1.3.0 kubectl upgrades to 1.19.14 Change-Id: I1e31e91b84a2b233aa7729671ba18da12b75898c Issue-ID: OOM-2818 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-21[BUILD] Add Kube Prometheus Stack docker image list to default image listBartek Grzybowski1-1/+2
Change-Id: I121c1df6d71640554cefea43141d5c3399c4b9df Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-18[BUILD] Add 'busybox' image to kube-prometheus data listBartek Grzybowski1-0/+1
Required by Grafana init container Change-Id: Ib4097d24cef273bebf3b2683c57a4fcb8905713f Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-08[BUILD] Add the 'python2-openshift' packageBartek Grzybowski1-0/+1
It's required by the community.kubernetes.k8s ansible module Change-Id: I1efb961122a99c3d82f1c17e7015ec4c5484b2dd Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-01[BUILD] Symlink kube-prometheus-stack tgz file while creating offline packageBartek Grzybowski1-1/+2
Change-Id: Ib04d2ac27ed5bdb2e7896501378007610f7eefd0 Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-01[BUILD] Add kube-prometheus-stack helm chart package http resource urlBartek Grzybowski1-0/+1
Change-Id: I50aa6dc4e7b0662ad6bc0819286b117d703f517d Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-01[BUILD] Add datalist file for kube-prometheus-stackBartek Grzybowski1-0/+9
Change-Id: Ie2dc5f9e22ad6fef13f0863853d1bd5706ea61bb Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-03-31Upgrade Kubernetes Dashboard to v2.0.5Bartek Grzybowski1-2/+2
Currently used 2.0.0-beta4 supported k8s 1.15 at max Change-Id: I9565eaa78ebbca48377d65d87c77bc0893b29487 Issue-ID: OOM-2715 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-03-18Remove hardcoded docker image listBartek Grzybowski1-224/+0
OOM docker image list needs to be generated prior to ONAP deployment for the exact OOM project refspec used hence removing the file from repository as for most cases it'll be invalid anyway. Change-Id: I3da264e573f0d406ab7fd6adbee88f80db93b04a Issue-ID: OOM-2708 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-03-18Run chartmuseum in docker containerBartek Grzybowski1-31/+31
Switching from running local chartmuseum binary to chartmuseum docker container since docker engine is a runtime dependency anyway. Change-Id: I8aa66047d1fa91c2d248998a0c69a0e0a520af62 Issue-ID: OOM-2708 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-03-01Update image data list for RKE 1.2.4Bartek Grzybowski1-21/+13
Change-Id: Icc59efb1789f31f3d4b8409d67426d5eb2d876d5 Issue-ID: OOM-2686 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-02-23Upgrade RKE and kubectl binaries version in data listBartek Grzybowski1-2/+2
Change-Id: I1aff068caeb4213cbcefb9bd341e961b9d26a976 Issue-ID: OOM-2686 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-02-19Fix docker-entrypoint.shBartek Grzybowski1-2/+2
Change-Id: Ie737420d13ee455cc2b50d2541620ab836cd36f3 Issue-ID: OOM-2686 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-02-19Upgrade docker engine version in package listBartek Grzybowski2-4/+4
Change-Id: Ic397e6d347bf52a65be68078d4110a2e1dc66726 Issue-ID: OOM-2686 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-02-12Run chartmuseum as a docker containerBartek Grzybowski3-2/+1
A docker container for chartmuseum is run with chart storage volume mounted from hosts' resource dir for chart repo persistence across container/infra restarts. Change-Id: I692ff7a3d95414b439b15b5414bc8b959eb79414 Issue-ID: OOM-2665 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-02-04Improve bin utils symlink creation logicBartek Grzybowski1-14/+9
Change-Id: I9f468b6c731aaa764340e8503e6f377faba522b2 Issue-ID: OOM-2665 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-02-04Add helm-push Helm v3 plugin to downloaded utilities listBartek Grzybowski2-0/+4
Change-Id: Iafc200d98ee69d444d2fa82ddc95c15ba008889a Issue-ID: OOM-2665 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-01-28Add Helm v3.3.4 to the list of downloaded utilitiesBartek Grzybowski1-0/+1
Change-Id: Ida635aac40557f079fc8ef611352bff82fc3e8c0 Issue-ID: OOM-2665 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-01-26Add 'chartmuseum' binary to downloaded utilities listBartek Grzybowski2-0/+4
Packaging script is also altered to properly symlink the chartmuseum binary. Change-Id: I9a2f526852ae1ebdc0763a06a2cf22f093090aa6 Issue-ID: OOM-2665 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-01-21Add support for Helm v3Bartek Grzybowski1-25/+35
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>
2021-01-21Fix cleanup sequenceBartek Grzybowski1-2/+2
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>