Skip to content

Commit

Permalink
test vic for vsphere701
Browse files Browse the repository at this point in the history
  • Loading branch information
ading007 committed Aug 11, 2020
1 parent 6729b55 commit a8cce82
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/integration-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ elif [[ $DRONE_REPO == "vmware/vic" ]] && [[ $DRONE_BUILD_EVENT == "tag" ]]; the
pabot --verbose --processes $jobs --removekeywords TAG:secret --suite Group11-Upgrade --suite 7-01-Regression tests/test-cases
elif (echo $prBody | grep -q "\[full ci\]"); then
echo "Running full CI as per commit message"
pabot --verbose --processes $jobs --removekeywords TAG:secret --exclude skip tests/test-cases && test_custom_iso
pabot --verbose --processes $jobs --removekeywords TAG:secret --exclude skip tests/test-cases/Group22-Docker-Apps
# test_custom_iso
elif (echo $prBody | grep -q "\[specific ci="); then
echo "Running specific CI as per commit message"
buildtype=$(echo $prBody | grep "\[specific ci=")
Expand Down
5 changes: 4 additions & 1 deletion tests/resources/VCH-Util.robot
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,11 @@ Set Test Environment Variables
# hardcode the TEST_URL_Array number as 2 since the other HAAS servers are taken for other usage
${len}= Set Variable if %{DRONE_BUILD_NUMBER} 2 1
${IDX}= Evaluate %{DRONE_BUILD_NUMBER} \% ${len}
Set Environment Variable TEST_PASSWORD Alfred\!23
Set Environment Variable TEST_TIMEOUT 10m
Set Environment Variable TEST_DATASTORE datastore1

Run Keyword If %{DRONE_BUILD_NUMBER} Set Environment Variable TEST_URL @{URLs}[${IDX}]
Run Keyword If %{DRONE_BUILD_NUMBER} Set Environment Variable TEST_URL 10.199.17.39
... ELSE Set Environment Variable TEST_URL @{URLs}[${IDX}]
Set Environment Variable GOVC_URL %{TEST_URL}
Set Environment Variable GOVC_USERNAME %{TEST_USERNAME}
Expand Down

0 comments on commit a8cce82

Please sign in to comment.