0c32c36a07
The ical tox env on the irc-meetings repo will generate an index.html. If it does generate an index.html and then fail to complete the tox-ical job, the postbuild script will not be run. If the postbuild script doesn't run there will be an index.html in the output directory, which will be used instead of the apache DirectoryIndex module. This will obsure console.html makeing debbuging of the failure harder than it needs to be. To fix that for the postbuildscript to always run, which will rename index.html to site-index.html if it exists. Change-Id: I7c240bf2f757f668751e76eea439e63398a3c904
287 lines
6.1 KiB
YAML
287 lines
6.1 KiB
YAML
- job:
|
|
name: gate-project-config-compare-xml
|
|
node: bare-trusty
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- shell: ./tools/run-compare-xml.sh
|
|
|
|
publishers:
|
|
- zuul-swift-upload-console-log
|
|
|
|
- job:
|
|
name: gate-project-config-gerrit
|
|
node: bare-trusty
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- tox:
|
|
envlist: 'gerrit'
|
|
|
|
publishers:
|
|
- zuul-swift-upload-console-log
|
|
|
|
- job:
|
|
name: gate-project-config-irc-access
|
|
node: bare-trusty
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- tox:
|
|
envlist: 'irc'
|
|
|
|
publishers:
|
|
- zuul-swift-upload-console-log
|
|
|
|
- job:
|
|
name: gate-project-config-grafyaml
|
|
node: bare-trusty
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- tox:
|
|
envlist: 'grafyaml'
|
|
|
|
publishers:
|
|
- zuul-swift-upload-console-log
|
|
|
|
- job:
|
|
name: gate-project-config-layout
|
|
node: bare-trusty
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- tox:
|
|
envlist: 'zuul'
|
|
|
|
publishers:
|
|
- zuul-swift-upload-console-log
|
|
|
|
- job:
|
|
name: gate-project-config-jenkins-project
|
|
node: bare-trusty
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- tox:
|
|
envlist: 'jenkins-project'
|
|
|
|
publishers:
|
|
- zuul-swift-upload-console-log
|
|
|
|
- job:
|
|
name: gate-project-config-nodepool
|
|
node: bare-trusty
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- tox:
|
|
envlist: 'nodepool'
|
|
|
|
publishers:
|
|
- zuul-swift-upload-console-log
|
|
|
|
- job:
|
|
name: gate-project-config-projects-yaml
|
|
node: bare-trusty
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- tox:
|
|
envlist: projects
|
|
|
|
publishers:
|
|
- zuul-swift-upload-console-log
|
|
|
|
- job-template:
|
|
name: gate-bindep-fallback-{node}
|
|
|
|
wrappers:
|
|
- timestamps
|
|
|
|
builders:
|
|
- zuul-git-prep
|
|
- install-distro-packages-fallback-test
|
|
|
|
publishers:
|
|
- test-results
|
|
- console-log
|
|
|
|
node: '{node}'
|
|
|
|
- builder:
|
|
name: infra-puppet-apply
|
|
builders:
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git git://git.openstack.org openstack-infra/system-config
|
|
cd openstack-infra/system-config
|
|
./tools/apply-test.sh
|
|
|
|
- job-template:
|
|
name: 'gate-infra-puppet-apply-{ostype}'
|
|
node: '{ostype}'
|
|
|
|
builders:
|
|
- print-template-name:
|
|
template-name: "{template-name}"
|
|
- infra-puppet-apply
|
|
|
|
publishers:
|
|
- zuul-swift-upload-logs-with-console:
|
|
upload_source: 'openstack-infra/system-config/applytest/*'
|
|
|
|
- job-template:
|
|
name: 'gate-infra-puppet-apply-dsvm-{ostype}'
|
|
node: 'devstack-{ostype}'
|
|
|
|
builders:
|
|
- print-template-name:
|
|
template-name: "{template-name}"
|
|
- infra-puppet-apply
|
|
|
|
publishers:
|
|
- zuul-swift-upload-logs-with-console:
|
|
upload_source: 'applytest/*'
|
|
|
|
- job-template:
|
|
name: 'gate-openstackci-beaker-{ostype}-dsvm'
|
|
node: 'devstack-{ostype}'
|
|
|
|
builders:
|
|
- print-template-name:
|
|
template-name: "{template-name}"
|
|
- link-logs
|
|
- pin-pip
|
|
- zuul-clone:
|
|
project: openstack-infra/puppet-openstackci
|
|
- puppet-prepare-node
|
|
- allow-local-ssh-root
|
|
- shell: |
|
|
sudo gem install bundler --no-rdoc --no-ri --verbose
|
|
- revoke-sudo
|
|
- shell: |
|
|
cd openstack-infra/puppet-openstackci
|
|
mkdir .bundled_gems
|
|
export GEM_HOME=`pwd`/.bundled_gems
|
|
bundle install
|
|
export BEAKER_set=nodepool-{ostype}
|
|
export BEAKER_debug=yes
|
|
export BEAKER_color=no
|
|
bundle exec rspec spec/acceptance
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 60
|
|
- timestamps
|
|
|
|
publishers:
|
|
- zuul-swift-upload-console-log
|
|
|
|
- job:
|
|
name: propose-project-config-update
|
|
node: proposal
|
|
|
|
builders:
|
|
- link-logs
|
|
- branch-git-prep:
|
|
branch: master
|
|
- shell: ./tools/propose_projects_yaml_update.sh
|
|
|
|
publishers:
|
|
- console-log
|
|
|
|
- job:
|
|
name: irc-meetings-publish
|
|
node: bare-trusty
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- tox:
|
|
envlist: 'ical'
|
|
|
|
publishers:
|
|
- zuul-swift-upload-logs-with-console:
|
|
upload_source: 'output/*'
|
|
- scp:
|
|
site: 'eavesdrop.openstack.org'
|
|
files:
|
|
- target: ''
|
|
source: 'output/index.html'
|
|
copy-after-failure: false
|
|
- scp:
|
|
site: 'eavesdrop.openstack.org'
|
|
files:
|
|
- target: ''
|
|
source: 'output/irc-meetings.ical'
|
|
copy-after-failure: false
|
|
- scp:
|
|
site: 'eavesdrop.openstack.org'
|
|
files:
|
|
- target: 'calendars/'
|
|
source: 'output/calendars/*'
|
|
copy-after-failure: false
|
|
|
|
- job:
|
|
name: gate-irc-meetings-tox-ical
|
|
node: bare-trusty
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- tox:
|
|
envlist: 'ical,check'
|
|
|
|
publishers:
|
|
- postbuildscript:
|
|
builders:
|
|
- shell: |
|
|
#!/bin/bash -x
|
|
# We don't want this file to conflict with the log index
|
|
if test -f output/index.html; then
|
|
mv output/index.html output/site-index.html
|
|
fi
|
|
# These flags really mean only if on * when
|
|
# checked. When both set to false the post script
|
|
# should run on every job regardless of status.
|
|
onfailure: False
|
|
onsuccess: False
|
|
- zuul-swift-upload-logs-with-console:
|
|
upload_source: 'output/*'
|
|
|
|
- job:
|
|
name: gate-infra-ansible
|
|
node: bare-trusty
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- tox:
|
|
envlist: 'ansible-syntax-check'
|
|
|
|
publishers:
|
|
- zuul-swift-upload-console-log
|
|
|
|
|
|
- job:
|
|
name: gate-project-config-dib
|
|
node: bare-trusty
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- tox:
|
|
envlist: 'dib'
|
|
|
|
publishers:
|
|
- zuul-swift-upload-console-log
|