Remove legacy-cross-*-* jobs related to global requirements
These are converted to zuulv3 native jobs in https://review.openstack.org/#/c/512901/ Depends-On: I3b0dbdcc02a0a8cff0c52701fadf7632648afb97 Change-Id: I9ca01798c1ad115afab18825f0befa4f440650c6
This commit is contained in:
parent
9d84b6bf59
commit
6bda2823ce
@ -1,67 +0,0 @@
|
|||||||
- hosts: primary
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*nose_results.html
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*testr_results.html.gz
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=/.testrepository/tmp*
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*testrepository.subunit.gz
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}/tox'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=/.tox/*/log/*
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
@ -1,86 +0,0 @@
|
|||||||
- hosts: all
|
|
||||||
name: Autoconverted job legacy-cross-cinder-python27 from old job gate-cross-cinder-python27-ubuntu-xenial
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Ensure legacy workspace directory
|
|
||||||
file:
|
|
||||||
path: '{{ ansible_user_dir }}/workspace'
|
|
||||||
state: directory
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
set -e
|
|
||||||
set -x
|
|
||||||
CLONEMAP=`mktemp`
|
|
||||||
REQS_DIR=`mktemp -d`
|
|
||||||
function cleanup {
|
|
||||||
mkdir -p $WORKSPACE
|
|
||||||
rm -rf $CLONEMAP $REQS_DIR
|
|
||||||
}
|
|
||||||
trap cleanup EXIT
|
|
||||||
cat > $CLONEMAP << EOF
|
|
||||||
clonemap:
|
|
||||||
- name: 'openstack/cinder'
|
|
||||||
dest: .
|
|
||||||
EOF
|
|
||||||
# zuul cloner works poorly if there are 2 names that are the
|
|
||||||
# same in here.
|
|
||||||
if [[ "openstack/cinder" != "openstack/requirements" ]]; then
|
|
||||||
cat >> $CLONEMAP << EOF
|
|
||||||
- name: openstack/requirements
|
|
||||||
dest: $REQS_DIR
|
|
||||||
EOF
|
|
||||||
fi
|
|
||||||
/usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \
|
|
||||||
git://git.openstack.org openstack/cinder openstack/requirements
|
|
||||||
# REQS_DIR is not set for openstack/requirements and there is also
|
|
||||||
# no need to copy in this case.
|
|
||||||
if [[ "openstack/cinder" != "openstack/requirements" ]]; then
|
|
||||||
cp $REQS_DIR/upper-constraints.txt ./
|
|
||||||
fi
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
if [ -x tools/test-setup.sh ] ; then
|
|
||||||
tools/test-setup.sh
|
|
||||||
fi
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
set -x
|
|
||||||
sudo rm -f /etc/sudoers.d/zuul
|
|
||||||
# Prove that general sudo access is actually revoked
|
|
||||||
! sudo -n true
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: /usr/local/jenkins/slave_scripts/run-tox.sh py27
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
OUT=`git ls-files --other --exclude-standard --directory`
|
|
||||||
if [ -z "$OUT" ]; then
|
|
||||||
echo "No extra files created during test."
|
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
echo "The following un-ignored files were created during the test:"
|
|
||||||
echo "$OUT"
|
|
||||||
exit 0 # TODO: change to 1 to fail tests.
|
|
||||||
fi
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
@ -1,67 +0,0 @@
|
|||||||
- hosts: primary
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*nose_results.html
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*testr_results.html.gz
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=/.testrepository/tmp*
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*testrepository.subunit.gz
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}/tox'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=/.tox/*/log/*
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
@ -1,86 +0,0 @@
|
|||||||
- hosts: all
|
|
||||||
name: Autoconverted job legacy-cross-cinder-python35 from old job gate-cross-cinder-python35
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Ensure legacy workspace directory
|
|
||||||
file:
|
|
||||||
path: '{{ ansible_user_dir }}/workspace'
|
|
||||||
state: directory
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
set -e
|
|
||||||
set -x
|
|
||||||
CLONEMAP=`mktemp`
|
|
||||||
REQS_DIR=`mktemp -d`
|
|
||||||
function cleanup {
|
|
||||||
mkdir -p $WORKSPACE
|
|
||||||
rm -rf $CLONEMAP $REQS_DIR
|
|
||||||
}
|
|
||||||
trap cleanup EXIT
|
|
||||||
cat > $CLONEMAP << EOF
|
|
||||||
clonemap:
|
|
||||||
- name: 'openstack/cinder'
|
|
||||||
dest: .
|
|
||||||
EOF
|
|
||||||
# zuul cloner works poorly if there are 2 names that are the
|
|
||||||
# same in here.
|
|
||||||
if [[ "openstack/cinder" != "openstack/requirements" ]]; then
|
|
||||||
cat >> $CLONEMAP << EOF
|
|
||||||
- name: openstack/requirements
|
|
||||||
dest: $REQS_DIR
|
|
||||||
EOF
|
|
||||||
fi
|
|
||||||
/usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \
|
|
||||||
git://git.openstack.org openstack/cinder openstack/requirements
|
|
||||||
# REQS_DIR is not set for openstack/requirements and there is also
|
|
||||||
# no need to copy in this case.
|
|
||||||
if [[ "openstack/cinder" != "openstack/requirements" ]]; then
|
|
||||||
cp $REQS_DIR/upper-constraints.txt ./
|
|
||||||
fi
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
if [ -x tools/test-setup.sh ] ; then
|
|
||||||
tools/test-setup.sh
|
|
||||||
fi
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
set -x
|
|
||||||
sudo rm -f /etc/sudoers.d/zuul
|
|
||||||
# Prove that general sudo access is actually revoked
|
|
||||||
! sudo -n true
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: /usr/local/jenkins/slave_scripts/run-tox.sh py35
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
OUT=`git ls-files --other --exclude-standard --directory`
|
|
||||||
if [ -z "$OUT" ]; then
|
|
||||||
echo "No extra files created during test."
|
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
echo "The following un-ignored files were created during the test:"
|
|
||||||
echo "$OUT"
|
|
||||||
exit 0 # TODO: change to 1 to fail tests.
|
|
||||||
fi
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
@ -1,67 +0,0 @@
|
|||||||
- hosts: primary
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*nose_results.html
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*testr_results.html.gz
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=/.testrepository/tmp*
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*testrepository.subunit.gz
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}/tox'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=/.tox/*/log/*
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
@ -1,86 +0,0 @@
|
|||||||
- hosts: all
|
|
||||||
name: Autoconverted job legacy-cross-glance-python27 from old job gate-cross-glance-python27-ubuntu-xenial
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Ensure legacy workspace directory
|
|
||||||
file:
|
|
||||||
path: '{{ ansible_user_dir }}/workspace'
|
|
||||||
state: directory
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
set -e
|
|
||||||
set -x
|
|
||||||
CLONEMAP=`mktemp`
|
|
||||||
REQS_DIR=`mktemp -d`
|
|
||||||
function cleanup {
|
|
||||||
mkdir -p $WORKSPACE
|
|
||||||
rm -rf $CLONEMAP $REQS_DIR
|
|
||||||
}
|
|
||||||
trap cleanup EXIT
|
|
||||||
cat > $CLONEMAP << EOF
|
|
||||||
clonemap:
|
|
||||||
- name: 'openstack/glance'
|
|
||||||
dest: .
|
|
||||||
EOF
|
|
||||||
# zuul cloner works poorly if there are 2 names that are the
|
|
||||||
# same in here.
|
|
||||||
if [[ "openstack/glance" != "openstack/requirements" ]]; then
|
|
||||||
cat >> $CLONEMAP << EOF
|
|
||||||
- name: openstack/requirements
|
|
||||||
dest: $REQS_DIR
|
|
||||||
EOF
|
|
||||||
fi
|
|
||||||
/usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \
|
|
||||||
git://git.openstack.org openstack/glance openstack/requirements
|
|
||||||
# REQS_DIR is not set for openstack/requirements and there is also
|
|
||||||
# no need to copy in this case.
|
|
||||||
if [[ "openstack/glance" != "openstack/requirements" ]]; then
|
|
||||||
cp $REQS_DIR/upper-constraints.txt ./
|
|
||||||
fi
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
if [ -x tools/test-setup.sh ] ; then
|
|
||||||
tools/test-setup.sh
|
|
||||||
fi
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
set -x
|
|
||||||
sudo rm -f /etc/sudoers.d/zuul
|
|
||||||
# Prove that general sudo access is actually revoked
|
|
||||||
! sudo -n true
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: /usr/local/jenkins/slave_scripts/run-tox.sh py27
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
OUT=`git ls-files --other --exclude-standard --directory`
|
|
||||||
if [ -z "$OUT" ]; then
|
|
||||||
echo "No extra files created during test."
|
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
echo "The following un-ignored files were created during the test:"
|
|
||||||
echo "$OUT"
|
|
||||||
exit 0 # TODO: change to 1 to fail tests.
|
|
||||||
fi
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
@ -1,67 +0,0 @@
|
|||||||
- hosts: primary
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*nose_results.html
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*testr_results.html.gz
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=/.testrepository/tmp*
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*testrepository.subunit.gz
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}/tox'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=/.tox/*/log/*
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
@ -1,86 +0,0 @@
|
|||||||
- hosts: all
|
|
||||||
name: Autoconverted job legacy-cross-glance-python35 from old job gate-cross-glance-python35
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Ensure legacy workspace directory
|
|
||||||
file:
|
|
||||||
path: '{{ ansible_user_dir }}/workspace'
|
|
||||||
state: directory
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
set -e
|
|
||||||
set -x
|
|
||||||
CLONEMAP=`mktemp`
|
|
||||||
REQS_DIR=`mktemp -d`
|
|
||||||
function cleanup {
|
|
||||||
mkdir -p $WORKSPACE
|
|
||||||
rm -rf $CLONEMAP $REQS_DIR
|
|
||||||
}
|
|
||||||
trap cleanup EXIT
|
|
||||||
cat > $CLONEMAP << EOF
|
|
||||||
clonemap:
|
|
||||||
- name: 'openstack/glance'
|
|
||||||
dest: .
|
|
||||||
EOF
|
|
||||||
# zuul cloner works poorly if there are 2 names that are the
|
|
||||||
# same in here.
|
|
||||||
if [[ "openstack/glance" != "openstack/requirements" ]]; then
|
|
||||||
cat >> $CLONEMAP << EOF
|
|
||||||
- name: openstack/requirements
|
|
||||||
dest: $REQS_DIR
|
|
||||||
EOF
|
|
||||||
fi
|
|
||||||
/usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \
|
|
||||||
git://git.openstack.org openstack/glance openstack/requirements
|
|
||||||
# REQS_DIR is not set for openstack/requirements and there is also
|
|
||||||
# no need to copy in this case.
|
|
||||||
if [[ "openstack/glance" != "openstack/requirements" ]]; then
|
|
||||||
cp $REQS_DIR/upper-constraints.txt ./
|
|
||||||
fi
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
if [ -x tools/test-setup.sh ] ; then
|
|
||||||
tools/test-setup.sh
|
|
||||||
fi
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
set -x
|
|
||||||
sudo rm -f /etc/sudoers.d/zuul
|
|
||||||
# Prove that general sudo access is actually revoked
|
|
||||||
! sudo -n true
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: /usr/local/jenkins/slave_scripts/run-tox.sh py35
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
OUT=`git ls-files --other --exclude-standard --directory`
|
|
||||||
if [ -z "$OUT" ]; then
|
|
||||||
echo "No extra files created during test."
|
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
echo "The following un-ignored files were created during the test:"
|
|
||||||
echo "$OUT"
|
|
||||||
exit 0 # TODO: change to 1 to fail tests.
|
|
||||||
fi
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
@ -1,67 +0,0 @@
|
|||||||
- hosts: primary
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*nose_results.html
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*testr_results.html.gz
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=/.testrepository/tmp*
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*testrepository.subunit.gz
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}/tox'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=/.tox/*/log/*
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
@ -1,86 +0,0 @@
|
|||||||
- hosts: all
|
|
||||||
name: Autoconverted job legacy-cross-horizon-python27 from old job gate-cross-horizon-python27-ubuntu-xenial
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Ensure legacy workspace directory
|
|
||||||
file:
|
|
||||||
path: '{{ ansible_user_dir }}/workspace'
|
|
||||||
state: directory
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
set -e
|
|
||||||
set -x
|
|
||||||
CLONEMAP=`mktemp`
|
|
||||||
REQS_DIR=`mktemp -d`
|
|
||||||
function cleanup {
|
|
||||||
mkdir -p $WORKSPACE
|
|
||||||
rm -rf $CLONEMAP $REQS_DIR
|
|
||||||
}
|
|
||||||
trap cleanup EXIT
|
|
||||||
cat > $CLONEMAP << EOF
|
|
||||||
clonemap:
|
|
||||||
- name: 'openstack/horizon'
|
|
||||||
dest: .
|
|
||||||
EOF
|
|
||||||
# zuul cloner works poorly if there are 2 names that are the
|
|
||||||
# same in here.
|
|
||||||
if [[ "openstack/horizon" != "openstack/requirements" ]]; then
|
|
||||||
cat >> $CLONEMAP << EOF
|
|
||||||
- name: openstack/requirements
|
|
||||||
dest: $REQS_DIR
|
|
||||||
EOF
|
|
||||||
fi
|
|
||||||
/usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \
|
|
||||||
git://git.openstack.org openstack/horizon openstack/requirements
|
|
||||||
# REQS_DIR is not set for openstack/requirements and there is also
|
|
||||||
# no need to copy in this case.
|
|
||||||
if [[ "openstack/horizon" != "openstack/requirements" ]]; then
|
|
||||||
cp $REQS_DIR/upper-constraints.txt ./
|
|
||||||
fi
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
if [ -x tools/test-setup.sh ] ; then
|
|
||||||
tools/test-setup.sh
|
|
||||||
fi
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
set -x
|
|
||||||
sudo rm -f /etc/sudoers.d/zuul
|
|
||||||
# Prove that general sudo access is actually revoked
|
|
||||||
! sudo -n true
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: /usr/local/jenkins/slave_scripts/run-tox.sh py27
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
OUT=`git ls-files --other --exclude-standard --directory`
|
|
||||||
if [ -z "$OUT" ]; then
|
|
||||||
echo "No extra files created during test."
|
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
echo "The following un-ignored files were created during the test:"
|
|
||||||
echo "$OUT"
|
|
||||||
exit 0 # TODO: change to 1 to fail tests.
|
|
||||||
fi
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
@ -1,67 +0,0 @@
|
|||||||
- hosts: primary
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*nose_results.html
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*testr_results.html.gz
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=/.testrepository/tmp*
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*testrepository.subunit.gz
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}/tox'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=/.tox/*/log/*
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
@ -1,86 +0,0 @@
|
|||||||
- hosts: all
|
|
||||||
name: Autoconverted job legacy-cross-horizon-python35 from old job gate-cross-horizon-python35
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Ensure legacy workspace directory
|
|
||||||
file:
|
|
||||||
path: '{{ ansible_user_dir }}/workspace'
|
|
||||||
state: directory
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
set -e
|
|
||||||
set -x
|
|
||||||
CLONEMAP=`mktemp`
|
|
||||||
REQS_DIR=`mktemp -d`
|
|
||||||
function cleanup {
|
|
||||||
mkdir -p $WORKSPACE
|
|
||||||
rm -rf $CLONEMAP $REQS_DIR
|
|
||||||
}
|
|
||||||
trap cleanup EXIT
|
|
||||||
cat > $CLONEMAP << EOF
|
|
||||||
clonemap:
|
|
||||||
- name: 'openstack/horizon'
|
|
||||||
dest: .
|
|
||||||
EOF
|
|
||||||
# zuul cloner works poorly if there are 2 names that are the
|
|
||||||
# same in here.
|
|
||||||
if [[ "openstack/horizon" != "openstack/requirements" ]]; then
|
|
||||||
cat >> $CLONEMAP << EOF
|
|
||||||
- name: openstack/requirements
|
|
||||||
dest: $REQS_DIR
|
|
||||||
EOF
|
|
||||||
fi
|
|
||||||
/usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \
|
|
||||||
git://git.openstack.org openstack/horizon openstack/requirements
|
|
||||||
# REQS_DIR is not set for openstack/requirements and there is also
|
|
||||||
# no need to copy in this case.
|
|
||||||
if [[ "openstack/horizon" != "openstack/requirements" ]]; then
|
|
||||||
cp $REQS_DIR/upper-constraints.txt ./
|
|
||||||
fi
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
if [ -x tools/test-setup.sh ] ; then
|
|
||||||
tools/test-setup.sh
|
|
||||||
fi
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
set -x
|
|
||||||
sudo rm -f /etc/sudoers.d/zuul
|
|
||||||
# Prove that general sudo access is actually revoked
|
|
||||||
! sudo -n true
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: /usr/local/jenkins/slave_scripts/run-tox.sh py35
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
OUT=`git ls-files --other --exclude-standard --directory`
|
|
||||||
if [ -z "$OUT" ]; then
|
|
||||||
echo "No extra files created during test."
|
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
echo "The following un-ignored files were created during the test:"
|
|
||||||
echo "$OUT"
|
|
||||||
exit 0 # TODO: change to 1 to fail tests.
|
|
||||||
fi
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
@ -1,67 +0,0 @@
|
|||||||
- hosts: primary
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*nose_results.html
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*testr_results.html.gz
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=/.testrepository/tmp*
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*testrepository.subunit.gz
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}/tox'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=/.tox/*/log/*
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
@ -1,86 +0,0 @@
|
|||||||
- hosts: all
|
|
||||||
name: Autoconverted job legacy-cross-keystone-python27 from old job gate-cross-keystone-python27-ubuntu-xenial
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Ensure legacy workspace directory
|
|
||||||
file:
|
|
||||||
path: '{{ ansible_user_dir }}/workspace'
|
|
||||||
state: directory
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
set -e
|
|
||||||
set -x
|
|
||||||
CLONEMAP=`mktemp`
|
|
||||||
REQS_DIR=`mktemp -d`
|
|
||||||
function cleanup {
|
|
||||||
mkdir -p $WORKSPACE
|
|
||||||
rm -rf $CLONEMAP $REQS_DIR
|
|
||||||
}
|
|
||||||
trap cleanup EXIT
|
|
||||||
cat > $CLONEMAP << EOF
|
|
||||||
clonemap:
|
|
||||||
- name: 'openstack/keystone'
|
|
||||||
dest: .
|
|
||||||
EOF
|
|
||||||
# zuul cloner works poorly if there are 2 names that are the
|
|
||||||
# same in here.
|
|
||||||
if [[ "openstack/keystone" != "openstack/requirements" ]]; then
|
|
||||||
cat >> $CLONEMAP << EOF
|
|
||||||
- name: openstack/requirements
|
|
||||||
dest: $REQS_DIR
|
|
||||||
EOF
|
|
||||||
fi
|
|
||||||
/usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \
|
|
||||||
git://git.openstack.org openstack/keystone openstack/requirements
|
|
||||||
# REQS_DIR is not set for openstack/requirements and there is also
|
|
||||||
# no need to copy in this case.
|
|
||||||
if [[ "openstack/keystone" != "openstack/requirements" ]]; then
|
|
||||||
cp $REQS_DIR/upper-constraints.txt ./
|
|
||||||
fi
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
if [ -x tools/test-setup.sh ] ; then
|
|
||||||
tools/test-setup.sh
|
|
||||||
fi
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
set -x
|
|
||||||
sudo rm -f /etc/sudoers.d/zuul
|
|
||||||
# Prove that general sudo access is actually revoked
|
|
||||||
! sudo -n true
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: /usr/local/jenkins/slave_scripts/run-tox.sh py27
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
OUT=`git ls-files --other --exclude-standard --directory`
|
|
||||||
if [ -z "$OUT" ]; then
|
|
||||||
echo "No extra files created during test."
|
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
echo "The following un-ignored files were created during the test:"
|
|
||||||
echo "$OUT"
|
|
||||||
exit 0 # TODO: change to 1 to fail tests.
|
|
||||||
fi
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
@ -1,67 +0,0 @@
|
|||||||
- hosts: primary
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*nose_results.html
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*testr_results.html.gz
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=/.testrepository/tmp*
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*testrepository.subunit.gz
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}/tox'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=/.tox/*/log/*
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
@ -1,86 +0,0 @@
|
|||||||
- hosts: all
|
|
||||||
name: Autoconverted job legacy-cross-keystone-python35 from old job gate-cross-keystone-python35
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Ensure legacy workspace directory
|
|
||||||
file:
|
|
||||||
path: '{{ ansible_user_dir }}/workspace'
|
|
||||||
state: directory
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
set -e
|
|
||||||
set -x
|
|
||||||
CLONEMAP=`mktemp`
|
|
||||||
REQS_DIR=`mktemp -d`
|
|
||||||
function cleanup {
|
|
||||||
mkdir -p $WORKSPACE
|
|
||||||
rm -rf $CLONEMAP $REQS_DIR
|
|
||||||
}
|
|
||||||
trap cleanup EXIT
|
|
||||||
cat > $CLONEMAP << EOF
|
|
||||||
clonemap:
|
|
||||||
- name: 'openstack/keystone'
|
|
||||||
dest: .
|
|
||||||
EOF
|
|
||||||
# zuul cloner works poorly if there are 2 names that are the
|
|
||||||
# same in here.
|
|
||||||
if [[ "openstack/keystone" != "openstack/requirements" ]]; then
|
|
||||||
cat >> $CLONEMAP << EOF
|
|
||||||
- name: openstack/requirements
|
|
||||||
dest: $REQS_DIR
|
|
||||||
EOF
|
|
||||||
fi
|
|
||||||
/usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \
|
|
||||||
git://git.openstack.org openstack/keystone openstack/requirements
|
|
||||||
# REQS_DIR is not set for openstack/requirements and there is also
|
|
||||||
# no need to copy in this case.
|
|
||||||
if [[ "openstack/keystone" != "openstack/requirements" ]]; then
|
|
||||||
cp $REQS_DIR/upper-constraints.txt ./
|
|
||||||
fi
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
if [ -x tools/test-setup.sh ] ; then
|
|
||||||
tools/test-setup.sh
|
|
||||||
fi
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
set -x
|
|
||||||
sudo rm -f /etc/sudoers.d/zuul
|
|
||||||
# Prove that general sudo access is actually revoked
|
|
||||||
! sudo -n true
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: /usr/local/jenkins/slave_scripts/run-tox.sh py35
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
OUT=`git ls-files --other --exclude-standard --directory`
|
|
||||||
if [ -z "$OUT" ]; then
|
|
||||||
echo "No extra files created during test."
|
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
echo "The following un-ignored files were created during the test:"
|
|
||||||
echo "$OUT"
|
|
||||||
exit 0 # TODO: change to 1 to fail tests.
|
|
||||||
fi
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
@ -1,67 +0,0 @@
|
|||||||
- hosts: primary
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*nose_results.html
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*testr_results.html.gz
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=/.testrepository/tmp*
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*testrepository.subunit.gz
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}/tox'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=/.tox/*/log/*
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
@ -1,86 +0,0 @@
|
|||||||
- hosts: all
|
|
||||||
name: Autoconverted job legacy-cross-neutron-python27 from old job gate-cross-neutron-python27-ubuntu-xenial
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Ensure legacy workspace directory
|
|
||||||
file:
|
|
||||||
path: '{{ ansible_user_dir }}/workspace'
|
|
||||||
state: directory
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
set -e
|
|
||||||
set -x
|
|
||||||
CLONEMAP=`mktemp`
|
|
||||||
REQS_DIR=`mktemp -d`
|
|
||||||
function cleanup {
|
|
||||||
mkdir -p $WORKSPACE
|
|
||||||
rm -rf $CLONEMAP $REQS_DIR
|
|
||||||
}
|
|
||||||
trap cleanup EXIT
|
|
||||||
cat > $CLONEMAP << EOF
|
|
||||||
clonemap:
|
|
||||||
- name: 'openstack/neutron'
|
|
||||||
dest: .
|
|
||||||
EOF
|
|
||||||
# zuul cloner works poorly if there are 2 names that are the
|
|
||||||
# same in here.
|
|
||||||
if [[ "openstack/neutron" != "openstack/requirements" ]]; then
|
|
||||||
cat >> $CLONEMAP << EOF
|
|
||||||
- name: openstack/requirements
|
|
||||||
dest: $REQS_DIR
|
|
||||||
EOF
|
|
||||||
fi
|
|
||||||
/usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \
|
|
||||||
git://git.openstack.org openstack/neutron openstack/requirements
|
|
||||||
# REQS_DIR is not set for openstack/requirements and there is also
|
|
||||||
# no need to copy in this case.
|
|
||||||
if [[ "openstack/neutron" != "openstack/requirements" ]]; then
|
|
||||||
cp $REQS_DIR/upper-constraints.txt ./
|
|
||||||
fi
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
if [ -x tools/test-setup.sh ] ; then
|
|
||||||
tools/test-setup.sh
|
|
||||||
fi
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
set -x
|
|
||||||
sudo rm -f /etc/sudoers.d/zuul
|
|
||||||
# Prove that general sudo access is actually revoked
|
|
||||||
! sudo -n true
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: /usr/local/jenkins/slave_scripts/run-tox.sh py27
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
OUT=`git ls-files --other --exclude-standard --directory`
|
|
||||||
if [ -z "$OUT" ]; then
|
|
||||||
echo "No extra files created during test."
|
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
echo "The following un-ignored files were created during the test:"
|
|
||||||
echo "$OUT"
|
|
||||||
exit 0 # TODO: change to 1 to fail tests.
|
|
||||||
fi
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
@ -1,67 +0,0 @@
|
|||||||
- hosts: primary
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*nose_results.html
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*testr_results.html.gz
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=/.testrepository/tmp*
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*testrepository.subunit.gz
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}/tox'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=/.tox/*/log/*
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
@ -1,86 +0,0 @@
|
|||||||
- hosts: all
|
|
||||||
name: Autoconverted job legacy-cross-neutron-python35 from old job gate-cross-neutron-python35
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Ensure legacy workspace directory
|
|
||||||
file:
|
|
||||||
path: '{{ ansible_user_dir }}/workspace'
|
|
||||||
state: directory
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
set -e
|
|
||||||
set -x
|
|
||||||
CLONEMAP=`mktemp`
|
|
||||||
REQS_DIR=`mktemp -d`
|
|
||||||
function cleanup {
|
|
||||||
mkdir -p $WORKSPACE
|
|
||||||
rm -rf $CLONEMAP $REQS_DIR
|
|
||||||
}
|
|
||||||
trap cleanup EXIT
|
|
||||||
cat > $CLONEMAP << EOF
|
|
||||||
clonemap:
|
|
||||||
- name: 'openstack/neutron'
|
|
||||||
dest: .
|
|
||||||
EOF
|
|
||||||
# zuul cloner works poorly if there are 2 names that are the
|
|
||||||
# same in here.
|
|
||||||
if [[ "openstack/neutron" != "openstack/requirements" ]]; then
|
|
||||||
cat >> $CLONEMAP << EOF
|
|
||||||
- name: openstack/requirements
|
|
||||||
dest: $REQS_DIR
|
|
||||||
EOF
|
|
||||||
fi
|
|
||||||
/usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \
|
|
||||||
git://git.openstack.org openstack/neutron openstack/requirements
|
|
||||||
# REQS_DIR is not set for openstack/requirements and there is also
|
|
||||||
# no need to copy in this case.
|
|
||||||
if [[ "openstack/neutron" != "openstack/requirements" ]]; then
|
|
||||||
cp $REQS_DIR/upper-constraints.txt ./
|
|
||||||
fi
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
if [ -x tools/test-setup.sh ] ; then
|
|
||||||
tools/test-setup.sh
|
|
||||||
fi
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
set -x
|
|
||||||
sudo rm -f /etc/sudoers.d/zuul
|
|
||||||
# Prove that general sudo access is actually revoked
|
|
||||||
! sudo -n true
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: /usr/local/jenkins/slave_scripts/run-tox.sh py35
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
OUT=`git ls-files --other --exclude-standard --directory`
|
|
||||||
if [ -z "$OUT" ]; then
|
|
||||||
echo "No extra files created during test."
|
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
echo "The following un-ignored files were created during the test:"
|
|
||||||
echo "$OUT"
|
|
||||||
exit 0 # TODO: change to 1 to fail tests.
|
|
||||||
fi
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
@ -1,67 +0,0 @@
|
|||||||
- hosts: primary
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*nose_results.html
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*testr_results.html.gz
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=/.testrepository/tmp*
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*testrepository.subunit.gz
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}/tox'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=/.tox/*/log/*
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
@ -1,86 +0,0 @@
|
|||||||
- hosts: all
|
|
||||||
name: Autoconverted job legacy-cross-nova-func from old job gate-cross-nova-func-ubuntu-xenial
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Ensure legacy workspace directory
|
|
||||||
file:
|
|
||||||
path: '{{ ansible_user_dir }}/workspace'
|
|
||||||
state: directory
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
set -e
|
|
||||||
set -x
|
|
||||||
CLONEMAP=`mktemp`
|
|
||||||
REQS_DIR=`mktemp -d`
|
|
||||||
function cleanup {
|
|
||||||
mkdir -p $WORKSPACE
|
|
||||||
rm -rf $CLONEMAP $REQS_DIR
|
|
||||||
}
|
|
||||||
trap cleanup EXIT
|
|
||||||
cat > $CLONEMAP << EOF
|
|
||||||
clonemap:
|
|
||||||
- name: 'openstack/nova'
|
|
||||||
dest: .
|
|
||||||
EOF
|
|
||||||
# zuul cloner works poorly if there are 2 names that are the
|
|
||||||
# same in here.
|
|
||||||
if [[ "openstack/nova" != "openstack/requirements" ]]; then
|
|
||||||
cat >> $CLONEMAP << EOF
|
|
||||||
- name: openstack/requirements
|
|
||||||
dest: $REQS_DIR
|
|
||||||
EOF
|
|
||||||
fi
|
|
||||||
/usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \
|
|
||||||
git://git.openstack.org openstack/nova openstack/requirements
|
|
||||||
# REQS_DIR is not set for openstack/requirements and there is also
|
|
||||||
# no need to copy in this case.
|
|
||||||
if [[ "openstack/nova" != "openstack/requirements" ]]; then
|
|
||||||
cp $REQS_DIR/upper-constraints.txt ./
|
|
||||||
fi
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
if [ -x tools/test-setup.sh ] ; then
|
|
||||||
tools/test-setup.sh
|
|
||||||
fi
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
set -x
|
|
||||||
sudo rm -f /etc/sudoers.d/zuul
|
|
||||||
# Prove that general sudo access is actually revoked
|
|
||||||
! sudo -n true
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: /usr/local/jenkins/slave_scripts/run-tox.sh functional
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
OUT=`git ls-files --other --exclude-standard --directory`
|
|
||||||
if [ -z "$OUT" ]; then
|
|
||||||
echo "No extra files created during test."
|
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
echo "The following un-ignored files were created during the test:"
|
|
||||||
echo "$OUT"
|
|
||||||
exit 0 # TODO: change to 1 to fail tests.
|
|
||||||
fi
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
@ -1,67 +0,0 @@
|
|||||||
- hosts: primary
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*nose_results.html
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*testr_results.html.gz
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=/.testrepository/tmp*
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*testrepository.subunit.gz
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}/tox'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=/.tox/*/log/*
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
@ -1,86 +0,0 @@
|
|||||||
- hosts: all
|
|
||||||
name: Autoconverted job legacy-cross-nova-python27 from old job gate-cross-nova-python27-ubuntu-xenial
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Ensure legacy workspace directory
|
|
||||||
file:
|
|
||||||
path: '{{ ansible_user_dir }}/workspace'
|
|
||||||
state: directory
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
set -e
|
|
||||||
set -x
|
|
||||||
CLONEMAP=`mktemp`
|
|
||||||
REQS_DIR=`mktemp -d`
|
|
||||||
function cleanup {
|
|
||||||
mkdir -p $WORKSPACE
|
|
||||||
rm -rf $CLONEMAP $REQS_DIR
|
|
||||||
}
|
|
||||||
trap cleanup EXIT
|
|
||||||
cat > $CLONEMAP << EOF
|
|
||||||
clonemap:
|
|
||||||
- name: 'openstack/nova'
|
|
||||||
dest: .
|
|
||||||
EOF
|
|
||||||
# zuul cloner works poorly if there are 2 names that are the
|
|
||||||
# same in here.
|
|
||||||
if [[ "openstack/nova" != "openstack/requirements" ]]; then
|
|
||||||
cat >> $CLONEMAP << EOF
|
|
||||||
- name: openstack/requirements
|
|
||||||
dest: $REQS_DIR
|
|
||||||
EOF
|
|
||||||
fi
|
|
||||||
/usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \
|
|
||||||
git://git.openstack.org openstack/nova openstack/requirements
|
|
||||||
# REQS_DIR is not set for openstack/requirements and there is also
|
|
||||||
# no need to copy in this case.
|
|
||||||
if [[ "openstack/nova" != "openstack/requirements" ]]; then
|
|
||||||
cp $REQS_DIR/upper-constraints.txt ./
|
|
||||||
fi
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
if [ -x tools/test-setup.sh ] ; then
|
|
||||||
tools/test-setup.sh
|
|
||||||
fi
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
set -x
|
|
||||||
sudo rm -f /etc/sudoers.d/zuul
|
|
||||||
# Prove that general sudo access is actually revoked
|
|
||||||
! sudo -n true
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: /usr/local/jenkins/slave_scripts/run-tox.sh py27
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
OUT=`git ls-files --other --exclude-standard --directory`
|
|
||||||
if [ -z "$OUT" ]; then
|
|
||||||
echo "No extra files created during test."
|
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
echo "The following un-ignored files were created during the test:"
|
|
||||||
echo "$OUT"
|
|
||||||
exit 0 # TODO: change to 1 to fail tests.
|
|
||||||
fi
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
@ -1,67 +0,0 @@
|
|||||||
- hosts: primary
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*nose_results.html
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*testr_results.html.gz
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=/.testrepository/tmp*
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*testrepository.subunit.gz
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}/tox'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=/.tox/*/log/*
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
@ -1,86 +0,0 @@
|
|||||||
- hosts: all
|
|
||||||
name: Autoconverted job legacy-cross-nova-python35 from old job gate-cross-nova-python35
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Ensure legacy workspace directory
|
|
||||||
file:
|
|
||||||
path: '{{ ansible_user_dir }}/workspace'
|
|
||||||
state: directory
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
set -e
|
|
||||||
set -x
|
|
||||||
CLONEMAP=`mktemp`
|
|
||||||
REQS_DIR=`mktemp -d`
|
|
||||||
function cleanup {
|
|
||||||
mkdir -p $WORKSPACE
|
|
||||||
rm -rf $CLONEMAP $REQS_DIR
|
|
||||||
}
|
|
||||||
trap cleanup EXIT
|
|
||||||
cat > $CLONEMAP << EOF
|
|
||||||
clonemap:
|
|
||||||
- name: 'openstack/nova'
|
|
||||||
dest: .
|
|
||||||
EOF
|
|
||||||
# zuul cloner works poorly if there are 2 names that are the
|
|
||||||
# same in here.
|
|
||||||
if [[ "openstack/nova" != "openstack/requirements" ]]; then
|
|
||||||
cat >> $CLONEMAP << EOF
|
|
||||||
- name: openstack/requirements
|
|
||||||
dest: $REQS_DIR
|
|
||||||
EOF
|
|
||||||
fi
|
|
||||||
/usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \
|
|
||||||
git://git.openstack.org openstack/nova openstack/requirements
|
|
||||||
# REQS_DIR is not set for openstack/requirements and there is also
|
|
||||||
# no need to copy in this case.
|
|
||||||
if [[ "openstack/nova" != "openstack/requirements" ]]; then
|
|
||||||
cp $REQS_DIR/upper-constraints.txt ./
|
|
||||||
fi
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
if [ -x tools/test-setup.sh ] ; then
|
|
||||||
tools/test-setup.sh
|
|
||||||
fi
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
set -x
|
|
||||||
sudo rm -f /etc/sudoers.d/zuul
|
|
||||||
# Prove that general sudo access is actually revoked
|
|
||||||
! sudo -n true
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: /usr/local/jenkins/slave_scripts/run-tox.sh py35
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
OUT=`git ls-files --other --exclude-standard --directory`
|
|
||||||
if [ -z "$OUT" ]; then
|
|
||||||
echo "No extra files created during test."
|
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
echo "The following un-ignored files were created during the test:"
|
|
||||||
echo "$OUT"
|
|
||||||
exit 0 # TODO: change to 1 to fail tests.
|
|
||||||
fi
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
@ -1,67 +0,0 @@
|
|||||||
- hosts: primary
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*nose_results.html
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*testr_results.html.gz
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=/.testrepository/tmp*
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*testrepository.subunit.gz
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}/tox'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=/.tox/*/log/*
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
@ -1,86 +0,0 @@
|
|||||||
- hosts: all
|
|
||||||
name: Autoconverted job legacy-cross-swift-python27 from old job gate-cross-swift-python27-ubuntu-xenial
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Ensure legacy workspace directory
|
|
||||||
file:
|
|
||||||
path: '{{ ansible_user_dir }}/workspace'
|
|
||||||
state: directory
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
set -e
|
|
||||||
set -x
|
|
||||||
CLONEMAP=`mktemp`
|
|
||||||
REQS_DIR=`mktemp -d`
|
|
||||||
function cleanup {
|
|
||||||
mkdir -p $WORKSPACE
|
|
||||||
rm -rf $CLONEMAP $REQS_DIR
|
|
||||||
}
|
|
||||||
trap cleanup EXIT
|
|
||||||
cat > $CLONEMAP << EOF
|
|
||||||
clonemap:
|
|
||||||
- name: 'openstack/swift'
|
|
||||||
dest: .
|
|
||||||
EOF
|
|
||||||
# zuul cloner works poorly if there are 2 names that are the
|
|
||||||
# same in here.
|
|
||||||
if [[ "openstack/swift" != "openstack/requirements" ]]; then
|
|
||||||
cat >> $CLONEMAP << EOF
|
|
||||||
- name: openstack/requirements
|
|
||||||
dest: $REQS_DIR
|
|
||||||
EOF
|
|
||||||
fi
|
|
||||||
/usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \
|
|
||||||
git://git.openstack.org openstack/swift openstack/requirements
|
|
||||||
# REQS_DIR is not set for openstack/requirements and there is also
|
|
||||||
# no need to copy in this case.
|
|
||||||
if [[ "openstack/swift" != "openstack/requirements" ]]; then
|
|
||||||
cp $REQS_DIR/upper-constraints.txt ./
|
|
||||||
fi
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
if [ -x tools/test-setup.sh ] ; then
|
|
||||||
tools/test-setup.sh
|
|
||||||
fi
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
set -x
|
|
||||||
sudo rm -f /etc/sudoers.d/zuul
|
|
||||||
# Prove that general sudo access is actually revoked
|
|
||||||
! sudo -n true
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: /usr/local/jenkins/slave_scripts/run-tox.sh py27
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
OUT=`git ls-files --other --exclude-standard --directory`
|
|
||||||
if [ -z "$OUT" ]; then
|
|
||||||
echo "No extra files created during test."
|
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
echo "The following un-ignored files were created during the test:"
|
|
||||||
echo "$OUT"
|
|
||||||
exit 0 # TODO: change to 1 to fail tests.
|
|
||||||
fi
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
@ -1,67 +0,0 @@
|
|||||||
- hosts: primary
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*nose_results.html
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*testr_results.html.gz
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=/.testrepository/tmp*
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=**/*testrepository.subunit.gz
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
||||||
|
|
||||||
- name: Copy files from {{ ansible_user_dir }}/workspace/ on node
|
|
||||||
synchronize:
|
|
||||||
src: '{{ ansible_user_dir }}/workspace/'
|
|
||||||
dest: '{{ zuul.executor.log_root }}/tox'
|
|
||||||
mode: pull
|
|
||||||
copy_links: true
|
|
||||||
verify_host: true
|
|
||||||
rsync_opts:
|
|
||||||
- --include=/.tox/*/log/*
|
|
||||||
- --include=*/
|
|
||||||
- --exclude=*
|
|
||||||
- --prune-empty-dirs
|
|
@ -1,86 +0,0 @@
|
|||||||
- hosts: all
|
|
||||||
name: Autoconverted job legacy-cross-swift-python35 from old job gate-cross-swift-python35
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
- name: Ensure legacy workspace directory
|
|
||||||
file:
|
|
||||||
path: '{{ ansible_user_dir }}/workspace'
|
|
||||||
state: directory
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
set -e
|
|
||||||
set -x
|
|
||||||
CLONEMAP=`mktemp`
|
|
||||||
REQS_DIR=`mktemp -d`
|
|
||||||
function cleanup {
|
|
||||||
mkdir -p $WORKSPACE
|
|
||||||
rm -rf $CLONEMAP $REQS_DIR
|
|
||||||
}
|
|
||||||
trap cleanup EXIT
|
|
||||||
cat > $CLONEMAP << EOF
|
|
||||||
clonemap:
|
|
||||||
- name: 'openstack/swift'
|
|
||||||
dest: .
|
|
||||||
EOF
|
|
||||||
# zuul cloner works poorly if there are 2 names that are the
|
|
||||||
# same in here.
|
|
||||||
if [[ "openstack/swift" != "openstack/requirements" ]]; then
|
|
||||||
cat >> $CLONEMAP << EOF
|
|
||||||
- name: openstack/requirements
|
|
||||||
dest: $REQS_DIR
|
|
||||||
EOF
|
|
||||||
fi
|
|
||||||
/usr/zuul-env/bin/zuul-cloner -m $CLONEMAP --cache-dir /opt/git \
|
|
||||||
git://git.openstack.org openstack/swift openstack/requirements
|
|
||||||
# REQS_DIR is not set for openstack/requirements and there is also
|
|
||||||
# no need to copy in this case.
|
|
||||||
if [[ "openstack/swift" != "openstack/requirements" ]]; then
|
|
||||||
cp $REQS_DIR/upper-constraints.txt ./
|
|
||||||
fi
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: /usr/local/jenkins/slave_scripts/install-distro-packages.sh
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
if [ -x tools/test-setup.sh ] ; then
|
|
||||||
tools/test-setup.sh
|
|
||||||
fi
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
set -x
|
|
||||||
sudo rm -f /etc/sudoers.d/zuul
|
|
||||||
# Prove that general sudo access is actually revoked
|
|
||||||
! sudo -n true
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: /usr/local/jenkins/slave_scripts/run-tox.sh py35
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
||||||
|
|
||||||
- shell:
|
|
||||||
cmd: |
|
|
||||||
OUT=`git ls-files --other --exclude-standard --directory`
|
|
||||||
if [ -z "$OUT" ]; then
|
|
||||||
echo "No extra files created during test."
|
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
echo "The following un-ignored files were created during the test:"
|
|
||||||
echo "$OUT"
|
|
||||||
exit 0 # TODO: change to 1 to fail tests.
|
|
||||||
fi
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: '{{ ansible_user_dir }}/workspace'
|
|
||||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
@ -1213,78 +1213,6 @@
|
|||||||
required-projects:
|
required-projects:
|
||||||
- openstack/requirements
|
- openstack/requirements
|
||||||
|
|
||||||
- job:
|
|
||||||
name: legacy-cross-cinder-python27
|
|
||||||
parent: legacy-base
|
|
||||||
run: playbooks/legacy/cross-cinder-python27/run
|
|
||||||
post-run: playbooks/legacy/cross-cinder-python27/post
|
|
||||||
timeout: 3000
|
|
||||||
required-projects:
|
|
||||||
- openstack/cinder
|
|
||||||
|
|
||||||
- job:
|
|
||||||
name: legacy-cross-cinder-python35
|
|
||||||
parent: legacy-base
|
|
||||||
run: playbooks/legacy/cross-cinder-python35/run
|
|
||||||
post-run: playbooks/legacy/cross-cinder-python35/post
|
|
||||||
timeout: 3000
|
|
||||||
required-projects:
|
|
||||||
- openstack/cinder
|
|
||||||
|
|
||||||
- job:
|
|
||||||
name: legacy-cross-glance-python27
|
|
||||||
parent: legacy-base
|
|
||||||
run: playbooks/legacy/cross-glance-python27/run
|
|
||||||
post-run: playbooks/legacy/cross-glance-python27/post
|
|
||||||
timeout: 3000
|
|
||||||
required-projects:
|
|
||||||
- openstack/glance
|
|
||||||
|
|
||||||
- job:
|
|
||||||
name: legacy-cross-glance-python35
|
|
||||||
parent: legacy-base
|
|
||||||
run: playbooks/legacy/cross-glance-python35/run
|
|
||||||
post-run: playbooks/legacy/cross-glance-python35/post
|
|
||||||
timeout: 3000
|
|
||||||
required-projects:
|
|
||||||
- openstack/glance
|
|
||||||
|
|
||||||
- job:
|
|
||||||
name: legacy-cross-horizon-python27
|
|
||||||
parent: legacy-base
|
|
||||||
run: playbooks/legacy/cross-horizon-python27/run
|
|
||||||
post-run: playbooks/legacy/cross-horizon-python27/post
|
|
||||||
timeout: 3000
|
|
||||||
required-projects:
|
|
||||||
- openstack/horizon
|
|
||||||
|
|
||||||
- job:
|
|
||||||
name: legacy-cross-horizon-python35
|
|
||||||
parent: legacy-base
|
|
||||||
run: playbooks/legacy/cross-horizon-python35/run
|
|
||||||
post-run: playbooks/legacy/cross-horizon-python35/post
|
|
||||||
timeout: 3000
|
|
||||||
required-projects:
|
|
||||||
- openstack/horizon
|
|
||||||
|
|
||||||
- job:
|
|
||||||
name: legacy-cross-keystone-python27
|
|
||||||
parent: legacy-base
|
|
||||||
run: playbooks/legacy/cross-keystone-python27/run
|
|
||||||
post-run: playbooks/legacy/cross-keystone-python27/post
|
|
||||||
timeout: 3000
|
|
||||||
required-projects:
|
|
||||||
- openstack/keystone
|
|
||||||
|
|
||||||
- job:
|
|
||||||
name: legacy-cross-keystone-python35
|
|
||||||
parent: legacy-base
|
|
||||||
run: playbooks/legacy/cross-keystone-python35/run
|
|
||||||
post-run: playbooks/legacy/cross-keystone-python35/post
|
|
||||||
timeout: 3000
|
|
||||||
required-projects:
|
|
||||||
- openstack/keystone
|
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: legacy-cross-networking-midonet-python35
|
name: legacy-cross-networking-midonet-python35
|
||||||
parent: legacy-base
|
parent: legacy-base
|
||||||
@ -1300,69 +1228,6 @@
|
|||||||
- openstack/networking-l2gw
|
- openstack/networking-l2gw
|
||||||
- openstack/tap-as-a-service
|
- openstack/tap-as-a-service
|
||||||
|
|
||||||
- job:
|
|
||||||
name: legacy-cross-neutron-python27
|
|
||||||
parent: legacy-base
|
|
||||||
run: playbooks/legacy/cross-neutron-python27/run
|
|
||||||
post-run: playbooks/legacy/cross-neutron-python27/post
|
|
||||||
timeout: 3000
|
|
||||||
required-projects:
|
|
||||||
- openstack/neutron
|
|
||||||
|
|
||||||
- job:
|
|
||||||
name: legacy-cross-neutron-python35
|
|
||||||
parent: legacy-base
|
|
||||||
run: playbooks/legacy/cross-neutron-python35/run
|
|
||||||
post-run: playbooks/legacy/cross-neutron-python35/post
|
|
||||||
timeout: 3000
|
|
||||||
required-projects:
|
|
||||||
- openstack/neutron
|
|
||||||
|
|
||||||
- job:
|
|
||||||
name: legacy-cross-nova-func
|
|
||||||
parent: legacy-base
|
|
||||||
run: playbooks/legacy/cross-nova-func/run
|
|
||||||
post-run: playbooks/legacy/cross-nova-func/post
|
|
||||||
timeout: 3000
|
|
||||||
required-projects:
|
|
||||||
- openstack/nova
|
|
||||||
|
|
||||||
- job:
|
|
||||||
name: legacy-cross-nova-python27
|
|
||||||
parent: legacy-base
|
|
||||||
run: playbooks/legacy/cross-nova-python27/run
|
|
||||||
post-run: playbooks/legacy/cross-nova-python27/post
|
|
||||||
timeout: 3000
|
|
||||||
required-projects:
|
|
||||||
- openstack/nova
|
|
||||||
|
|
||||||
- job:
|
|
||||||
name: legacy-cross-nova-python35
|
|
||||||
parent: legacy-base
|
|
||||||
run: playbooks/legacy/cross-nova-python35/run
|
|
||||||
post-run: playbooks/legacy/cross-nova-python35/post
|
|
||||||
timeout: 3000
|
|
||||||
required-projects:
|
|
||||||
- openstack/nova
|
|
||||||
|
|
||||||
- job:
|
|
||||||
name: legacy-cross-swift-python27
|
|
||||||
parent: legacy-base
|
|
||||||
run: playbooks/legacy/cross-swift-python27/run
|
|
||||||
post-run: playbooks/legacy/cross-swift-python27/post
|
|
||||||
timeout: 3000
|
|
||||||
required-projects:
|
|
||||||
- openstack/swift
|
|
||||||
|
|
||||||
- job:
|
|
||||||
name: legacy-cross-swift-python35
|
|
||||||
parent: legacy-base
|
|
||||||
run: playbooks/legacy/cross-swift-python35/run
|
|
||||||
post-run: playbooks/legacy/cross-swift-python35/post
|
|
||||||
timeout: 3000
|
|
||||||
required-projects:
|
|
||||||
- openstack/swift
|
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: legacy-cue-integration-dsvm-rabbitmq
|
name: legacy-cue-integration-dsvm-rabbitmq
|
||||||
parent: legacy-dsvm-base
|
parent: legacy-dsvm-base
|
||||||
|
Loading…
Reference in New Issue
Block a user