oom/readiness.git
3 weeks ago[READINESS] Adding LICENSE file 22/137822/3 master
saul.gill [Wed, 1 May 2024 11:24:08 +0000 (12:24 +0100)]
[READINESS] Adding LICENSE file

Issue-ID: OOM-3294
Change-Id: I5b257fb2e885b3c6bc0955c2886f7c74f591849f
Signed-off-by: saul.gill <saul.gill@est.tech>
7 weeks ago[RELEASE] Create version 6.0.3 57/137657/1
Andreas Geissler [Tue, 9 Apr 2024 08:39:11 +0000 (10:39 +0200)]
[RELEASE] Create version 6.0.3

Add support for non-Selector services

Issue-ID: OOM-3280

Change-Id: I78b96633c66d0f00aea308d1587ebae2732871cd
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
7 weeks ago[READINESS] Add functionality to check services without Selector 51/137651/1 6.0.3
Andreas Geissler [Mon, 8 Apr 2024 08:24:42 +0000 (10:24 +0200)]
[READINESS] Add functionality to check services without Selector

Services can be defined without Selector, but via EndpointSlices
(https://kubernetes.io/docs/concepts/services-networking/service/#services-without-selectors)
This was not covered by the ready.py and is now added.

Issue-ID: OOM-3280

Change-Id: Ie386257bd6533cb735ab872b70a2ecd845ee424a
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2 months ago[RELEASE] Create version 6.0.2 96/137596/1
Andreas Geissler [Wed, 27 Mar 2024 07:33:56 +0000 (08:33 +0100)]
[RELEASE] Create version 6.0.2

Fix dockerfile and service-name parameter

Issue-ID: OOM-3280

Change-Id: Id731c1b856206cd4ddb1b621f73871c34875f8a2
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2 months ago[READINESS] Fixed service parameter 89/137589/1 6.0.2
Andreas Geissler [Tue, 26 Mar 2024 13:15:33 +0000 (14:15 +0100)]
[READINESS] Fixed service parameter

Correction for the --service-name option

Issue-ID: OOM-3280

Change-Id: I2a5f39f65522b0be5a858190027e69af209e4431
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2 months ago[READINESS] Add missing python modules to docker image 86/137586/2
Andreas Geissler [Tue, 26 Mar 2024 10:49:07 +0000 (11:49 +0100)]
[READINESS] Add missing python modules to docker image

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>
2 months ago[RELEASE] Update release to 6.0.1 83/137583/1
Andreas Geissler [Tue, 26 Mar 2024 09:29:20 +0000 (10:29 +0100)]
[RELEASE] Update release to 6.0.1

Corrected the log directory in container definition file

Issue-ID: OOM-3280

Change-Id: I6afebf85b82ecce011d6eedea278d0a7c1f95e04
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
2 months ago[RELEASE] Create version 6.0.0 49/137549/1
Andreas Geissler [Fri, 22 Mar 2024 13:25:12 +0000 (14:25 +0100)]
[RELEASE] Create version 6.0.0

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>
2 months ago[READINESS] Add new feature to check the service readiness 47/137547/2 6.0.0 6.0.1
Andreas Geissler [Fri, 22 Mar 2024 11:35:40 +0000 (12:35 +0100)]
[READINESS] Add new feature to check the service readiness

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>
2 months ago[READINESS] Fix timeout message for failing app label check 63/137463/1
Andreas Geissler [Mon, 4 Mar 2024 13:54:13 +0000 (14:54 +0100)]
[READINESS] Fix timeout message for failing app label check

Fixed wrong string entry for app_name checks.

Issue-ID: OOM-3278

Change-Id: Iaf3dd748cf5117699466342359dddcb35e49c107
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
8 months ago[RERLEASE] Create version 5.0.1 77/135877/1
Andreas Geissler [Wed, 30 Aug 2023 13:12:41 +0000 (15:12 +0200)]
[RERLEASE] Create version 5.0.1

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>
8 months ago[READINESS] Small correction in parameter handling 75/135875/1 5.0.1
Andreas Geissler [Wed, 30 Aug 2023 06:41:53 +0000 (08:41 +0200)]
[READINESS] Small correction in parameter handling

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>
8 months ago[RELEASE] Create version 5.0.0 50/135850/2
Andreas Geissler [Tue, 29 Aug 2023 13:27:53 +0000 (15:27 +0200)]
[RELEASE] Create version 5.0.0

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>
9 months ago[READINESS] Add options for pod name and app label 34/135834/3 5.0.0
Andreas Geissler [Mon, 28 Aug 2023 11:43:28 +0000 (13:43 +0200)]
[READINESS] Add options for pod name and app label

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>
2 years ago[GENERAL] Add Andreas Geissler as committer. 45/129245/1
Jack Lucas [Thu, 12 May 2022 12:45:28 +0000 (08:45 -0400)]
[GENERAL] Add Andreas Geissler as committer.

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

2 years ago[COMMITTER] Add Jack Lucas as committer 42/126742/1
Sylvain Desbureaux [Tue, 25 Jan 2022 07:26:25 +0000 (08:26 +0100)]
[COMMITTER] Add Jack Lucas as committer

Issue-ID: OOM-1
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I54a6c6be646fc969dc906dd58345a2cc83e6b429

2 years ago[RELEASE] create version v4.1.0 89/126089/1
Sylvain Desbureaux [Mon, 6 Dec 2021 14:45:25 +0000 (15:45 +0100)]
[RELEASE] create version v4.1.0

This version makes service mesh checker to work.

Issue-ID: OOM-1
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I2a35b50d7fc3eb3b101a85117f9cd410bffb4dbc

2 years ago[READINESS] Update readiness script 43/126043/1 4.1.0
othman touijer [Thu, 2 Dec 2021 17:17:45 +0000 (18:17 +0100)]
[READINESS] Update readiness script

Fix condition to restrain to running pods

Issue-ID: OOM-2878
Signed-off-by: othman touijer <othman.touijer@soprasteria.com>
Change-Id: Ib10697793a72206cde9040661cf34030833f0a67

2 years ago[READINESS] Update readiness script 23/126023/1
othman touijer [Thu, 2 Dec 2021 14:24:57 +0000 (15:24 +0100)]
[READINESS] Update readiness script

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

2 years agoAdd missing "requests" import needed by ready.py script 59/125859/1
othman touijer [Wed, 24 Nov 2021 09:41:24 +0000 (10:41 +0100)]
Add missing "requests" import needed by ready.py script

Issue-ID: OOM-2884
Signed-off-by: othman touijer <othman.touijer@soprasteria.com>
Change-Id: I69e8d661073d724b70d0292525224fb553eca270

2 years ago[READINESS] Update readiness python script 50/125750/1
othman touijer [Mon, 15 Nov 2021 10:19:33 +0000 (11:19 +0100)]
[READINESS] Update readiness python script

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

2 years agoRelease v4.0.0 32/124232/1
Sylvain Desbureaux [Wed, 15 Sep 2021 13:46:29 +0000 (15:46 +0200)]
Release v4.0.0

Issue-ID: OOM-1
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: Ide4be77cecba578c0e3fc29b6196b78fb09552b1

2 years agoUpdate ready.py script to enable checking container status within a Job 39/123739/3 4.0.0
rope252 [Tue, 31 Aug 2021 20:11:24 +0000 (21:11 +0100)]
Update ready.py script to enable checking container status within a Job

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>
3 years agoRelease container 3.0.1 28/111428/1
Sylvain Desbureaux [Wed, 19 Aug 2020 15:20:04 +0000 (17:20 +0200)]
Release container 3.0.1

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

3 years agoMake job completion function independent from container name 89/111089/16 3.0.1
Krzysztof Kuzmicki [Mon, 10 Aug 2020 13:56:21 +0000 (15:56 +0200)]
Make job completion function independent from container name

Issue-ID: OOM-2535

Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>
Change-Id: I3dfd071a0a597108d61ef5c86c64fe79780e16a2

3 years agoCreate release 3.0.0 64/110464/1
Sylvain Desbureaux [Wed, 22 Jul 2020 18:22:06 +0000 (20:22 +0200)]
Create release 3.0.0

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

3 years agoUse Apps/v1 API 59/110459/1 3.0.0
Sylvain Desbureaux [Wed, 22 Jul 2020 15:47:06 +0000 (17:47 +0200)]
Use Apps/v1 API

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

3 years agoRight path for ready script 58/110458/1
Sylvain Desbureaux [Wed, 22 Jul 2020 15:41:45 +0000 (17:41 +0200)]
Right path for ready script

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

3 years agoInitial commit of script 53/107453/5
Sylvain Desbureaux [Mon, 11 May 2020 13:03:44 +0000 (15:03 +0200)]
Initial commit of script

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

4 years agoadd INFO.yaml 52/107452/3
Sylvain Desbureaux [Mon, 11 May 2020 13:09:28 +0000 (15:09 +0200)]
add INFO.yaml

Issue-ID: OOM-761
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I24d64bbd9c89326a4396af8661c7c3eb0627066c

4 years agoAdd tox file 83/107483/1
Sylvain Desbureaux [Mon, 11 May 2020 15:43:04 +0000 (17:43 +0200)]
Add tox file

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

4 years agoAutomation adds .gitreview 51/106551/2
LF Jenkins CI [Thu, 30 Apr 2020 00:19:07 +0000 (00:19 +0000)]
Automation adds .gitreview

Issue-ID: CIMAN-33

Change-Id: I5bdf70aff502cf2612a74d2f30eb1f433cafbedb
Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
4 years agoInitial empty repository
LF Jenkins CI [Thu, 30 Apr 2020 00:18:51 +0000 (00:18 +0000)]
Initial empty repository