14cef9c397
Nodepool.yaml.erb in system-config no longer contains any secrets. Let's move it to the project-config repo. Add the nodepool validation jobs and tox environment, initially as non-voting until it is boot strapped. The version of nodepool.yaml proposed matches the version in system-config depends-on patch. A follow-up patch will be submitted with any deltas needed when the needed-by patch is ready to merge. Until that happens, this nodepool.yaml file won't be used and is safe to merge. Make both gate-project-config-nodepool and gate-system-config-nodepool non-voting to aid in bootstrapping this change. The nodepool logging template file and associated tool that generates the file will remain in system-config. In the short term, updates to nodepool.yaml in this repo may require a related change in system-config to update the logging configuration. In the longer term, nodepool will be updated to automatically log image creations without needing a customized logging configuration. Needed-By: I2b45a7145805368b1598d3a3e8a94f0e4eb8cf2d Depends-On: Ib045c104daac15360e62f46e3e5683c7a387bc96 Depends-On: I89207d100eb4b6bbb502a6ed38831f49e4b29096 Change-Id: I473a1b78acdb035eb379394a7ed5f771434dc942
272 lines
5.8 KiB
YAML
272 lines
5.8 KiB
YAML
- job:
|
|
name: project-config-compare-xml
|
|
node: 'bare-precise || bare-trusty'
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- shell: ./tools/run-compare-xml.sh
|
|
|
|
publishers:
|
|
- zuul-swift-upload-console-log
|
|
|
|
- job:
|
|
name: project-config-gerrit
|
|
node: 'bare-precise || 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-precise || 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-precise || 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-precise || 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-precise || bare-trusty'
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- tox:
|
|
envlist: 'jenkins-project'
|
|
|
|
publishers:
|
|
- zuul-swift-upload-console-log
|
|
|
|
- job:
|
|
name: gate-system-config-nodepool
|
|
node: 'bare-precise || bare-trusty'
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- tox:
|
|
envlist: 'nodepool'
|
|
|
|
publishers:
|
|
- zuul-swift-upload-console-log
|
|
|
|
- job:
|
|
name: gate-project-config-nodepool
|
|
node: 'bare-precise || 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-precise || bare-trusty'
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- tox:
|
|
envlist: projects
|
|
|
|
publishers:
|
|
- zuul-swift-upload-console-log
|
|
|
|
- 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:
|
|
- 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:
|
|
- 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:
|
|
- link-logs
|
|
- 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-precise || 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-precise || bare-trusty'
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- tox:
|
|
envlist: 'ical'
|
|
|
|
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
|
|
- zuul-swift-upload-logs-with-console:
|
|
upload_source: 'output/*'
|
|
|
|
- job:
|
|
name: gate-infra-ansible
|
|
node: 'bare-precise || 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-precise || bare-trusty'
|
|
|
|
builders:
|
|
- revoke-sudo
|
|
- gerrit-git-prep
|
|
- tox:
|
|
envlist: 'dib'
|
|
|
|
publishers:
|
|
- zuul-swift-upload-console-log
|