diff options
author | liamfallon <liam.fallon@est.tech> | 2022-07-05 18:49:34 +0100 |
---|---|---|
committer | liamfallon <liam.fallon@est.tech> | 2022-07-15 12:27:40 +0100 |
commit | 8c03111f4b7ac079e6fb5b26a4c313c4ce22a934 (patch) | |
tree | 4e63154511ce3e0e61d98de8d9ef887c06ccaf59 /csit/clamp | |
parent | f97ef69669111a45bdc7b5e80517cf3d8d1cea98 (diff) |
Update detmVers 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.
CLAMP TOSCA Control Loop was not in Honolulu and the CLAMP CSITs ran
separately in the CLAMP repo. We ported the CSITs over to the
policy/docker repo in Istanbul. Therefore, we need to disable the CLAMP
CSITs in policy/docker in honolulu
Issue-ID: POLICY-4233
Change-Id: I83f0a6816942d5bfaef7c22fc69625f40ae74d23
Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'csit/clamp')
-rw-r--r-- | csit/clamp/plans/setup.sh | 18 | ||||
-rw-r--r-- | csit/clamp/plans/teardown.sh | 18 | ||||
-rw-r--r-- | csit/clamp/plans/testplan.txt | 3 | ||||
-rw-r--r-- | csit/clamp/tests/policy-clamp-test.robot | 3 |
4 files changed, 42 insertions, 0 deletions
diff --git a/csit/clamp/plans/setup.sh b/csit/clamp/plans/setup.sh new file mode 100644 index 00000000..05fe68dc --- /dev/null +++ b/csit/clamp/plans/setup.sh @@ -0,0 +1,18 @@ +#!/bin/bash +# ============LICENSE_START======================================================= +# Copyright (C) 2022 Nordix Foundation. +# ================================================================================ +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 +# ============LICENSE_END========================================================= diff --git a/csit/clamp/plans/teardown.sh b/csit/clamp/plans/teardown.sh new file mode 100644 index 00000000..05fe68dc --- /dev/null +++ b/csit/clamp/plans/teardown.sh @@ -0,0 +1,18 @@ +#!/bin/bash +# ============LICENSE_START======================================================= +# Copyright (C) 2022 Nordix Foundation. +# ================================================================================ +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 +# ============LICENSE_END========================================================= diff --git a/csit/clamp/plans/testplan.txt b/csit/clamp/plans/testplan.txt new file mode 100644 index 00000000..3c4f4bc2 --- /dev/null +++ b/csit/clamp/plans/testplan.txt @@ -0,0 +1,3 @@ +# Test suites are relative paths under [policy/docker.git]/csit/[project]/tests. +# Place the suites in run order. +policy-clamp-test.robot diff --git a/csit/clamp/tests/policy-clamp-test.robot b/csit/clamp/tests/policy-clamp-test.robot new file mode 100644 index 00000000..82291874 --- /dev/null +++ b/csit/clamp/tests/policy-clamp-test.robot @@ -0,0 +1,3 @@ +*** Test Cases *** +iDummy CLAMP Honolulu Robot Test + Log To Console CLAMP Robot tests are in the policy/clamp repo in Honolulu |