2014-12-09 12:10:41 -08:00
|
|
|
- job:
|
2015-11-11 21:30:16 +01:00
|
|
|
name: gate-project-config-gerrit
|
2016-07-28 11:15:51 -04:00
|
|
|
node: ubuntu-xenial
|
2014-12-09 12:10:41 -08:00
|
|
|
|
|
|
|
builders:
|
2016-08-07 17:08:47 -04:00
|
|
|
- net-info
|
2017-04-03 19:36:51 +02:00
|
|
|
- zuul-git-prep
|
2016-02-27 17:37:21 +01:00
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
2016-11-04 13:33:12 -07:00
|
|
|
- run-tox:
|
2014-12-09 12:10:41 -08:00
|
|
|
envlist: 'gerrit'
|
|
|
|
|
|
|
|
publishers:
|
2016-07-27 10:36:14 -04:00
|
|
|
- test-results
|
2016-04-15 09:44:42 -07:00
|
|
|
- console-log
|
2014-12-09 12:10:41 -08:00
|
|
|
|
2014-03-04 17:30:58 -08:00
|
|
|
- job:
|
2014-09-25 13:15:59 -04:00
|
|
|
name: gate-project-config-irc-access
|
2016-07-28 11:15:51 -04:00
|
|
|
node: ubuntu-xenial
|
2014-03-04 17:30:58 -08:00
|
|
|
|
|
|
|
builders:
|
2016-08-07 17:08:47 -04:00
|
|
|
- net-info
|
2017-04-03 19:36:51 +02:00
|
|
|
- zuul-git-prep
|
2016-02-27 17:37:21 +01:00
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
2016-11-04 13:33:12 -07:00
|
|
|
- run-tox:
|
2014-03-04 17:30:58 -08:00
|
|
|
envlist: 'irc'
|
|
|
|
|
|
|
|
publishers:
|
2016-07-27 10:36:14 -04:00
|
|
|
- test-results
|
2016-04-15 09:44:42 -07:00
|
|
|
- console-log
|
2014-03-04 17:30:58 -08:00
|
|
|
|
2015-10-05 09:37:24 -04:00
|
|
|
- job:
|
|
|
|
name: gate-project-config-grafyaml
|
2016-07-28 11:15:51 -04:00
|
|
|
node: ubuntu-xenial
|
2015-10-05 09:37:24 -04:00
|
|
|
|
|
|
|
builders:
|
2016-08-07 17:08:47 -04:00
|
|
|
- net-info
|
2017-04-03 19:36:51 +02:00
|
|
|
- zuul-git-prep
|
2016-02-27 17:37:21 +01:00
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
2016-11-04 13:33:12 -07:00
|
|
|
- run-tox:
|
2015-10-05 09:37:24 -04:00
|
|
|
envlist: 'grafyaml'
|
|
|
|
|
|
|
|
publishers:
|
2016-07-27 10:36:14 -04:00
|
|
|
- test-results
|
2016-04-15 09:44:42 -07:00
|
|
|
- console-log
|
2015-10-05 09:37:24 -04:00
|
|
|
|
2013-01-15 10:18:38 -08:00
|
|
|
- job:
|
2014-09-25 13:15:59 -04:00
|
|
|
name: gate-project-config-layout
|
2016-07-29 11:57:41 -04:00
|
|
|
node: ubuntu-trusty
|
2016-05-05 18:48:50 -04:00
|
|
|
|
|
|
|
builders:
|
2016-08-07 17:08:47 -04:00
|
|
|
- net-info
|
2017-04-03 19:36:51 +02:00
|
|
|
- zuul-git-prep
|
2016-05-05 18:48:50 -04:00
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
2016-11-04 13:33:12 -07:00
|
|
|
- run-tox:
|
2016-05-05 18:48:50 -04:00
|
|
|
envlist: 'zuul'
|
|
|
|
|
|
|
|
publishers:
|
2016-07-27 10:36:14 -04:00
|
|
|
- test-results
|
2016-05-05 18:48:50 -04:00
|
|
|
- console-log
|
|
|
|
|
2014-10-03 19:51:02 +02:00
|
|
|
- job:
|
|
|
|
name: gate-project-config-jenkins-project
|
2016-07-28 11:15:51 -04:00
|
|
|
node: ubuntu-xenial
|
2014-10-03 19:51:02 +02:00
|
|
|
|
|
|
|
builders:
|
2016-08-07 17:08:47 -04:00
|
|
|
- net-info
|
2017-04-03 19:36:51 +02:00
|
|
|
- zuul-git-prep
|
2016-02-27 17:37:21 +01:00
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
2016-11-04 13:33:12 -07:00
|
|
|
- run-tox:
|
2014-10-03 19:51:02 +02:00
|
|
|
envlist: 'jenkins-project'
|
|
|
|
|
|
|
|
publishers:
|
2016-07-27 10:36:14 -04:00
|
|
|
- test-results
|
2016-04-15 09:44:42 -07:00
|
|
|
- console-log
|
2013-01-15 10:18:38 -08:00
|
|
|
|
2015-10-29 01:32:57 -07:00
|
|
|
- job:
|
|
|
|
name: gate-project-config-nodepool
|
2016-07-28 11:15:51 -04:00
|
|
|
node: ubuntu-xenial
|
2015-10-29 01:32:57 -07:00
|
|
|
|
|
|
|
builders:
|
2016-08-07 17:08:47 -04:00
|
|
|
- net-info
|
2017-04-03 19:36:51 +02:00
|
|
|
- zuul-git-prep
|
2016-02-27 17:37:21 +01:00
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
2016-11-04 13:33:12 -07:00
|
|
|
- run-tox:
|
2015-03-17 11:24:16 +11:00
|
|
|
envlist: 'nodepool'
|
|
|
|
|
|
|
|
publishers:
|
2016-07-27 10:36:14 -04:00
|
|
|
- test-results
|
2016-04-15 09:44:42 -07:00
|
|
|
- console-log
|
2015-03-17 11:24:16 +11:00
|
|
|
|
2016-02-09 17:20:43 +00:00
|
|
|
- job-template:
|
2016-12-08 22:05:01 +01:00
|
|
|
name: gate-{name}-bindep-fallback-{node}{suffix}
|
2016-02-09 17:20:43 +00:00
|
|
|
|
|
|
|
wrappers:
|
|
|
|
- timestamps
|
|
|
|
|
|
|
|
builders:
|
2016-08-07 17:08:47 -04:00
|
|
|
- net-info
|
2016-02-09 17:20:43 +00:00
|
|
|
- zuul-git-prep
|
|
|
|
- install-distro-packages-fallback-test
|
|
|
|
|
|
|
|
publishers:
|
|
|
|
- test-results
|
|
|
|
- console-log
|
|
|
|
|
|
|
|
node: '{node}'
|
|
|
|
|
2016-03-25 19:38:32 +01:00
|
|
|
- job-group:
|
|
|
|
name: bindep-fallback-tests
|
|
|
|
|
2017-05-24 18:00:13 -04:00
|
|
|
suffix:
|
|
|
|
- '-nv'
|
|
|
|
- ''
|
2016-03-25 19:38:32 +01:00
|
|
|
node:
|
2016-03-31 10:14:37 -04:00
|
|
|
- centos-7
|
2017-01-13 14:10:32 -05:00
|
|
|
- fedora-25
|
2016-03-25 19:38:32 +01:00
|
|
|
- debian-jessie
|
2017-05-24 18:00:13 -04:00
|
|
|
- opensuse-422
|
2016-03-25 19:38:32 +01:00
|
|
|
- ubuntu-trusty
|
2016-03-31 20:18:26 -04:00
|
|
|
- ubuntu-xenial
|
2016-03-25 19:38:32 +01:00
|
|
|
|
|
|
|
jobs:
|
2016-12-08 22:05:01 +01:00
|
|
|
- gate-{name}-bindep-fallback-{node}{suffix}
|
2016-03-25 19:38:32 +01:00
|
|
|
|
2015-07-24 14:25:27 -04:00
|
|
|
- builder:
|
2016-05-24 17:55:11 -07:00
|
|
|
name: infra-puppet-apply-prep
|
2014-08-27 11:28:38 -07:00
|
|
|
builders:
|
|
|
|
- shell: |
|
|
|
|
#!/bin/bash -xe
|
2014-10-03 17:20:04 -04:00
|
|
|
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git git://git.openstack.org openstack-infra/system-config
|
2016-05-24 17:55:11 -07:00
|
|
|
|
|
|
|
- publisher:
|
|
|
|
name: infra-puppet-apply-logs
|
|
|
|
publishers:
|
|
|
|
- scp:
|
|
|
|
site: 'static.openstack.org'
|
|
|
|
files:
|
|
|
|
- target: 'logs/$LOG_PATH'
|
|
|
|
source: 'openstack-infra/system-config/applytest/**'
|
|
|
|
keep-hierarchy: false
|
|
|
|
copy-after-failure: true
|
|
|
|
- console-log
|
2014-08-27 11:28:38 -07:00
|
|
|
|
2015-07-24 14:25:27 -04:00
|
|
|
- job-template:
|
2016-12-13 20:07:28 -05:00
|
|
|
name: 'gate-infra-puppet-apply-{puppet_version}-{node}'
|
2016-03-17 13:42:46 -04:00
|
|
|
node: '{node}'
|
2015-07-24 14:25:27 -04:00
|
|
|
|
|
|
|
builders:
|
2015-11-25 20:39:22 +01:00
|
|
|
- print-template-name:
|
|
|
|
template-name: "{template-name}"
|
2016-08-07 17:08:47 -04:00
|
|
|
- net-info
|
2016-05-24 17:55:11 -07:00
|
|
|
- infra-puppet-apply-prep
|
|
|
|
- shell: |
|
|
|
|
#!/bin/bash -xe
|
2016-09-12 17:26:42 -07:00
|
|
|
cd openstack-infra/system-config
|
2016-09-16 17:48:25 -04:00
|
|
|
/usr/local/jenkins/slave_scripts/install-distro-packages.sh
|
2016-12-13 20:07:28 -05:00
|
|
|
if [ "{puppet_version}" == "4" ]; then
|
|
|
|
# TODO:
|
|
|
|
echo "TODO: add logic to deploy puppet4"
|
|
|
|
fi
|
2016-05-24 17:55:11 -07:00
|
|
|
./tools/apply-test.sh
|
2015-07-24 14:25:27 -04:00
|
|
|
|
2014-08-27 11:28:38 -07:00
|
|
|
publishers:
|
2016-05-24 17:55:11 -07:00
|
|
|
- infra-puppet-apply-logs
|
|
|
|
|
|
|
|
- job-template:
|
|
|
|
name: 'gate-logstash-filters-{node}'
|
|
|
|
node: '{node}'
|
|
|
|
|
|
|
|
builders:
|
|
|
|
- print-template-name:
|
|
|
|
template-name: "{template-name}"
|
|
|
|
- net-info
|
|
|
|
- infra-puppet-apply-prep
|
|
|
|
- shell: |
|
|
|
|
#!/bin/bash -xe
|
2016-09-12 17:26:42 -07:00
|
|
|
cd openstack-infra/system-config
|
2016-05-24 17:55:11 -07:00
|
|
|
./tools/logstash-filter-test.sh
|
|
|
|
|
|
|
|
publishers:
|
|
|
|
- infra-puppet-apply-logs
|
2015-03-05 16:18:11 -08:00
|
|
|
|
2016-03-17 13:34:54 -04:00
|
|
|
- job-template:
|
2016-03-17 13:42:46 -04:00
|
|
|
name: 'gate-openstackci-beaker-{node}'
|
|
|
|
node: '{node}'
|
2015-07-08 14:34:35 -07:00
|
|
|
|
|
|
|
builders:
|
2015-11-25 20:39:22 +01:00
|
|
|
- print-template-name:
|
|
|
|
template-name: "{template-name}"
|
2015-07-08 14:34:35 -07:00
|
|
|
- link-logs
|
2016-08-07 17:08:47 -04:00
|
|
|
- net-info
|
2016-01-21 11:30:47 -08:00
|
|
|
- pin-pip
|
2015-07-08 14:34:35 -07:00
|
|
|
- zuul-clone:
|
|
|
|
project: openstack-infra/puppet-openstackci
|
2015-07-21 13:05:49 -07:00
|
|
|
- puppet-prepare-node
|
2015-07-08 14:34:35 -07:00
|
|
|
- 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
|
2015-07-10 13:10:14 -04:00
|
|
|
export BEAKER_color=no
|
2015-07-08 14:34:35 -07:00
|
|
|
bundle exec rspec spec/acceptance
|
|
|
|
|
|
|
|
wrappers:
|
|
|
|
- build-timeout:
|
|
|
|
timeout: 60
|
|
|
|
- timestamps
|
|
|
|
|
|
|
|
publishers:
|
2016-04-15 09:44:42 -07:00
|
|
|
- console-log
|
2015-07-08 14:34:35 -07:00
|
|
|
|
2015-03-05 16:18:11 -08:00
|
|
|
- job:
|
|
|
|
name: propose-project-config-update
|
|
|
|
node: proposal
|
|
|
|
|
|
|
|
builders:
|
|
|
|
- link-logs
|
2016-08-07 17:08:47 -04:00
|
|
|
- net-info
|
2017-04-07 07:32:20 +02:00
|
|
|
- zuul-git-branch-prep:
|
2015-03-10 11:57:22 -07:00
|
|
|
branch: master
|
2015-03-05 16:18:11 -08:00
|
|
|
- shell: ./tools/propose_projects_yaml_update.sh
|
|
|
|
|
|
|
|
publishers:
|
|
|
|
- console-log
|
2015-05-22 15:05:49 -07:00
|
|
|
|
|
|
|
- job:
|
2015-05-26 10:23:33 -07:00
|
|
|
name: irc-meetings-publish
|
2016-07-28 11:15:51 -04:00
|
|
|
node: ubuntu-xenial
|
2015-05-22 15:05:49 -07:00
|
|
|
|
|
|
|
builders:
|
2016-08-07 17:08:47 -04:00
|
|
|
- net-info
|
2017-04-03 19:36:51 +02:00
|
|
|
- zuul-git-prep
|
2016-03-04 17:38:30 +01:00
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
2016-11-04 13:33:12 -07:00
|
|
|
- run-tox:
|
2015-05-22 15:05:49 -07:00
|
|
|
envlist: 'ical'
|
|
|
|
|
|
|
|
publishers:
|
2016-04-15 09:44:42 -07:00
|
|
|
- scp:
|
|
|
|
site: 'static.openstack.org'
|
|
|
|
files:
|
|
|
|
- target: 'logs/$LOG_PATH'
|
|
|
|
source: 'output/**'
|
|
|
|
keep-hierarchy: false
|
|
|
|
copy-after-failure: true
|
2015-05-22 15:05:49 -07:00
|
|
|
- scp:
|
2016-07-01 23:03:53 +10:00
|
|
|
site: 'yaml2ical'
|
2015-05-22 15:05:49 -07:00
|
|
|
files:
|
2015-07-03 11:13:56 +10:00
|
|
|
- target: ''
|
2015-06-23 14:25:32 +10:00
|
|
|
source: 'output/index.html'
|
|
|
|
copy-after-failure: false
|
|
|
|
- scp:
|
2016-07-01 23:03:53 +10:00
|
|
|
site: 'yaml2ical'
|
2015-06-23 14:25:32 +10:00
|
|
|
files:
|
2015-07-03 11:13:56 +10:00
|
|
|
- target: ''
|
2015-06-23 14:25:32 +10:00
|
|
|
source: 'output/irc-meetings.ical'
|
|
|
|
copy-after-failure: false
|
|
|
|
- scp:
|
2016-07-01 23:03:53 +10:00
|
|
|
site: 'yaml2ical'
|
2015-06-23 14:25:32 +10:00
|
|
|
files:
|
|
|
|
- target: 'calendars/'
|
|
|
|
source: 'output/calendars/*'
|
2015-05-22 15:05:49 -07:00
|
|
|
copy-after-failure: false
|
2016-07-27 10:36:14 -04:00
|
|
|
- test-results
|
2016-06-15 10:03:06 -04:00
|
|
|
- console-log
|
2015-05-22 15:25:59 -07:00
|
|
|
|
|
|
|
- job:
|
|
|
|
name: gate-irc-meetings-tox-ical
|
2016-07-28 11:15:51 -04:00
|
|
|
node: ubuntu-xenial
|
2015-05-22 15:25:59 -07:00
|
|
|
|
|
|
|
builders:
|
2017-04-03 19:36:51 +02:00
|
|
|
- zuul-git-prep
|
2016-03-04 17:38:30 +01:00
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
2016-11-04 13:33:12 -07:00
|
|
|
- run-tox:
|
2016-07-21 11:55:17 -07:00
|
|
|
envlist: 'ical'
|
2015-05-22 15:25:59 -07:00
|
|
|
|
|
|
|
publishers:
|
2015-05-27 22:31:08 +00:00
|
|
|
- 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
|
2016-02-11 10:18:19 +11:00
|
|
|
# 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
|
2016-04-15 09:44:42 -07:00
|
|
|
- scp:
|
|
|
|
site: 'static.openstack.org'
|
|
|
|
files:
|
|
|
|
- target: 'logs/$LOG_PATH'
|
|
|
|
source: 'output/**'
|
|
|
|
keep-hierarchy: false
|
|
|
|
copy-after-failure: true
|
2016-07-27 10:36:14 -04:00
|
|
|
- test-results
|
2016-06-15 10:03:06 -04:00
|
|
|
- console-log
|
2015-05-22 19:28:34 -07:00
|
|
|
|
2015-09-01 10:41:33 +02:00
|
|
|
- job:
|
|
|
|
name: gate-infra-ansible
|
2016-07-28 11:15:51 -04:00
|
|
|
node: ubuntu-xenial
|
2015-09-01 10:41:33 +02:00
|
|
|
|
|
|
|
builders:
|
2016-08-07 17:08:47 -04:00
|
|
|
- net-info
|
2017-04-03 19:36:51 +02:00
|
|
|
- zuul-git-prep
|
2016-03-04 17:38:30 +01:00
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
2016-11-04 13:33:12 -07:00
|
|
|
- run-tox:
|
2015-10-07 09:25:43 +02:00
|
|
|
envlist: 'ansible-syntax-check'
|
2015-09-01 10:41:33 +02:00
|
|
|
|
|
|
|
publishers:
|
2016-07-27 10:36:14 -04:00
|
|
|
- test-results
|
2016-04-15 09:44:42 -07:00
|
|
|
- console-log
|
2015-10-01 15:12:51 +10:00
|
|
|
|
|
|
|
|
|
|
|
- job:
|
|
|
|
name: gate-project-config-dib
|
2016-07-28 11:15:51 -04:00
|
|
|
node: ubuntu-xenial
|
2015-10-01 15:12:51 +10:00
|
|
|
|
|
|
|
builders:
|
2016-08-07 17:08:47 -04:00
|
|
|
- net-info
|
2017-04-03 19:36:51 +02:00
|
|
|
- zuul-git-prep
|
2016-02-27 17:37:21 +01:00
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
2016-11-04 13:33:12 -07:00
|
|
|
- run-tox:
|
2015-10-01 15:12:51 +10:00
|
|
|
envlist: 'dib'
|
|
|
|
|
|
|
|
publishers:
|
2016-07-27 10:36:14 -04:00
|
|
|
- test-results
|
2016-04-15 09:44:42 -07:00
|
|
|
- console-log
|
2016-03-09 11:59:38 +11:00
|
|
|
|
2016-06-20 10:43:38 -07:00
|
|
|
- job-template:
|
|
|
|
name: 'gate-puppet-openstack-infra-spec-helper-unit-{node}'
|
|
|
|
node: '{node}'
|
|
|
|
|
|
|
|
builders:
|
|
|
|
- print-template-name:
|
|
|
|
template-name: "{template-name}"
|
|
|
|
- link-logs
|
2016-08-07 17:08:47 -04:00
|
|
|
- net-info
|
2016-06-20 10:43:38 -07:00
|
|
|
- zuul-clone:
|
2016-06-21 11:18:32 -07:00
|
|
|
project: openstack-infra/puppet-openstack_infra_spec_helper
|
2016-06-20 10:43:38 -07:00
|
|
|
- install-distro-packages
|
|
|
|
- puppet-prepare-node
|
|
|
|
- shell: |
|
|
|
|
#!/bin/bash -xe
|
2016-06-21 14:45:50 -07:00
|
|
|
cd openstack-infra/puppet-openstack_infra_spec_helper
|
2016-06-20 10:43:38 -07:00
|
|
|
./run_unit_tests.sh
|
|
|
|
|
|
|
|
wrappers:
|
|
|
|
- build-timeout:
|
|
|
|
timeout: 60
|
|
|
|
- timestamps
|
|
|
|
|
|
|
|
publishers:
|
|
|
|
- console-log
|
|
|
|
|
|
|
|
- job-group:
|
|
|
|
name: 'puppet-openstack-infra-spec-helper-jobs'
|
|
|
|
node:
|
|
|
|
- centos-7
|
|
|
|
- ubuntu-xenial
|
|
|
|
- ubuntu-trusty
|
|
|
|
jobs:
|
|
|
|
- 'gate-puppet-openstack-infra-spec-helper-unit-{node}'
|
|
|
|
|
2016-03-09 11:59:38 +11:00
|
|
|
- job:
|
|
|
|
name: periodic-package-afs-centos7
|
2016-03-31 13:59:01 -04:00
|
|
|
node: centos-7
|
2016-03-09 11:59:38 +11:00
|
|
|
|
|
|
|
builders:
|
2016-08-07 17:08:47 -04:00
|
|
|
- net-info
|
2016-03-09 11:59:38 +11:00
|
|
|
- shell: |
|
|
|
|
#!/bin/bash
|
|
|
|
set -eux
|
|
|
|
|
|
|
|
# There are no official builds for AFS on Centos 7, hence
|
|
|
|
# we build our own and publish them to tarballs.openstack.org
|
|
|
|
# for our centos hosts that need access to the mirror to
|
|
|
|
# consume.
|
|
|
|
|
|
|
|
# TODO: fedora
|
|
|
|
YUM=${YUM:-yum}
|
|
|
|
|
|
|
|
VERSION=1.6.16
|
|
|
|
SRC_VERSION=${VERSION}-1
|
|
|
|
SRC_RPM=openafs-${SRC_VERSION}.src.rpm
|
|
|
|
SRC_URL=https://www.openafs.org/dl/openafs/${VERSION}/${SRC_RPM}
|
|
|
|
|
|
|
|
UPSTREAM_BASE=https://tarballs.openstack.org/package-afs-centos7
|
|
|
|
UPSTREAM_CHECK=${UPSTREAM_BASE}/openafs-client-${SRC_VERSION}.el7.centos.x86_64.rpm
|
|
|
|
if wget -O/dev/null -q $UPSTREAM_CHECK; then
|
|
|
|
echo "Found existing upstream RPM build, nothing to do"
|
2016-03-12 08:28:47 +11:00
|
|
|
# $WORKSPACE will just be blank, scp should just
|
|
|
|
# publish nothing
|
2016-03-09 11:59:38 +11:00
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
|
|
|
|
# some common prereqs
|
|
|
|
sudo yum -y groupinstall "Development Tools" "Development Libraries"
|
|
|
|
sudo yum -y install rpm-build kernel-devel createrepo
|
|
|
|
|
|
|
|
wget $SRC_URL
|
|
|
|
# install the build dependencies for the package
|
|
|
|
sudo yum-builddep -y ./${SRC_RPM}
|
|
|
|
|
|
|
|
# install source-rpm
|
2016-03-11 11:16:32 +11:00
|
|
|
# (this installs to ~/rpmbuild)
|
2016-03-09 11:59:38 +11:00
|
|
|
rpm -i ./${SRC_RPM}
|
|
|
|
|
|
|
|
# build everything
|
2016-03-11 11:16:32 +11:00
|
|
|
pushd ~/rpmbuild/SPECS/
|
2016-03-09 11:59:38 +11:00
|
|
|
rpmbuild -ba ./openafs.spec
|
|
|
|
popd
|
|
|
|
|
|
|
|
# create final repo for copying
|
2016-03-11 11:16:32 +11:00
|
|
|
createrepo ~/rpmbuild/RPMS/x86_64
|
2016-03-09 11:59:38 +11:00
|
|
|
|
2016-03-11 13:41:15 +11:00
|
|
|
# move into $WORKSPACE for copy
|
|
|
|
mv ~/rpmbuild/RPMS/x86_64 $WORKSPACE/package-afs-centos7
|
|
|
|
|
2016-03-09 11:59:38 +11:00
|
|
|
publishers:
|
|
|
|
- scp:
|
|
|
|
site: 'tarballs.openstack.org'
|
|
|
|
files:
|
2016-03-12 08:28:47 +11:00
|
|
|
- target: 'tarballs/'
|
2016-03-11 13:41:15 +11:00
|
|
|
source: 'package-afs-centos7/**'
|
2016-03-09 11:59:38 +11:00
|
|
|
keep-hierarchy: true
|
|
|
|
copy-after-failure: false
|
2016-06-15 10:03:06 -04:00
|
|
|
- console-log
|
2017-01-18 13:15:48 -08:00
|
|
|
|
2017-04-15 17:03:41 -04:00
|
|
|
- job:
|
|
|
|
name: periodic-package-stackviz-element
|
|
|
|
node: ubuntu-xenial
|
|
|
|
|
|
|
|
builders:
|
|
|
|
- zuul-git-branch-prep:
|
|
|
|
branch: master
|
|
|
|
- install-distro-packages
|
|
|
|
- revoke-sudo
|
|
|
|
- shell: |
|
|
|
|
#!/bin/bash -ex
|
|
|
|
# NOTE(pabelanger): Delete npm mirror, since it is currently broken.
|
|
|
|
rm -rf ~/.npmrc
|
|
|
|
export DISPLAY=:99
|
2017-04-16 19:14:45 -04:00
|
|
|
# Because we want to publish the build folder, create an empty
|
|
|
|
# .npmignore file.
|
|
|
|
touch .npmignore
|
2017-04-15 17:03:41 -04:00
|
|
|
npm install --verbose
|
2017-04-16 13:05:01 -04:00
|
|
|
npm run prod --verbose
|
2017-04-15 17:03:41 -04:00
|
|
|
rm -rf .tox
|
|
|
|
rm -rf node_modules
|
|
|
|
npm pack --verbose
|
|
|
|
mkdir -p dist
|
|
|
|
mv *.tgz dist/stackviz-latest.tar.gz
|
|
|
|
|
|
|
|
publishers:
|
|
|
|
- tarball:
|
|
|
|
project: 'package-stackviz-element'
|
|
|
|
- console-log
|
|
|
|
|
2017-01-18 13:15:48 -08:00
|
|
|
- job:
|
|
|
|
name: gate-zuul-nodepool
|
|
|
|
node: ubuntu-xenial
|
|
|
|
|
|
|
|
builders:
|
2017-01-24 16:24:39 -08:00
|
|
|
- zuul-clone-workspace:
|
2017-01-18 13:15:48 -08:00
|
|
|
project: openstack-infra/zuul
|
2017-02-04 09:53:33 -05:00
|
|
|
- install-distro-packages
|
2017-01-24 16:24:39 -08:00
|
|
|
- shell: tools/nodepool-integration-setup.sh
|
2017-01-24 13:43:26 -08:00
|
|
|
- run-tox:
|
|
|
|
envlist: 'nodepool'
|
2017-01-18 13:15:48 -08:00
|
|
|
|
|
|
|
publishers:
|
|
|
|
- test-results
|
2017-01-24 13:43:26 -08:00
|
|
|
- scp:
|
|
|
|
site: 'static.openstack.org'
|
|
|
|
files:
|
2017-01-25 13:42:44 -08:00
|
|
|
- target: 'logs/$LOG_PATH/logs'
|
|
|
|
source: 'logs/**'
|
2017-01-24 13:43:26 -08:00
|
|
|
keep-hierarchy: true
|
|
|
|
copy-after-failure: true
|
2017-01-18 13:15:48 -08:00
|
|
|
- console-log
|