
Implement part of step one of the zuulv3 migration guide: move the purely nova projects to the nova repo [1]. This does not migrate any jobs used in other projects nor does it convert what is migrated to use the new 'devstack' or 'devstack-tempest' base jobs. Both of these steps should be done separately. What's migrated: - experimental: - legacy-tempest-dsvm-nova-lvm (renamed to nova-lvm) What's dropped: - experimental: - legacy-tempest-dsvm-nova-lxc (no one's using this) - legacy-tempest-dsvm-nova-wsgi-full (WSGI is the default since Pike) What's still to be migrated, here or to other projects: - check: - legacy-grenade-dsvm-neutron-multinode - legacy-grenade-dsvm-neutron-multinode-live-migration - legacy-tempest-dsvm-cells - legacy-tempest-dsvm-full-devstack-plugin-ceph - legacy-tempest-dsvm-neutron-linuxbridge - legacy-tempest-dsvm-neutron-multinode-full - legacy-tempest-dsvm-neutron-nova-next-full - legacy-tempest-dsvm-multinode-live-migration - ironic-tempest-dsvm-ipa-wholedisk-bios-agent_ipmitool-tinyipa - legacy-tempest-dsvm-neutron-full - legacy-grenade-dsvm-neutron - gate: - legacy-tempest-dsvm-cells - legacy-tempest-dsvm-multinode-live-migration - legacy-tempest-dsvm-neutron-full - legacy-grenade-dsvm-neutron - experimental: - legacy-tempest-dsvm-nova-v20-api - legacy-grenade-dsvm-neutron-nova-next - legacy-tempest-dsvm-multinode-full - legacy-tempest-dsvm-neutron-dvr-multinode-full - legacy-tempest-dsvm-neutron-dvr-ha-multinode-full - legacy-tempest-dsvm-neutron-scenario-multinode-lvm-multibackend - ironic-tempest-dsvm-pxe_ipa-full - legacy-tempest-dsvm-nova-os-vif - legacy-tempest-dsvm-nova-libvirt-kvm-apr - legacy-grenade-dsvm-neutron-multinode-zero-downtime - ironic-tempest-dsvm-multitenant-network - ironic-tempest-dsvm-ipa-resourceclasses-partition-pxe_ipmitool-tinyipa - legacy-tempest-dsvm-full-devstack-plugin-nfs - legacy-tripleo-ci-centos-7-nonha-multinode-oooq - legacy-barbican-simple-crypto-dsvm-tempest-nova - legacy-tempest-dsvm-py35-full-devstack-plugin-ceph - legacy-tempest-dsvm-neutron-pg-full - legacy-tempest-dsvm-neutron-full-opensuse-423 - legacy-tempest-dsvm-neutron-src-oslo.versionedobjects [1] https://docs.openstack.org/infra/manual/zuulv3.html#legacy-job-migration-details Change-Id: I41b03a34795efe139d5911c605cdbd3c47a2f059
58 lines
1.7 KiB
YAML
58 lines
1.7 KiB
YAML
- hosts: all
|
|
name: Autoconverted job legacy-tempest-dsvm-lvm from old job gate-tempest-dsvm-lvm-ubuntu-xenial
|
|
tasks:
|
|
|
|
- name: Ensure legacy workspace directory
|
|
file:
|
|
path: '{{ ansible_user_dir }}/workspace'
|
|
state: directory
|
|
|
|
- shell:
|
|
cmd: |
|
|
set -e
|
|
set -x
|
|
cat > clonemap.yaml << EOF
|
|
clonemap:
|
|
- name: openstack-infra/devstack-gate
|
|
dest: devstack-gate
|
|
EOF
|
|
/usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \
|
|
git://git.openstack.org \
|
|
openstack-infra/devstack-gate
|
|
executable: /bin/bash
|
|
chdir: '{{ ansible_user_dir }}/workspace'
|
|
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
|
|
- shell:
|
|
cmd: |
|
|
set -e
|
|
set -x
|
|
cat << 'EOF' >>"/tmp/dg-local.conf"
|
|
[[local|localrc]]
|
|
NOVA_BACKEND=LVM
|
|
LVM_VOLUME_CLEAR=none
|
|
|
|
EOF
|
|
executable: /bin/bash
|
|
chdir: '{{ ansible_user_dir }}/workspace'
|
|
environment: '{{ zuul | zuul_legacy_vars }}'
|
|
|
|
- shell:
|
|
cmd: |
|
|
set -e
|
|
set -x
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TEMPEST=1
|
|
export BRANCH_OVERRIDE=default
|
|
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
|
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
|
fi
|
|
|
|
export DEVSTACK_GATE_SETTINGS=/opt/stack/new/nova/devstack/tempest-dsvm-lvm-rc
|
|
|
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
|
./safe-devstack-vm-gate-wrap.sh
|
|
executable: /bin/bash
|
|
chdir: '{{ ansible_user_dir }}/workspace'
|
|
environment: '{{ zuul | zuul_legacy_vars }}'
|