summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-03-26[READINESS] Fixed service parameter6.0.2Andreas Geissler1-1/+1
Correction for the --service-name option Issue-ID: OOM-3280 Change-Id: I2a5f39f65522b0be5a858190027e69af209e4431 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2024-03-26[READINESS] Add missing python modules to docker imageAndreas Geissler2-0/+3
With the new base image the requirements.txt is not loaded, therefor it has to be added into the dockerfile Issue-ID: OOM-3280 Change-Id: I00cdf1f60ae2e07d6b0fc7246798f2d241d17471 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2024-03-26[RELEASE] Update release to 6.0.1Andreas Geissler1-0/+8
Corrected the log directory in container definition file Issue-ID: OOM-3280 Change-Id: I6afebf85b82ecce011d6eedea278d0a7c1f95e04 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2024-03-22[RELEASE] Create version 6.0.0Andreas Geissler1-0/+8
New parameters for service readiness check and namespace. Update the docker image and python modules to the latest versions. Issue-ID: OOM-3278 Issue-ID: OOM-3280 Change-Id: Ib1fe8f6b5cc47b251abea4138199a7e605685248 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2024-03-22[READINESS] Add new feature to check the service readiness6.0.16.0.0Andreas Geissler3-14/+98
Add new option to check, whether a service is ready to be used. The function will find the selected pods used for the service, then checks the status of the Deployment/STS/Daemonset, which starts the pod. Additionally update to the latest image and kubernetes lib versions Issue-ID: OOM-3280 Change-Id: Icee03934f4ba6c7f472d7994b86871769a6b1eba Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2024-03-04[READINESS] Fix timeout message for failing app label checkAndreas Geissler1-1/+1
Fixed wrong string entry for app_name checks. Issue-ID: OOM-3278 Change-Id: Iaf3dd748cf5117699466342359dddcb35e49c107 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2023-08-30[RERLEASE] Create version 5.0.1Andreas Geissler1-0/+8
Fix parameter handling for pod-name and app-name Issue-ID: OOM-3171 Issue-ID: OOM-3236 Change-Id: I84c83aea84329589d214fec0b0e887e11d64d85e Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2023-08-30[READINESS] Small correction in parameter handling5.0.1Andreas Geissler1-3/+3
Parameters --pod-name and --app-name were failing Issue-ID: OOM-3171 Issue-ID: OOM-3236 Change-Id: I00c80a4fac0c8afafeb62d8890f9516a8c1df7ee Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2023-08-29[RELEASE] Create version 5.0.0Andreas Geissler2-2/+13
Add the support for "pod-name" and "app-name" options and fix handling for pods without sidecar Issue-ID: OOM-3171 Issue-ID: OOM-3236 Change-Id: I96a4cccf5ff9e9131ca5dc83ad4554805de74908 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2023-08-28[READINESS] Add options for pod name and app label5.0.0Andreas Geissler1-6/+137
Need options to check pod status on other criterias, as non-ONAP pods do not use container name as unique identifier. E.g. operator based cassandra and mariadb deployments. Additionally the wait-for-job-container correction is done. Issue-ID: OOM-3171 Issue-ID: OOM-3236 Change-Id: If71d100a0c290ef8a3cb89ff8dc12579bfe7b99f Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2022-05-12[GENERAL] Add Andreas Geissler as committer.Jack Lucas1-0/+27
Add Andreas Geissler as committer. Add previously approved committers (Fiachra Corcoran and Dan Timoney) Issue-ID: OOM-1 Signed-off-by: Jack Lucas <jflos@sonoris.net> Change-Id: Iaf379d29f5d76b8bf319c418726882aebd5b25ef
2022-01-25[COMMITTER] Add Jack Lucas as committerSylvain Desbureaux1-0/+9
Issue-ID: OOM-1 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I54a6c6be646fc969dc906dd58345a2cc83e6b429
2021-12-06[RELEASE] create version v4.1.0Sylvain Desbureaux1-0/+8
This version makes service mesh checker to work. Issue-ID: OOM-1 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I2a35b50d7fc3eb3b101a85117f9cd410bffb4dbc
2021-12-02[READINESS] Update readiness script4.1.0othman touijer1-1/+1
Fix condition to restrain to running pods Issue-ID: OOM-2878 Signed-off-by: othman touijer <othman.touijer@soprasteria.com> Change-Id: Ib10697793a72206cde9040661cf34030833f0a67
2021-12-02[READINESS] Update readiness scriptothman touijer1-9/+6
Changes on ready.py: * rename wrong variable name * stop if the container job is terminated Issue-ID: OOM-2878 Signed-off-by: othman touijer <othman.touijer@soprasteria.com> Change-Id: I5b2617ecdf39a59f7d22f3c0d4cc507801d7bc56
2021-11-24Add missing "requests" import needed by ready.py scriptothman touijer1-0/+1
Issue-ID: OOM-2884 Signed-off-by: othman touijer <othman.touijer@soprasteria.com> Change-Id: I69e8d661073d724b70d0292525224fb553eca270
2021-11-15[READINESS] Update readiness python scriptothman touijer1-17/+6
Apply changes on ready.py file to replace some parts config parts with a cleaner alternative. It now uses the "config" method from python k8s package. This is supposed to fix permission errors that arise when using a service mesh. (suggested by Sylvain) Issue-ID: OOM-2878 Signed-off-by: othman touijer <othman.touijer@soprasteria.com> Change-Id: Ife2635111f3267c0920f0a2631c7102b7eedcd3a
2021-09-15Release v4.0.0Sylvain Desbureaux1-0/+8
Issue-ID: OOM-1 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Ide4be77cecba578c0e3fc29b6196b78fb09552b1
2021-09-07Update ready.py script to enable checking container status within a Job4.0.0rope2521-3/+78
This new function will check the status of the main container within a job, waiting for it to finish before sending a call to the quitquitquit api Change-Id: If0f1859183ff5239b74e416b97d0464a3e88bc9d Issue-ID: OOM-2816 Signed-off-by: rope252 <gareth.roper@est.tech>
2020-08-19Release container 3.0.1Sylvain Desbureaux1-0/+8
This hotfix makes use of right Apps function name and read ability to use readiness by job name Issue-ID: OOM-2535 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I60d2a797f84dbe5495dbeeeeaf37d5269ebd7adf
2020-08-19Make job completion function independent from container name3.0.1Krzysztof Kuzmicki1-7/+25
Issue-ID: OOM-2535 Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com> Change-Id: I3dfd071a0a597108d61ef5c86c64fe79780e16a2
2020-07-22Create release 3.0.0Sylvain Desbureaux1-0/+8
Create the release file 3.0.0 so we can have a docker release. Issue-ID: OOM-2520 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I540a842d583a13bec268bcee1e3997e97d2e0102
2020-07-22Use Apps/v1 API3.0.0Sylvain Desbureaux1-5/+4
Instead of old APIs, use Apps/v1 API so readiness can be used on v1.16+ clusters. Issue-ID: OOM-2519 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I428f32a500a6175653990c10fb8e6b6811dbc8e0
2020-07-22Right path for ready scriptSylvain Desbureaux1-1/+1
ready.py is in /app/ready.py and not in /usr/onap/ready.py Issue-ID: OOM-2518 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I1bf42ef7232628c33f5e118afab57564c75fdd33
2020-06-04Initial commit of scriptSylvain Desbureaux5-0/+380
Add the script and the Dockerfile Make the script pass pylint (one issue left) Make Dockerfile from base ONAP image Issue-ID: OOM-2418 Issue-ID: OOM-761 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Ia93e3e85a16c764eca0c14af2dbe166117ea769a
2020-05-13add INFO.yamlSylvain Desbureaux1-0/+51
Issue-ID: OOM-761 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I24d64bbd9c89326a4396af8661c7c3eb0627066c
2020-05-11Add tox fileSylvain Desbureaux1-0/+29
Add tox file for linting python and yaml (for now) Issue-ID: OOM-761 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I739de57a5bfda97669043189ef481b97a88a7065
2020-04-30Automation adds .gitreviewLF Jenkins CI1-0/+7
Issue-ID: CIMAN-33 Change-Id: I5bdf70aff502cf2612a74d2f30eb1f433cafbedb Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
2020-04-30Initial empty repositoryLF Jenkins CI0-0/+0