3 name: integration-test-plan
8 description: 'General test plan we will run unless stream-specific one is found'
11 name: integration-test-options
15 default: '{test-options}'
16 description: 'Robot command options'
19 name: html-publisher-dir
24 description: 'Directory location to be used by HTML publisher plugin'
27 name: html-publisher-files
31 default: '{html-files}'
32 description: 'File name to be used by HTML publisher plugin to produce the report'
35 name: integration-terraform-version
38 name: TERRAFORM_VERSION
39 default: '{terraform-version}'
40 description: 'Terraform version to install on minion'
43 name: integration-terragrunt-version
46 name: TERRAGRUNT_VERSION
47 default: '{terragrunt-version}'
48 description: 'Terragrunt version to install on minion'
51 name: integration-install-robotframework
55 - include-raw-integration-install-robotframework.sh
58 name: integration-run-test
60 - shell: "${WORKSPACE}/run-csit.sh ${TESTPLAN} ${TESTOPTIONS}"
63 name: integration-run-project-test
65 - shell: "${WORKSPACE}/csit/run-project-csit.sh ${TESTOPTIONS}"
68 name: integration-autorelease-fix-relativepaths
70 - shell: "${WORKSPACE}/autorelease/scripts/fix-relativepaths.sh"
73 name: integration-autorelease-set-version
75 - shell: "${WORKSPACE}/autorelease/scripts/set-version.sh"
78 name: integration-install-vagrant
82 set -ex # Fail build if any setup step fails
83 sudo add-apt-repository --yes ppa:tiagohillebrandt/vagrant
85 sudo apt --yes install libxslt-dev libxml2-dev libvirt-dev zlib1g-dev ruby-dev vagrant
86 vagrant plugin install vagrant-libvirt
87 vagrant plugin install vagrant-disksize
88 vagrant plugin install vagrant-sshfs
89 vagrant plugin install vagrant-reload
93 name: integration-install-terraform
99 wget -q https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip
100 unzip terraform_${TERRAFORM_VERSION}_linux_amd64.zip
101 sudo mv terraform /usr/local/bin/
105 name: integration-install-terragrunt
111 wget -q https://github.com/gruntwork-io/terragrunt/releases/download/v${TERRAGRUNT_VERSION}/terragrunt_linux_amd64
112 sudo mv terragrunt_linux_amd64 /usr/local/bin/terragrunt
113 sudo chmod +x /usr/local/bin/terragrunt
117 name: integration-docker-compose-logs
119 - shell: !include-raw: shell/docker-compose-logs.sh
122 name: integration-robot
125 output-path: 'archives'
126 output-xml: '**/output.xml'
127 report-html: '**/report.html'
128 log-html: '**/log.html'
130 unstable-threshold: '{unstable-if}'
131 pass-threshold: '{pass-if}'
135 name: integration-project-robot
138 output-path: 'csit/archives'
139 output-xml: '**/output.xml'
140 report-html: '**/report.html'
141 log-html: '**/log.html'
143 unstable-threshold: '{unstable-if}'
144 pass-threshold: '{pass-if}'
148 name: integration-docker-compose-logs
158 - integration-docker-compose-logs