Merge "Initiate end of life of openstack/anvil"

This commit is contained in:
Jenkins
2016-12-16 08:50:22 +00:00
committed by Gerrit Code Review
3 changed files with 1 additions and 157 deletions

View File

@@ -1,131 +0,0 @@
- job-template:
name: 'gate-anvil-rpms-dsvm-{node}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 60
- timestamps
builders:
- gerrit-git-prep
- install-distro-packages
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
# Disable terminal output coloring...
export LOG_COLOR=0
# System package installing doesn't work (all needed packages
# already exist) so skip it and do this manually for the time
# being...
export SKIP_BOOTSTRAP=1
# TODO: Change this later.
origin_file="kilo-2015.1.0.yaml"
echo "--------------------------"
echo "Bootstrapping anvil (rpms)"
echo "--------------------------"
cat /etc/redhat-release
# Install a few needed rpms that appear to be missing...
sudo yum install -y createrepo yum-utils rpm-build libffi-devel
# Fix a few really old build-it system packages...
#
# Someday this will not be a problem...
#
# See: https://bugs.launchpad.net/anvil/+bug/1482696
sudo pip install six --upgrade
echo "------------------------"
echo "Boostrapping anvils venv"
echo "------------------------"
virtualenv .venv
source .venv/bin/activate
pip --version
pip install -r requirements.txt
pip freeze
deactivate
./smithy -a moo --tee-file ./moo.txt
echo "---------"
echo "Preparing"
echo "---------"
./smithy -a prepare -o conf/origins/$origin_file \
--tee-file ./prepare.txt -j1 -v \
-d ./openstack
echo "--------"
echo "Building"
echo "--------"
sudo ./smithy -a build -o conf/origins/$origin_file \
--tee-file ./build.txt -j1 -v \
-d ./openstack
echo ":)"
publishers:
- scp:
site: 'static.openstack.org'
files:
- target: 'logs/$LOG_PATH'
source: 'openstack/deps/output/**'
keep-hierarchy: false
copy-after-failure: true
- console-log
- job-template:
name: 'gate-anvil-venv-{node}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 60
- timestamps
builders:
- gerrit-git-prep
- install-distro-packages
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
# Disable terminal output coloring...
export LOG_COLOR=0
# TODO: Change this later.
origin_file="kilo-venv-2015.1.0.yaml"
echo "--------------------------"
echo "Bootstrapping anvil (venv)"
echo "--------------------------"
sudo -H ./smithy --bootstrap
# For now remove the pip cache/build cache locally built using sudo,
# as it causes permission problems...
sudo rm -rf ~/.pip/cache/ $PWD/build/
echo "---------"
echo "Preparing"
echo "---------"
./smithy -a prepare -o conf/origins/$origin_file \
-p conf/personas/in-a-box/venv-all.yaml \
--tee-file ./prepare.txt -j1 -v \
-d ./openstack
echo ":)"
publishers:
- scp:
site: 'static.openstack.org'
files:
- target: 'logs/$LOG_PATH'
source: 'openstack/deps/output/**'
keep-hierarchy: false
copy-after-failure: true
- console-log

View File

@@ -151,20 +151,6 @@
- ansible-role-jobs - ansible-role-jobs
- hook-{name}-rtfd - hook-{name}-rtfd
- project:
name: anvil
tarball-site: tarballs.openstack.org
jobs:
- python-jobs
- gate-{name}-pylint-{node}:
node: ubuntu-xenial
- gate-anvil-rpms-dsvm-{node}:
node:
- centos-7
- gate-anvil-venv-{node}:
node: ubuntu-xenial
- project: - project:
name: aodh name: aodh
tarball-site: tarballs.openstack.org tarball-site: tarballs.openstack.org

View File

@@ -5178,18 +5178,7 @@ projects:
- name: openstack/anvil - name: openstack/anvil
template: template:
- name: merge-check - name: merge-check
check: - name: noop-jobs
- gate-anvil-pep8-ubuntu-xenial
- gate-anvil-python27-ubuntu-xenial
- gate-anvil-venv-ubuntu-xenial
- gate-anvil-rpms-dsvm-centos-7
- gate-anvil-pylint-ubuntu-xenial
gate:
- gate-anvil-pep8-ubuntu-xenial
- gate-anvil-python27-ubuntu-xenial
- gate-anvil-venv-ubuntu-xenial
- gate-anvil-rpms-dsvm-centos-7
- gate-anvil-pylint-ubuntu-xenial
- name: openstack/aodh - name: openstack/aodh
template: template: