-
Notifications
You must be signed in to change notification settings - Fork 25
/
.drone.local.script.yml
33 lines (32 loc) · 1.34 KB
/
.drone.local.script.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
workspace:
base: /go
path: src/github.com/vmware/vic
pipeline:
clone:
image: plugins/git
tags: true
recursive: false
vic-uia:
image: ${TEST_BUILD_IMAGE=gcr.io/eminent-nation-87317/vic-integration-test:1.33}
pull: true
environment:
BIN: bin
GOPATH: /go
SHELL: /bin/bash
TEST_DATASTORE: ${TEST_DATASTORE}
TEST_RESOURCE: ${TEST_RESOURCE}
GOVC_INSECURE: true
BUILD_NUMBER: #BUILD_NUMBER
TEST_VSPHERE_VER: #TEST_VSPHERE_VER
TEST_VCSA_BUILD: #TEST_VCSA_BUILD
TEST_OS: #TEST_OS
UI_TEST_CASES_FOLDER: tests/test-cases/Group18-VIC-UI
TEST_RESULTS_FOLDER: #TEST_RESULTS_FOLDER
ROBOT_SCRIPT: #ROBOT_SCRIPT
commands:
- set -e
- pip install pexpect
- cd $UI_TEST_CASES_FOLDER
- if [ $TEST_OS = "Mac" ] ; then robot --log container_log.html --report container_report.html --output container_output.xml --test *Mac -C ansi -d ../../../$TEST_RESULTS_FOLDER $ROBOT_SCRIPT ; fi
- if [ $TEST_OS = "Ubuntu" ] ; then robot --include anyos --include unixlike --test TestCase-* -C ansi -d ../../../$TEST_RESULTS_FOLDER $ROBOT_SCRIPT ; fi
- if [ $TEST_OS = "Windows" ] ; then robot --log container_log.html --report container_report.html --output container_output.xml --test *Windows -C ansi -d ../../../$TEST_RESULTS_FOLDER $ROBOT_SCRIPT ; fi