Update get version script for snapshots 03/129703/3
authorliamfallon <liam.fallon@est.tech>
Tue, 28 Jun 2022 14:55:29 +0000 (15:55 +0100)
committerliamfallon <liam.fallon@est.tech>
Wed, 29 Jun 2022 08:02:48 +0000 (09:02 +0100)
commitf66c6832851681a275cf32f77ee5c5575d8d2afd
treea46bba6f0b16a0432fda34260935f1d4659fc546
parent7b7ee11f58a1cf31bbfa4a41db213ee567f8c725
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