Browse Source
Based on the native 'grenade' job Depends-On: https://review.opendev.org/548936 Change-Id: I606f8ffed0defe4ebc7fc2ceda1f6853c36a1b05changes/95/703995/10 10.1.0
6 changed files with 74 additions and 192 deletions
@ -1,15 +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=/logs/** |
||||
- --include=*/ |
||||
- --exclude=* |
||||
- --prune-empty-dirs |
@ -1,145 +0,0 @@
|
||||
- hosts: all |
||||
name: Autoconverted job legacy-grenade-dsvm-ironic-inspector from old job gate-grenade-dsvm-ironic-inspector-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/devstack-gate |
||||
dest: devstack-gate |
||||
EOF |
||||
/usr/zuul-env/bin/zuul-cloner -m clonemap.yaml --cache-dir /opt/git \ |
||||
https://opendev.org \ |
||||
openstack/devstack-gate |
||||
executable: /bin/bash |
||||
chdir: '{{ ansible_user_dir }}/workspace' |
||||
environment: '{{ zuul | zuul_legacy_vars }}' |
||||
|
||||
- shell: |
||||
cmd: | |
||||
cat << 'EOF' >> ironic-vars-early |
||||
# Set this early so that we do not have to be as careful with builder ordering in jobs. |
||||
export GRENADE_PLUGINRC="enable_grenade_plugin ironic https://opendev.org/openstack/ironic" |
||||
|
||||
EOF |
||||
chdir: '{{ ansible_user_dir }}/workspace' |
||||
environment: '{{ zuul | zuul_legacy_vars }}' |
||||
|
||||
- shell: |
||||
cmd: | |
||||
cat << 'EOF' >> ironic-extra-vars |
||||
export PROJECTS="openstack/grenade $PROJECTS" |
||||
export DEVSTACK_GATE_GRENADE=pullup |
||||
export DEVSTACK_GATE_OS_TEST_TIMEOUT=2400 |
||||
export DEVSTACK_GATE_TIMEOUT=240 |
||||
export DEVSTACK_GATE_TEMPEST_BAREMETAL_BUILD_TIMEOUT=1200 |
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_BUILD_DEPLOY_RAMDISK=False" |
||||
export DEVSTACK_GATE_TLSPROXY=0 |
||||
export DEVSTACK_GATE_USE_PYTHON3=True |
||||
|
||||
EOF |
||||
chdir: '{{ ansible_user_dir }}/workspace' |
||||
environment: '{{ zuul | zuul_legacy_vars }}' |
||||
|
||||
- shell: |
||||
cmd: | |
||||
cat << 'EOF' >> ironic-extra-vars |
||||
export GRENADE_PLUGINRC+=$'\n'"enable_grenade_plugin ironic-inspector https://opendev.org/openstack/ironic-inspector" |
||||
|
||||
EOF |
||||
chdir: '{{ ansible_user_dir }}/workspace' |
||||
environment: '{{ zuul | zuul_legacy_vars }}' |
||||
|
||||
- shell: |
||||
cmd: | |
||||
cat << 'EOF' >> ironic-extra-vars |
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=384" |
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_RAMDISK_TYPE=tinyipa" |
||||
EOF |
||||
chdir: '{{ ansible_user_dir }}/workspace' |
||||
environment: '{{ zuul | zuul_legacy_vars }}' |
||||
|
||||
- shell: |
||||
cmd: | |
||||
cat << 'EOF' >> ironic-vars-early |
||||
# use tempest plugin |
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"TEMPEST_PLUGINS+=' /opt/stack/new/ironic-tempest-plugin'" |
||||
export TEMPEST_CONCURRENCY=1 |
||||
EOF |
||||
chdir: '{{ ansible_user_dir }}/workspace' |
||||
environment: '{{ zuul | zuul_legacy_vars }}' |
||||
|
||||
- shell: |
||||
cmd: | |
||||
cat << 'EOF' >> ironic-extra-vars |
||||
export PROJECTS="openstack/ironic-inspector $PROJECTS" |
||||
export DEVSTACK_GATE_IRONIC_INSPECTOR=1 |
||||
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin ironic-inspector https://opendev.org/openstack/ironic-inspector" |
||||
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_INSPECTOR_DHCP_FILTER=iptables" |
||||
|
||||
EOF |
||||
chdir: '{{ ansible_user_dir }}/workspace' |
||||
environment: '{{ zuul | zuul_legacy_vars }}' |
||||
|
||||
- shell: |
||||
cmd: | |
||||
set -e |
||||
set -x |
||||
export PROJECTS="openstack/ironic $PROJECTS" |
||||
export PROJECTS="openstack/ironic-tempest-plugin $PROJECTS" |
||||
export PROJECTS="openstack/virtualbmc $PROJECTS" |
||||
export PYTHONUNBUFFERED=true |
||||
export DEVSTACK_GATE_TEMPEST=1 |
||||
export DEVSTACK_GATE_IRONIC=1 |
||||
export DEVSTACK_GATE_NEUTRON=1 |
||||
export DEVSTACK_GATE_VIRT_DRIVER=ironic |
||||
export DEVSTACK_GATE_CONFIGDRIVE=1 |
||||
export DEVSTACK_GATE_IRONIC_DRIVER=ipmi |
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_DEFAULT_DEPLOY_INTERFACE=iscsi" |
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_DEFAULT_BOOT_OPTION=netboot" |
||||
|
||||
export BRANCH_OVERRIDE="{{ zuul.override_checkout | default('default') }}" |
||||
if [ "$BRANCH_OVERRIDE" != "default" ] ; then |
||||
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE |
||||
fi |
||||
|
||||
if [[ "$ZUUL_BRANCH" != "stable/ocata" && "$BRANCH_OVERRIDE" != "stable/ocata" ]]; then |
||||
export DEVSTACK_GATE_TLSPROXY=1 |
||||
fi |
||||
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_TEMPEST_WHOLE_DISK_IMAGE=False" |
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_EPHEMERAL_DISK=1" |
||||
|
||||
export DEVSTACK_GATE_IRONIC_BUILD_RAMDISK=0 |
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_INSPECTOR_BUILD_RAMDISK=False" |
||||
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_COUNT=7" |
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_AUTOMATED_CLEAN_ENABLED=False" |
||||
|
||||
# Ensure the ironic-vars-EARLY file exists |
||||
touch ironic-vars-early |
||||
# Pull in the EARLY variables injected by the optional builders |
||||
source ironic-vars-early |
||||
|
||||
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin ironic https://opendev.org/openstack/ironic" |
||||
|
||||
# Ensure the ironic-EXTRA-vars file exists |
||||
touch ironic-extra-vars |
||||
# Pull in the EXTRA variables injected by the optional builders |
||||
source ironic-extra-vars |
||||
|
||||
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 }}' |
@ -1,29 +0,0 @@
|
||||
# DSVM jobs |
||||
- job: |
||||
name: legacy-ironic-inspector-dsvm-base |
||||
parent: legacy-dsvm-base |
||||
required-projects: |
||||
- openstack/ironic |
||||
- openstack/ironic-inspector |
||||
- openstack/ironic-tempest-plugin |
||||
- openstack/virtualbmc |
||||
irrelevant-files: |
||||
- ^test-requirements.txt$ |
||||
- ^.*\.rst$ |
||||
- ^api-ref/.*$ |
||||
- ^doc/.*$ |
||||
- ^ironic_inspector/test/(?!.*tempest).*$ |
||||
- ^ironic_inspector/locale/.*$ |
||||
- ^releasenotes/.*$ |
||||
- ^setup.cfg$ |
||||
- ^tools/.*$ |
||||
- ^tox.ini$ |
||||
|
||||
- job: |
||||
name: ironic-inspector-grenade-dsvm |
||||
parent: legacy-ironic-inspector-dsvm-base |
||||
run: playbooks/legacy/ironic-inspector-grenade-dsvm/run.yaml |
||||
post-run: playbooks/legacy/ironic-inspector-grenade-dsvm/post.yaml |
||||
timeout: 10800 |
||||
required-projects: |
||||
- openstack/grenade |
Loading…
Reference in new issue