Gary Wu | 0bb72f5 | 2017-07-13 12:32:14 -0700 | [diff] [blame] | 1 | --- |
| 2 | - parameter: |
| 3 | name: integration-test-plan |
| 4 | parameters: |
| 5 | - string: |
| 6 | name: TESTPLAN |
| 7 | default: '{test-plan}' |
| 8 | description: 'General test plan we will run unless stream-specific one is found' |
| 9 | |
| 10 | - parameter: |
| 11 | name: integration-test-options |
| 12 | parameters: |
| 13 | - string: |
| 14 | name: TESTOPTIONS |
| 15 | default: '{test-options}' |
| 16 | description: 'Robot command options' |
| 17 | |
Jessica Wagantall | f3e2db7 | 2017-11-14 00:52:23 -0800 | [diff] [blame] | 18 | - parameter: |
| 19 | name: html-publisher-dir |
| 20 | parameters: |
| 21 | - string: |
| 22 | name: HTMLDIR |
| 23 | default: '{html-dir}' |
| 24 | description: 'Directory location to be used by HTML publisher plugin' |
| 25 | |
| 26 | - parameter: |
| 27 | name: html-publisher-files |
| 28 | parameters: |
| 29 | - string: |
| 30 | name: HTMLFILES |
| 31 | default: '{html-files}' |
| 32 | description: 'File name to be used by HTML publisher plugin to produce the report' |
| 33 | |
Gary Wu | 0bb72f5 | 2017-07-13 12:32:14 -0700 | [diff] [blame] | 34 | - builder: |
| 35 | name: integration-install-robotframework |
| 36 | builders: |
| 37 | - shell: |
| 38 | !include-raw: |
| 39 | - include-raw-integration-install-robotframework.sh |
| 40 | |
| 41 | - builder: |
Matthew Watkins | 1e55439 | 2022-11-15 16:03:54 -0800 | [diff] [blame] | 42 | name: integration-install-robotframework-py3 |
| 43 | builders: |
| 44 | - shell: |
| 45 | !include-raw: |
| 46 | - include-raw-integration-install-robotframework-py3.sh |
| 47 | |
| 48 | - builder: |
Gary Wu | 0bb72f5 | 2017-07-13 12:32:14 -0700 | [diff] [blame] | 49 | name: integration-run-test |
| 50 | builders: |
Gary Wu | b344044 | 2018-09-27 10:47:38 -0700 | [diff] [blame] | 51 | - shell: "${WORKSPACE}/run-csit.sh ${TESTPLAN} ${TESTOPTIONS}" |
Gary Wu | 0bb72f5 | 2017-07-13 12:32:14 -0700 | [diff] [blame] | 52 | |
| 53 | - builder: |
Lasse Kaihlavirta | f819114 | 2020-11-11 19:27:57 +0200 | [diff] [blame] | 54 | name: integration-run-project-test |
| 55 | builders: |
Lasse Kaihlavirta | bc08d65 | 2020-11-18 19:47:24 +0200 | [diff] [blame] | 56 | - shell: "${WORKSPACE}/csit/run-project-csit.sh ${TESTOPTIONS}" |
Lasse Kaihlavirta | f819114 | 2020-11-11 19:27:57 +0200 | [diff] [blame] | 57 | |
| 58 | - builder: |
Gary Wu | 0bb72f5 | 2017-07-13 12:32:14 -0700 | [diff] [blame] | 59 | name: integration-autorelease-fix-relativepaths |
| 60 | builders: |
| 61 | - shell: "${WORKSPACE}/autorelease/scripts/fix-relativepaths.sh" |
| 62 | |
| 63 | - builder: |
| 64 | name: integration-autorelease-set-version |
| 65 | builders: |
| 66 | - shell: "${WORKSPACE}/autorelease/scripts/set-version.sh" |
| 67 | |
Bartek Grzybowski | 2dd0554 | 2020-02-07 15:10:03 +0100 | [diff] [blame] | 68 | - builder: |
| 69 | name: integration-install-vagrant |
| 70 | builders: |
| 71 | - shell: | |
| 72 | #!/bin/bash |
| 73 | set -ex # Fail build if any setup step fails |
Bartek Grzybowski | fb003df | 2020-02-11 10:26:49 +0100 | [diff] [blame] | 74 | sudo add-apt-repository --yes ppa:tiagohillebrandt/vagrant |
| 75 | sudo apt update |
| 76 | sudo apt --yes install libxslt-dev libxml2-dev libvirt-dev zlib1g-dev ruby-dev vagrant |
Bartek Grzybowski | 2dd0554 | 2020-02-07 15:10:03 +0100 | [diff] [blame] | 77 | vagrant plugin install vagrant-libvirt |
| 78 | vagrant plugin install vagrant-disksize |
Bartek Grzybowski | 1433357 | 2020-06-09 14:27:47 +0200 | [diff] [blame] | 79 | vagrant plugin install vagrant-sshfs |
Pawel Wieczorek | 20e6bd8 | 2020-07-20 13:09:00 +0200 | [diff] [blame] | 80 | vagrant plugin install vagrant-reload |
Bartek Grzybowski | 2dd0554 | 2020-02-07 15:10:03 +0100 | [diff] [blame] | 81 | mkdir -p ~/.ssh |
| 82 | |
Bartek Grzybowski | bcdbfa0 | 2020-03-31 06:56:10 -0700 | [diff] [blame] | 83 | - builder: |
| 84 | name: integration-docker-compose-logs |
| 85 | builders: |
| 86 | - shell: !include-raw: shell/docker-compose-logs.sh |
| 87 | |
Gary Wu | 0bb72f5 | 2017-07-13 12:32:14 -0700 | [diff] [blame] | 88 | - publisher: |
| 89 | name: integration-robot |
| 90 | publishers: |
| 91 | - robot: |
| 92 | output-path: 'archives' |
Lasse Kaihlavirta | bc08d65 | 2020-11-18 19:47:24 +0200 | [diff] [blame] | 93 | output-xml: '**/output.xml' |
| 94 | report-html: '**/report.html' |
| 95 | log-html: '**/log.html' |
Gary Wu | 0bb72f5 | 2017-07-13 12:32:14 -0700 | [diff] [blame] | 96 | other-files: '' |
| 97 | unstable-threshold: '{unstable-if}' |
| 98 | pass-threshold: '{pass-if}' |
| 99 | only-critical: false |
Bartek Grzybowski | bcdbfa0 | 2020-03-31 06:56:10 -0700 | [diff] [blame] | 100 | |
| 101 | - publisher: |
Lasse Kaihlavirta | f819114 | 2020-11-11 19:27:57 +0200 | [diff] [blame] | 102 | name: integration-project-robot |
| 103 | publishers: |
| 104 | - robot: |
| 105 | output-path: 'csit/archives' |
Lasse Kaihlavirta | bc08d65 | 2020-11-18 19:47:24 +0200 | [diff] [blame] | 106 | output-xml: '**/output.xml' |
| 107 | report-html: '**/report.html' |
| 108 | log-html: '**/log.html' |
Lasse Kaihlavirta | f819114 | 2020-11-11 19:27:57 +0200 | [diff] [blame] | 109 | other-files: '' |
| 110 | unstable-threshold: '{unstable-if}' |
| 111 | pass-threshold: '{pass-if}' |
| 112 | only-critical: false |
| 113 | |
| 114 | - publisher: |
Bartek Grzybowski | bcdbfa0 | 2020-03-31 06:56:10 -0700 | [diff] [blame] | 115 | name: integration-docker-compose-logs |
| 116 | publishers: |
| 117 | - postbuildscript: |
| 118 | builders: |
| 119 | - role: BOTH |
| 120 | build-on: |
| 121 | - FAILURE |
| 122 | - SUCCESS |
| 123 | - UNSTABLE |
| 124 | build-steps: |
| 125 | - integration-docker-compose-logs |