Move legacy bifrost jobs in-tree
Moving the legacy CI jobs into the bifrost repository so we may have direct control over the jobs in the repository. Change-Id: Ic51078addb9282f777689fd769fa3507a29f2990
This commit is contained in:
parent
580ec8969b
commit
a81172aa55
15
playbooks/legacy/bifrost-integration-dhcp-centos-7/post.yaml
Normal file
15
playbooks/legacy/bifrost-integration-dhcp-centos-7/post.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
- 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=/logs/**
|
||||
- --include=*/
|
||||
- --exclude=*
|
||||
- --prune-empty-dirs
|
73
playbooks/legacy/bifrost-integration-dhcp-centos-7/run.yaml
Normal file
73
playbooks/legacy/bifrost-integration-dhcp-centos-7/run.yaml
Normal file
@ -0,0 +1,73 @@
|
||||
- hosts: all
|
||||
name: Autoconverted job legacy-bifrost-integration-dhcp-centos-7 from old job gate-bifrost-integration-dhcp-centos-7-nv
|
||||
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: $ZUUL_PROJECT
|
||||
dest: .
|
||||
EOF
|
||||
# zuul cloner works poorly if there are 2 names that are the
|
||||
# same in here.
|
||||
if [[ "$ZUUL_PROJECT" != "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 $ZUUL_PROJECT openstack/requirements
|
||||
# REQS_DIR is not set for openstack/requirements and there is also
|
||||
# no need to copy in this case.
|
||||
if [[ "$ZUUL_PROJECT" != "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: |
|
||||
set -u
|
||||
set -e
|
||||
set -x
|
||||
cd $WORKSPACE
|
||||
|
||||
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
|
||||
git://git.openstack.org \
|
||||
openstack/bifrost \
|
||||
openstack/diskimage-builder \
|
||||
openstack/ironic \
|
||||
openstack/python-ironicclient \
|
||||
openstack-infra/shade \
|
||||
openstack/ironic-inspector \
|
||||
openstack/python-ironic-inspector-client \
|
||||
openstack/requirements
|
||||
export GIT_BASE=$(pwd)
|
||||
export UPPER_CONSTRAINTS_FILE=$WORKSPACE/upper-constraints.txt
|
||||
cd openstack/bifrost
|
||||
scripts/test-bifrost-inventory-dhcp.sh
|
||||
executable: /bin/bash
|
||||
chdir: '{{ ansible_user_dir }}/workspace'
|
||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
@ -0,0 +1,15 @@
|
||||
- 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=/logs/**
|
||||
- --include=*/
|
||||
- --exclude=*
|
||||
- --prune-empty-dirs
|
@ -0,0 +1,74 @@
|
||||
- hosts: all
|
||||
name: Autoconverted job legacy-bifrost-integration-dhcp-opensuse-423 from old job
|
||||
gate-bifrost-integration-dhcp-opensuse-423-nv
|
||||
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: $ZUUL_PROJECT
|
||||
dest: .
|
||||
EOF
|
||||
# zuul cloner works poorly if there are 2 names that are the
|
||||
# same in here.
|
||||
if [[ "$ZUUL_PROJECT" != "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 $ZUUL_PROJECT openstack/requirements
|
||||
# REQS_DIR is not set for openstack/requirements and there is also
|
||||
# no need to copy in this case.
|
||||
if [[ "$ZUUL_PROJECT" != "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: |
|
||||
set -u
|
||||
set -e
|
||||
set -x
|
||||
cd $WORKSPACE
|
||||
|
||||
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
|
||||
git://git.openstack.org \
|
||||
openstack/bifrost \
|
||||
openstack/diskimage-builder \
|
||||
openstack/ironic \
|
||||
openstack/python-ironicclient \
|
||||
openstack-infra/shade \
|
||||
openstack/ironic-inspector \
|
||||
openstack/python-ironic-inspector-client \
|
||||
openstack/requirements
|
||||
export GIT_BASE=$(pwd)
|
||||
export UPPER_CONSTRAINTS_FILE=$WORKSPACE/upper-constraints.txt
|
||||
cd openstack/bifrost
|
||||
scripts/test-bifrost-inventory-dhcp.sh
|
||||
executable: /bin/bash
|
||||
chdir: '{{ ansible_user_dir }}/workspace'
|
||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
15
playbooks/legacy/bifrost-integration-dhcp/post.yaml
Normal file
15
playbooks/legacy/bifrost-integration-dhcp/post.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
- 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=/logs/**
|
||||
- --include=*/
|
||||
- --exclude=*
|
||||
- --prune-empty-dirs
|
73
playbooks/legacy/bifrost-integration-dhcp/run.yaml
Normal file
73
playbooks/legacy/bifrost-integration-dhcp/run.yaml
Normal file
@ -0,0 +1,73 @@
|
||||
- hosts: all
|
||||
name: Autoconverted job legacy-bifrost-integration-dhcp from old job gate-bifrost-integration-dhcp-ubuntu-xenial-nv
|
||||
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: $ZUUL_PROJECT
|
||||
dest: .
|
||||
EOF
|
||||
# zuul cloner works poorly if there are 2 names that are the
|
||||
# same in here.
|
||||
if [[ "$ZUUL_PROJECT" != "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 $ZUUL_PROJECT openstack/requirements
|
||||
# REQS_DIR is not set for openstack/requirements and there is also
|
||||
# no need to copy in this case.
|
||||
if [[ "$ZUUL_PROJECT" != "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: |
|
||||
set -u
|
||||
set -e
|
||||
set -x
|
||||
cd $WORKSPACE
|
||||
|
||||
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
|
||||
git://git.openstack.org \
|
||||
openstack/bifrost \
|
||||
openstack/diskimage-builder \
|
||||
openstack/ironic \
|
||||
openstack/python-ironicclient \
|
||||
openstack-infra/shade \
|
||||
openstack/ironic-inspector \
|
||||
openstack/python-ironic-inspector-client \
|
||||
openstack/requirements
|
||||
export GIT_BASE=$(pwd)
|
||||
export UPPER_CONSTRAINTS_FILE=$WORKSPACE/upper-constraints.txt
|
||||
cd openstack/bifrost
|
||||
scripts/test-bifrost-inventory-dhcp.sh
|
||||
executable: /bin/bash
|
||||
chdir: '{{ ansible_user_dir }}/workspace'
|
||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
@ -0,0 +1,15 @@
|
||||
- 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=/logs/**
|
||||
- --include=*/
|
||||
- --exclude=*
|
||||
- --prune-empty-dirs
|
@ -0,0 +1,74 @@
|
||||
- hosts: all
|
||||
name: Autoconverted job legacy-bifrost-integration-dibipa-debian-centos-7 from old
|
||||
job gate-bifrost-integration-dibipa-debian-centos-7-nv
|
||||
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: $ZUUL_PROJECT
|
||||
dest: .
|
||||
EOF
|
||||
# zuul cloner works poorly if there are 2 names that are the
|
||||
# same in here.
|
||||
if [[ "$ZUUL_PROJECT" != "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 $ZUUL_PROJECT openstack/requirements
|
||||
# REQS_DIR is not set for openstack/requirements and there is also
|
||||
# no need to copy in this case.
|
||||
if [[ "$ZUUL_PROJECT" != "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: |
|
||||
set -u
|
||||
set -e
|
||||
set -x
|
||||
cd $WORKSPACE
|
||||
|
||||
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
|
||||
git://git.openstack.org \
|
||||
openstack/bifrost \
|
||||
openstack/diskimage-builder \
|
||||
openstack/ironic \
|
||||
openstack/python-ironicclient \
|
||||
openstack-infra/shade \
|
||||
openstack/ironic-inspector \
|
||||
openstack/python-ironic-inspector-client \
|
||||
openstack/requirements
|
||||
export GIT_BASE=$(pwd)
|
||||
export UPPER_CONSTRAINTS_FILE=$WORKSPACE/upper-constraints.txt
|
||||
cd openstack/bifrost
|
||||
scripts/test-bifrost-build-images.sh
|
||||
executable: /bin/bash
|
||||
chdir: '{{ ansible_user_dir }}/workspace'
|
||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
@ -0,0 +1,15 @@
|
||||
- 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=/logs/**
|
||||
- --include=*/
|
||||
- --exclude=*
|
||||
- --prune-empty-dirs
|
@ -0,0 +1,74 @@
|
||||
- hosts: all
|
||||
name: Autoconverted job legacy-bifrost-integration-dibipa-debian-opensuse-423 from
|
||||
old job gate-bifrost-integration-dibipa-debian-opensuse-423-nv
|
||||
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: $ZUUL_PROJECT
|
||||
dest: .
|
||||
EOF
|
||||
# zuul cloner works poorly if there are 2 names that are the
|
||||
# same in here.
|
||||
if [[ "$ZUUL_PROJECT" != "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 $ZUUL_PROJECT openstack/requirements
|
||||
# REQS_DIR is not set for openstack/requirements and there is also
|
||||
# no need to copy in this case.
|
||||
if [[ "$ZUUL_PROJECT" != "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: |
|
||||
set -u
|
||||
set -e
|
||||
set -x
|
||||
cd $WORKSPACE
|
||||
|
||||
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
|
||||
git://git.openstack.org \
|
||||
openstack/bifrost \
|
||||
openstack/diskimage-builder \
|
||||
openstack/ironic \
|
||||
openstack/python-ironicclient \
|
||||
openstack-infra/shade \
|
||||
openstack/ironic-inspector \
|
||||
openstack/python-ironic-inspector-client \
|
||||
openstack/requirements
|
||||
export GIT_BASE=$(pwd)
|
||||
export UPPER_CONSTRAINTS_FILE=$WORKSPACE/upper-constraints.txt
|
||||
cd openstack/bifrost
|
||||
scripts/test-bifrost-build-images.sh
|
||||
executable: /bin/bash
|
||||
chdir: '{{ ansible_user_dir }}/workspace'
|
||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
15
playbooks/legacy/bifrost-integration-dibipa-debian/post.yaml
Normal file
15
playbooks/legacy/bifrost-integration-dibipa-debian/post.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
- 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=/logs/**
|
||||
- --include=*/
|
||||
- --exclude=*
|
||||
- --prune-empty-dirs
|
73
playbooks/legacy/bifrost-integration-dibipa-debian/run.yaml
Normal file
73
playbooks/legacy/bifrost-integration-dibipa-debian/run.yaml
Normal file
@ -0,0 +1,73 @@
|
||||
- hosts: all
|
||||
name: Autoconverted job legacy-bifrost-integration-dibipa-debian from old job gate-bifrost-integration-dibipa-debian-ubuntu-xenial-nv
|
||||
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: $ZUUL_PROJECT
|
||||
dest: .
|
||||
EOF
|
||||
# zuul cloner works poorly if there are 2 names that are the
|
||||
# same in here.
|
||||
if [[ "$ZUUL_PROJECT" != "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 $ZUUL_PROJECT openstack/requirements
|
||||
# REQS_DIR is not set for openstack/requirements and there is also
|
||||
# no need to copy in this case.
|
||||
if [[ "$ZUUL_PROJECT" != "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: |
|
||||
set -u
|
||||
set -e
|
||||
set -x
|
||||
cd $WORKSPACE
|
||||
|
||||
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
|
||||
git://git.openstack.org \
|
||||
openstack/bifrost \
|
||||
openstack/diskimage-builder \
|
||||
openstack/ironic \
|
||||
openstack/python-ironicclient \
|
||||
openstack-infra/shade \
|
||||
openstack/ironic-inspector \
|
||||
openstack/python-ironic-inspector-client \
|
||||
openstack/requirements
|
||||
export GIT_BASE=$(pwd)
|
||||
export UPPER_CONSTRAINTS_FILE=$WORKSPACE/upper-constraints.txt
|
||||
cd openstack/bifrost
|
||||
scripts/test-bifrost-build-images.sh
|
||||
executable: /bin/bash
|
||||
chdir: '{{ ansible_user_dir }}/workspace'
|
||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
@ -0,0 +1,15 @@
|
||||
- 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=/logs/**
|
||||
- --include=*/
|
||||
- --exclude=*
|
||||
- --prune-empty-dirs
|
@ -0,0 +1,73 @@
|
||||
- hosts: all
|
||||
name: Autoconverted job legacy-bifrost-integration-tinyipa-centos-7 from old job
|
||||
gate-bifrost-integration-tinyipa-centos-7
|
||||
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: $ZUUL_PROJECT
|
||||
dest: .
|
||||
EOF
|
||||
# zuul cloner works poorly if there are 2 names that are the
|
||||
# same in here.
|
||||
if [[ "$ZUUL_PROJECT" != "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 $ZUUL_PROJECT openstack/requirements
|
||||
# REQS_DIR is not set for openstack/requirements and there is also
|
||||
# no need to copy in this case.
|
||||
if [[ "$ZUUL_PROJECT" != "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: |
|
||||
set -u
|
||||
set -e
|
||||
set -x
|
||||
cd $WORKSPACE
|
||||
|
||||
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
|
||||
git://git.openstack.org \
|
||||
openstack/bifrost \
|
||||
openstack/ironic \
|
||||
openstack/python-ironicclient \
|
||||
openstack-infra/shade \
|
||||
openstack/ironic-inspector \
|
||||
openstack/python-ironic-inspector-client \
|
||||
openstack/requirements
|
||||
export GIT_BASE=$(pwd)
|
||||
export UPPER_CONSTRAINTS_FILE=$WORKSPACE/upper-constraints.txt
|
||||
cd openstack/bifrost
|
||||
scripts/test-bifrost.sh
|
||||
executable: /bin/bash
|
||||
chdir: '{{ ansible_user_dir }}/workspace'
|
||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
@ -0,0 +1,15 @@
|
||||
- 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=/logs/**
|
||||
- --include=*/
|
||||
- --exclude=*
|
||||
- --prune-empty-dirs
|
@ -0,0 +1,73 @@
|
||||
- hosts: all
|
||||
name: Autoconverted job legacy-bifrost-integration-tinyipa-opensuse-423 from old
|
||||
job gate-bifrost-integration-tinyipa-opensuse-423
|
||||
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: $ZUUL_PROJECT
|
||||
dest: .
|
||||
EOF
|
||||
# zuul cloner works poorly if there are 2 names that are the
|
||||
# same in here.
|
||||
if [[ "$ZUUL_PROJECT" != "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 $ZUUL_PROJECT openstack/requirements
|
||||
# REQS_DIR is not set for openstack/requirements and there is also
|
||||
# no need to copy in this case.
|
||||
if [[ "$ZUUL_PROJECT" != "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: |
|
||||
set -u
|
||||
set -e
|
||||
set -x
|
||||
cd $WORKSPACE
|
||||
|
||||
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
|
||||
git://git.openstack.org \
|
||||
openstack/bifrost \
|
||||
openstack/ironic \
|
||||
openstack/python-ironicclient \
|
||||
openstack-infra/shade \
|
||||
openstack/ironic-inspector \
|
||||
openstack/python-ironic-inspector-client \
|
||||
openstack/requirements
|
||||
export GIT_BASE=$(pwd)
|
||||
export UPPER_CONSTRAINTS_FILE=$WORKSPACE/upper-constraints.txt
|
||||
cd openstack/bifrost
|
||||
scripts/test-bifrost.sh
|
||||
executable: /bin/bash
|
||||
chdir: '{{ ansible_user_dir }}/workspace'
|
||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
15
playbooks/legacy/bifrost-integration-tinyipa/post.yaml
Normal file
15
playbooks/legacy/bifrost-integration-tinyipa/post.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
- 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=/logs/**
|
||||
- --include=*/
|
||||
- --exclude=*
|
||||
- --prune-empty-dirs
|
72
playbooks/legacy/bifrost-integration-tinyipa/run.yaml
Normal file
72
playbooks/legacy/bifrost-integration-tinyipa/run.yaml
Normal file
@ -0,0 +1,72 @@
|
||||
- hosts: all
|
||||
name: Autoconverted job legacy-bifrost-integration-tinyipa from old job gate-bifrost-integration-tinyipa-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: $ZUUL_PROJECT
|
||||
dest: .
|
||||
EOF
|
||||
# zuul cloner works poorly if there are 2 names that are the
|
||||
# same in here.
|
||||
if [[ "$ZUUL_PROJECT" != "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 $ZUUL_PROJECT openstack/requirements
|
||||
# REQS_DIR is not set for openstack/requirements and there is also
|
||||
# no need to copy in this case.
|
||||
if [[ "$ZUUL_PROJECT" != "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: |
|
||||
set -u
|
||||
set -e
|
||||
set -x
|
||||
cd $WORKSPACE
|
||||
|
||||
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
|
||||
git://git.openstack.org \
|
||||
openstack/bifrost \
|
||||
openstack/ironic \
|
||||
openstack/python-ironicclient \
|
||||
openstack-infra/shade \
|
||||
openstack/ironic-inspector \
|
||||
openstack/python-ironic-inspector-client \
|
||||
openstack/requirements
|
||||
export GIT_BASE=$(pwd)
|
||||
export UPPER_CONSTRAINTS_FILE=$WORKSPACE/upper-constraints.txt
|
||||
cd openstack/bifrost
|
||||
scripts/test-bifrost.sh
|
||||
executable: /bin/bash
|
||||
chdir: '{{ ansible_user_dir }}/workspace'
|
||||
environment: '{{ zuul | zuul_legacy_vars }}'
|
146
zuul.d/legacy-bifrost-jobs.yaml
Normal file
146
zuul.d/legacy-bifrost-jobs.yaml
Normal file
@ -0,0 +1,146 @@
|
||||
- job:
|
||||
name: bifrost-integration-dhcp
|
||||
parent: legacy-base
|
||||
run: playbooks/legacy/bifrost-integration-dhcp/run
|
||||
post-run: playbooks/legacy/bifrost-integration-dhcp/post
|
||||
timeout: 7200
|
||||
required-projects:
|
||||
- openstack/bifrost
|
||||
- openstack/diskimage-builder
|
||||
- openstack/ironic
|
||||
- openstack/ironic-inspector
|
||||
- openstack/python-ironic-inspector-client
|
||||
- openstack/python-ironicclient
|
||||
- openstack/requirements
|
||||
- openstack-infra/shade
|
||||
|
||||
- job:
|
||||
name: bifrost-integration-dhcp-centos-7
|
||||
parent: legacy-base
|
||||
run: playbooks/legacy/bifrost-integration-dhcp-centos-7/run
|
||||
post-run: playbooks/legacy/bifrost-integration-dhcp-centos-7/post
|
||||
timeout: 7200
|
||||
nodeset: legacy-centos-7
|
||||
required-projects:
|
||||
- openstack/bifrost
|
||||
- openstack/diskimage-builder
|
||||
- openstack/ironic
|
||||
- openstack/ironic-inspector
|
||||
- openstack/python-ironic-inspector-client
|
||||
- openstack/python-ironicclient
|
||||
- openstack/requirements
|
||||
- openstack-infra/shade
|
||||
|
||||
- job:
|
||||
name: bifrost-integration-dhcp-opensuse-423
|
||||
parent: legacy-base
|
||||
run: playbooks/legacy/bifrost-integration-dhcp-opensuse-423/run
|
||||
post-run: playbooks/legacy/bifrost-integration-dhcp-opensuse-423/post
|
||||
timeout: 7200
|
||||
nodeset: legacy-opensuse-423
|
||||
required-projects:
|
||||
- openstack/bifrost
|
||||
- openstack/diskimage-builder
|
||||
- openstack/ironic
|
||||
- openstack/ironic-inspector
|
||||
- openstack/python-ironic-inspector-client
|
||||
- openstack/python-ironicclient
|
||||
- openstack/requirements
|
||||
- openstack-infra/shade
|
||||
|
||||
- job:
|
||||
name: bifrost-integration-dibipa-debian
|
||||
parent: legacy-base
|
||||
run: playbooks/legacy/bifrost-integration-dibipa-debian/run
|
||||
post-run: playbooks/legacy/bifrost-integration-dibipa-debian/post
|
||||
timeout: 7200
|
||||
required-projects:
|
||||
- openstack/bifrost
|
||||
- openstack/diskimage-builder
|
||||
- openstack/ironic
|
||||
- openstack/ironic-inspector
|
||||
- openstack/python-ironic-inspector-client
|
||||
- openstack/python-ironicclient
|
||||
- openstack/requirements
|
||||
- openstack-infra/shade
|
||||
|
||||
- job:
|
||||
name: bifrost-integration-dibipa-debian-centos-7
|
||||
parent: legacy-base
|
||||
run: playbooks/legacy/bifrost-integration-dibipa-debian-centos-7/run
|
||||
post-run: playbooks/legacy/bifrost-integration-dibipa-debian-centos-7/post
|
||||
timeout: 7200
|
||||
nodeset: legacy-centos-7
|
||||
required-projects:
|
||||
- openstack/bifrost
|
||||
- openstack/diskimage-builder
|
||||
- openstack/ironic
|
||||
- openstack/ironic-inspector
|
||||
- openstack/python-ironic-inspector-client
|
||||
- openstack/python-ironicclient
|
||||
- openstack/requirements
|
||||
- openstack-infra/shade
|
||||
|
||||
- job:
|
||||
name: bifrost-integration-dibipa-debian-opensuse-423
|
||||
parent: legacy-base
|
||||
run: playbooks/legacy/bifrost-integration-dibipa-debian-opensuse-423/run
|
||||
post-run: playbooks/legacy/bifrost-integration-dibipa-debian-opensuse-423/post
|
||||
timeout: 7200
|
||||
nodeset: legacy-opensuse-423
|
||||
required-projects:
|
||||
- openstack/bifrost
|
||||
- openstack/diskimage-builder
|
||||
- openstack/ironic
|
||||
- openstack/ironic-inspector
|
||||
- openstack/python-ironic-inspector-client
|
||||
- openstack/python-ironicclient
|
||||
- openstack/requirements
|
||||
- openstack-infra/shade
|
||||
|
||||
- job:
|
||||
name: bifrost-integration-tinyipa
|
||||
parent: legacy-base
|
||||
run: playbooks/legacy/bifrost-integration-tinyipa/run
|
||||
post-run: playbooks/legacy/bifrost-integration-tinyipa/post
|
||||
timeout: 3600
|
||||
required-projects:
|
||||
- openstack/bifrost
|
||||
- openstack/ironic
|
||||
- openstack/ironic-inspector
|
||||
- openstack/python-ironic-inspector-client
|
||||
- openstack/python-ironicclient
|
||||
- openstack/requirements
|
||||
- openstack-infra/shade
|
||||
|
||||
- job:
|
||||
name: bifrost-integration-tinyipa-centos-7
|
||||
parent: legacy-base
|
||||
run: playbooks/legacy/bifrost-integration-tinyipa-centos-7/run
|
||||
post-run: playbooks/legacy/bifrost-integration-tinyipa-centos-7/post
|
||||
timeout: 3600
|
||||
nodeset: legacy-centos-7
|
||||
required-projects:
|
||||
- openstack/bifrost
|
||||
- openstack/ironic
|
||||
- openstack/ironic-inspector
|
||||
- openstack/python-ironic-inspector-client
|
||||
- openstack/python-ironicclient
|
||||
- openstack/requirements
|
||||
- openstack-infra/shade
|
||||
|
||||
- job:
|
||||
name: bifrost-integration-tinyipa-opensuse-423
|
||||
parent: legacy-base
|
||||
run: playbooks/legacy/bifrost-integration-tinyipa-opensuse-423/run
|
||||
post-run: playbooks/legacy/bifrost-integration-tinyipa-opensuse-423/post
|
||||
timeout: 3600
|
||||
nodeset: legacy-opensuse-423
|
||||
required-projects:
|
||||
- openstack/bifrost
|
||||
- openstack/ironic
|
||||
- openstack/ironic-inspector
|
||||
- openstack/python-ironic-inspector-client
|
||||
- openstack/python-ironicclient
|
||||
- openstack/requirements
|
||||
- openstack-infra/shade
|
79
zuul.d/project.yaml
Normal file
79
zuul.d/project.yaml
Normal file
@ -0,0 +1,79 @@
|
||||
- project:
|
||||
name: openstack/bifrost
|
||||
|
||||
experimental:
|
||||
jobs:
|
||||
- bifrost-integration-tinyipa-opensuse-423:
|
||||
branches: ^(?!stable/ocata).*$
|
||||
irrelevant-files:
|
||||
- ^.*\.rst$
|
||||
- ^doc/.*$
|
||||
- ^releasenotes/.*$
|
||||
check:
|
||||
jobs:
|
||||
- bifrost-integration-tinyipa-centos-7:
|
||||
voting: false
|
||||
irrelevant-files:
|
||||
- ^.*\.rst$
|
||||
- ^doc/.*$
|
||||
- ^releasenotes/.*$
|
||||
- bifrost-integration-dibipa-debian-centos-7:
|
||||
voting: false
|
||||
irrelevant-files:
|
||||
- ^.*\.rst$
|
||||
- ^doc/.*$
|
||||
- ^releasenotes/.*$
|
||||
- bifrost-integration-tinyipa:
|
||||
irrelevant-files:
|
||||
- ^.*\.rst$
|
||||
- ^doc/.*$
|
||||
- ^releasenotes/.*$
|
||||
- bifrost-integration-tinyipa-opensuse-423:
|
||||
branches: ^(?!stable/ocata).*$
|
||||
irrelevant-files:
|
||||
- ^.*\.rst$
|
||||
- ^doc/.*$
|
||||
- ^releasenotes/.*$
|
||||
- bifrost-integration-dibipa-debian:
|
||||
voting: false
|
||||
irrelevant-files:
|
||||
- ^.*\.rst$
|
||||
- ^doc/.*$
|
||||
- ^releasenotes/.*$
|
||||
- bifrost-integration-dibipa-debian-opensuse-423:
|
||||
voting: false
|
||||
irrelevant-files:
|
||||
- ^.*\.rst$
|
||||
- ^doc/.*$
|
||||
- ^releasenotes/.*$
|
||||
- bifrost-integration-dhcp:
|
||||
voting: false
|
||||
irrelevant-files:
|
||||
- ^.*\.rst$
|
||||
- ^doc/.*$
|
||||
- ^releasenotes/.*$
|
||||
- bifrost-integration-dhcp-opensuse-423:
|
||||
voting: false
|
||||
irrelevant-files:
|
||||
- ^.*\.rst$
|
||||
- ^doc/.*$
|
||||
- ^releasenotes/.*$
|
||||
- bifrost-integration-dhcp-centos-7:
|
||||
voting: false
|
||||
irrelevant-files:
|
||||
- ^.*\.rst$
|
||||
- ^doc/.*$
|
||||
- ^releasenotes/.*$
|
||||
gate:
|
||||
jobs:
|
||||
- bifrost-integration-tinyipa:
|
||||
irrelevant-files:
|
||||
- ^.*\.rst$
|
||||
- ^doc/.*$
|
||||
- ^releasenotes/.*$
|
||||
- bifrost-integration-tinyipa-opensuse-423:
|
||||
branches: ^(?!stable/ocata).*$
|
||||
irrelevant-files:
|
||||
- ^.*\.rst$
|
||||
- ^doc/.*$
|
||||
- ^releasenotes/.*$
|
Loading…
Reference in New Issue
Block a user