default: '{html-files}'
description: 'File name to be used by HTML publisher plugin to produce the report'
+- parameter:
+ name: integration-terraform-version
+ parameters:
+ - string:
+ name: TERRAFORM_VERSION
+ default: '{terraform-version}'
+ description: 'Terraform version to install on minion'
+
+- parameter:
+ name: integration-terragrunt-version
+ parameters:
+ - string:
+ name: TERRAGRUNT_VERSION
+ default: '{terragrunt-version}'
+ description: 'Terragrunt version to install on minion'
+
- builder:
name: integration-install-robotframework
builders:
builders:
- shell: "${WORKSPACE}/run-csit.sh ${TESTPLAN} ${TESTOPTIONS}"
+- builder:
+ name: integration-run-project-test
+ builders:
+ - shell: "${WORKSPACE}/csit/run-project-csit.sh ${TESTOPTIONS}"
+
- builder:
name: integration-autorelease-fix-relativepaths
builders:
sudo apt --yes install libxslt-dev libxml2-dev libvirt-dev zlib1g-dev ruby-dev vagrant
vagrant plugin install vagrant-libvirt
vagrant plugin install vagrant-disksize
+ vagrant plugin install vagrant-sshfs
+ vagrant plugin install vagrant-reload
mkdir -p ~/.ssh
+- builder:
+ name: integration-install-terraform
+ builders:
+ - shell: |
+ #!/bin/bash
+ set -ex
+ cd /tmp
+ wget -q https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip
+ unzip terraform_${TERRAFORM_VERSION}_linux_amd64.zip
+ sudo mv terraform /usr/local/bin/
+ terraform version
+
+- builder:
+ name: integration-install-terragrunt
+ builders:
+ - shell: |
+ #!/bin/bash
+ set -ex
+ cd /tmp
+ wget -q https://github.com/gruntwork-io/terragrunt/releases/download/v${TERRAGRUNT_VERSION}/terragrunt_linux_amd64
+ sudo mv terragrunt_linux_amd64 /usr/local/bin/terragrunt
+ sudo chmod +x /usr/local/bin/terragrunt
+ terragrunt --version
+
+- builder:
+ name: integration-docker-compose-logs
+ builders:
+ - shell: !include-raw: shell/docker-compose-logs.sh
+
- publisher:
name: integration-robot
publishers:
- robot:
output-path: 'archives'
+ output-xml: '**/output.xml'
+ report-html: '**/report.html'
+ log-html: '**/log.html'
+ other-files: ''
+ unstable-threshold: '{unstable-if}'
+ pass-threshold: '{pass-if}'
+ only-critical: false
+
+- publisher:
+ name: integration-project-robot
+ publishers:
+ - robot:
+ output-path: 'csit/archives'
+ output-xml: '**/output.xml'
+ report-html: '**/report.html'
+ log-html: '**/log.html'
other-files: ''
unstable-threshold: '{unstable-if}'
pass-threshold: '{pass-if}'
only-critical: false
+
+- publisher:
+ name: integration-docker-compose-logs
+ publishers:
+ - postbuildscript:
+ builders:
+ - role: BOTH
+ build-on:
+ - FAILURE
+ - SUCCESS
+ - UNSTABLE
+ build-steps:
+ - integration-docker-compose-logs