diff options
author | rameshiyer27 <ramesh.murugan.iyer@est.tech> | 2023-04-05 13:47:15 +0100 |
---|---|---|
committer | rameshiyer27 <ramesh.murugan.iyer@est.tech> | 2023-05-02 18:52:04 +0100 |
commit | 65fc37591b2934871e7ca4d2db4a76ad4bba7572 (patch) | |
tree | d8cb27f8796635b5e3682376ed05392079b6850b /csit/resources/tests/policy-clamp-test.robot | |
parent | 19b753bd8d2e96364544b2f441f2f8e0fb44fd49 (diff) |
Enable ACM tests in K8s CSIT
Moved all the image references to the parent chart.
Updating the latest image tags during installation.
Disabling charts by default and enabling only the project specific ones.
Issue-ID: POLICY-4541
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: Ie22584ff38e777379ac1ee2d61743868a8b93b5c
Diffstat (limited to 'csit/resources/tests/policy-clamp-test.robot')
-rw-r--r-- | csit/resources/tests/policy-clamp-test.robot | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/csit/resources/tests/policy-clamp-test.robot b/csit/resources/tests/policy-clamp-test.robot index 3fc41550..29a99ebb 100644 --- a/csit/resources/tests/policy-clamp-test.robot +++ b/csit/resources/tests/policy-clamp-test.robot @@ -55,7 +55,11 @@ InstantiateAutomationComposition [Documentation] Instantiate automation composition. ${auth}= Create List runtimeUser zb!XztG34 Log Creating session http://${POLICY_RUNTIME_ACM_IP} - ${postjson}= Get file ${CURDIR}/data/AutomationComposition.json + ${K8sEnabled}= Convert To Boolean ${CLAMP_K8S_TEST} + Run Keyword If '${K8sEnabled}'=='True' set Suite variable ${instantiationfile} AcK8s.json + + ... ELSE set Suite variable ${instantiationfile} AcDocker.json + ${postjson}= Get file ${CURDIR}/data/${instantiationfile} ${updatedpostjson}= Replace String ${postjson} COMPOSITIONIDPLACEHOLDER ${compositionId} ${session}= Create Session policy http://${POLICY_RUNTIME_ACM_IP} auth=${auth} ${headers}= Create Dictionary Accept=application/json Content-Type=application/json |