Update get version script for snapshots 71/129571/1
authorliamfallon <liam.fallon@est.tech>
Tue, 28 Jun 2022 14:55:29 +0000 (15:55 +0100)
committerLiam Fallon <liam.fallon@est.tech>
Wed, 29 Jun 2022 08:25:57 +0000 (08:25 +0000)
commit81b579eabbcc4edb7956260caf32c70bc8640e9d
tree4cc30f95903d0fdcf7c7d285204756b24d769695
parentc23d753d8720e3c0c13e535e1b19ebe9a9c95bbc
Update get version script for snapshots

The current script assumes that snapshot versions are always available.
However the Linux Foundation has now implemented a policy of deleting
snapshots on no-master branches that are older than a certain age. THis
breaks our CSITs.

THis updated script copes with this by checking if a snapshot is
avaialable and, if the snapshot is not available, the script falls back
to the released version.

This script will be needed on other branches besides master as well.

Issue-ID: POLICY-4233
Change-Id: I7a9fe7ffc3abfc8044a2e0439e3fcd47c086d5f8
Signed-off-by: liamfallon <liam.fallon@est.tech>
csit/compose-grafana.yml
csit/docker-compose-all.yml
csit/docker-compose-gui-smoke.yml
csit/get-versions.sh