From 36ec713138cf03f3e5571830f5a2e847147a4bab Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Tue, 30 Aug 2022 13:30:01 +0200 Subject: [PATCH] Minor typo in README, added plans for new policies in stage-test Change-Id: Icf5178c54c030fef0f7b7dbc2d23e1961ef34db5 Signed-off-by: garciadeblas --- README.md | 8 ++++---- devops-stages/stage-test.sh | 7 +++++++ 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5e09d8b..aa3b58c 100644 --- a/README.md +++ b/README.md @@ -128,7 +128,7 @@ docker run --rm=true -t osmtests --env-file \ ### From an environment identical to OSM CICD -````bash +```bash git clone https://osm.etsi.org/gerrit/osm/devops git clone https://osm.etsi.org/gerrit/osm/IM git clone https://osm.etsi.org/gerrit/osm/osmclient @@ -194,11 +194,11 @@ the tests were forcefully stopped. - For helping in the migration tests and other scenarios in which you don't want to destroy the deployments immediately, the following tags are used: - - prepare: for the tests that are used to deploy the network + - `prepare`: for the tests that are used to deploy the network services under test - - verify: for the tests that perform the actual testing, or changes for + - `verify`: for the tests that perform the actual testing, or changes for additional verifications (e.g. scaling). - - cleanup: already described above. + - `cleanup`: already described above. So, for instance, you could first deploy a number of network services executing the tests with "prepare" tag, migrate to another OSM version, and then diff --git a/devops-stages/stage-test.sh b/devops-stages/stage-test.sh index 0fcf210..31161ac 100755 --- a/devops-stages/stage-test.sh +++ b/devops-stages/stage-test.sh @@ -93,6 +93,13 @@ check_spaces_eol robot-systest/testsuite check_spaces_eol robot-systest/lib echo "No presence of spaces at EOL in robot files. Correct!" +# Other policies to be added here: +# - Blank lines used to separate main sections (Settings, Variables, Test Cases, Keywords) +# - Blank lines used to separate parts of eah section: +# - Variables: max 1 blank line to separate each one +# - Settings: 1 blank line to separate each kind of setting (all LIbrary together, all Resource together, etc.) +# - Test cases: 2 blank lines between test cases, max 1 blank line inside Test case, no blank line after Test Case Keyword + echo "SUCCESS" exit 0 -- 2.17.1