summaryrefslogtreecommitdiffstats
path: root/build/package.py
AgeCommit message (Collapse)AuthorFilesLines
2021-11-15[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-10[BUILD] Fetch artifacts required by cert-managerBartek Grzybowski1-1/+2
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-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-02-12Run chartmuseum as a docker containerBartek Grzybowski1-1/+0
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 Grzybowski1-0/+3
Change-Id: Iafc200d98ee69d444d2fa82ddc95c15ba008889a Issue-ID: OOM-2665 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-01-26Add 'chartmuseum' binary to downloaded utilities listBartek Grzybowski1-0/+3
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>
2020-09-23Workaround random application_dir removal failureBartek Grzybowski1-1/+1
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>
2020-02-14Fix packaging script - Memory error in md5 calculationsMateusz Pilat1-3/+5
During package preparation whole file is read and stashed in to RAM. when the file is large, like ONAP package it will result in an error Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com> Issue-ID: OOM-2308 Change-Id: Ic2dbea4018162bd4cfb380f6fb34078062c38a09
2020-02-13Adding checksum of packages into package.infoOndřej Šmalec1-5/+42
Function to add checksum of created packges to package.info Modified --add-metadata parameter to handle more parameters in format key=value Issue-ID: OOM-2288 Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com> Change-Id: I29114c4566fdfd9643ab5c60951ee65f5680d2fe
2020-01-30Removed version from package nameOndřej Šmalec1-6/+3
Version is kept in package.info file. No need to have it as well in package name. package.info file is present in each tar package. Issue-ID: OOM-2277 Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com> Change-Id: I19fd80cb18e5eac614ac743af954f049536deb3b
2020-01-22Option for additional metadata in package.pyOndřej Šmalec1-4/+13
Issue-ID: OOM-2269 Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com> Change-Id: I6b23512746171fdeaac3883fb61695db2c48c3ab
2019-11-14Fix relative path in package.pyDenis Kasanic1-11/+16
Issue-ID: OOM-1994 Signed-off-by: Denis Kasanic <d.kasanic@partner.samsung.com> Change-Id: Ie8bbe23c90a4c2d1fd60d3fad36fcd8f741e6f63
2019-11-12Revert "Fix packaging offline-installer"Tomáš Levora1-22/+11
This reverts commit 92477974b68c7638a43ffc869e3ea9fb854b3534. Reason for revert: Not solved handling of application_configuration.yml in package.py Change-Id: I814c01dc1f7334a961e991c42fd485d9af4675a1 Signed-off-by: Tomas Levora <t.levora@partner.samsung.com> Issue-ID: OOM-2201
2019-11-11Fix packaging offline-installerDenis Kasanic1-11/+22
Fix typos in Build and Install documentation Fix using relative paths in args for package.py Fix missing hosts.yml & application_configuration.yml in sw_package Change default build-version of packaging to empty as used in docs Give possibility to specify own inventory file to package in package.py Issue-ID: OOM-1994 Issue-ID: OOM-2197 Issue-ID: OOM-2158 Signed-off-by: Denis Kasanic <d.kasanic@partner.samsung.com> Change-Id: I76598fb71a42ada1a71c9905ef2d32bc03d8f71c
2019-10-15Adding platform independent RPM downloadJan Benedikt1-4/+0
Updated onap_rpm.list with new versions of packages. Added scripts for creating centos container in docker with rpm repository. RPM repo is now created in centos container during download phase, but will work on both centos/rhel platforms. Issue-ID: OOM-2094 Signed-off-by: Jan Benedikt <j.benedikt@partner.samsung.com> Change-Id: I1b5bfe99da25e6815e85b449304b12fa6036c6b3
2019-08-30package.py - Enable adding AUX images in to packagesMateusz Pilat1-18/+47
Make possible to add custom images in to aux package + add versioning to package info and file names. Issue-ID: OOM-2078 Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com> Change-Id: Ibe141f386b2534aa59c6a3a31052e454b3a79e6b
2019-07-11Fix build guide/script regarding python versioningBartek Grzybowski1-1/+1
Specify minimal docker release in build/requirements.txt and build/download/requirements.txt, not a fixed one. Change interpreter for build/package.py as it's Python 3 compliant. Change-Id: I4352aa957371ce85bdea021101ed2f5994f9eedb Issue-ID: OOM-1979 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2019-07-08Changing doc section related to packagingMateusz Pilat1-0/+0
Updating build documentation with description how to use new packaging script, removing obsolete steps Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com> Issue-ID: OOM-1932 Change-Id: I2a51c1f836dec5942229b88379b46151f041b560
2019-07-03New packaging scriptMateusz Pilat1-0/+259
Introducing new packaging script, converted to python with slightly modified logic Issue-ID: OOM-1932 Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com> Change-Id: I9eba27d9b6f48e825416c6729adad02aaade9685